Where can you find error log for call transaction

Showing Answers 1 - 2 of 2 Answers

sal

  • Sep 26th, 2007
 

You can find it in BDCMSGCOLL structure which you will be defining in your program.

  Was this answer useful?  Yes

Parshuram

  • Aug 30th, 2012
 

1.Declare it_bdcmsgcoll type bdcmsgcoll.
2.Declare to hold messages like Message (100) and w_msg TYPE bdcmsgcoll,
3. Call transaction like below
CALL TRANSACTION MM01 USING IT_BDCDATA UPDATE S MESSAGES INTO IT_BDCMSGCOLL.
4.IF SY-SUBRC <> 0.
5.loop at it_bdcmsgcoll into wa_bdcmsgcoll where w_msg = E;.
CALL FUNCTION MESSAGE_TEXT_BUILD
EXPORTING
msgid = wa_bdcmsgcoll-msgid
msgnr = wa_bdcmsgcoll-msgnr
msgv1 = wa_bdcmsgcoll-msgv1
msgv2 = wa_bdcmsgcoll-msgv2
msgv3 = wa_bdcmsgcoll-msgv3
msgv4 = wa_bdcmsgcoll-msgv4
IMPORTING
message_text_output = w_message.
6. FM will genrate meaningful Error Discription :w_message.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions