2009 Apr 13 11:44 AM
Hi All,
How to record the logs in BDC Call transaction method?
Please help me.
Regards,
Santhosh
2009 Apr 13 11:48 AM
Hi,
CALL TRANSACTION c_pa30 USING i_bdc_data MODE 'N'
MESSAGES INTO i_msg_tab.i_msg_tab table holds the all the messages which are returned while processing.
Hi All,
How to record the logs in BDC Call transaction method?
Please help me.
Regards,
Santhosh
2009 Apr 13 11:48 AM
Hi,
CALL TRANSACTION c_pa30 USING i_bdc_data MODE 'N'
MESSAGES INTO i_msg_tab.i_msg_tab table holds the all the messages which are returned while processing.
2009 Apr 13 11:49 AM
hiii,
while calling call transaction u can refer the below code:
DATA: it_bdcmsg TYPE STANDARD TABLE OF bdcmsgcoll,
wa_bdcmsg TYPE bdcmsgcoll.
CALL TRANSACTION 'MEK1' USING it_bdcdata OPTIONS FROM x_ctuprms
MESSAGES INTO it_bdcmsg.
LOOP AT it_bdcmsg INTO wa_bdcmsg.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = wa_bdcmsg-msgid
lang = sy-langu
no = wa_bdcmsg-msgnr
v1 = wa_bdcmsg-msgv1
v2 = wa_bdcmsg-msgv2
v3 = wa_bdcmsg-msgv3
v4 = wa_bdcmsg-msgv4
IMPORTING
msg = message
EXCEPTIONS
not_found = 1
OTHERS = 2.
endloop.
Regards,
Anil N.
2009 Apr 13 12:01 PM
Hi,
You can see the log through SM35 OR after bdc a log automatically generates you can save it in spreadsheet. Is there any specific requirement for recording of log.
Regards,
Himanshu
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |