• +91 9723535972
  • info@interviewmaterial.com

SAP BDC Interview Questions and Answers

Question - Where Can You Find Error Log For Call Transaction?

Answer -

  • Declare it_bdcmsgcoll type bdcmsgcoll.
  • Declare to hold messages like Message (100) and w_msg TYPE bdcmsgcoll,
  •  Call transaction like below
  • CALL TRANSACTION MM01 USING IT_BDCDATA UPDATE S MESSAGES INTO IT_BDCMSGCOLL.
  • IF SY-SUBRC <> 0.
  • 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.
FM will genrate meaningful Error Discription :w_message.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners