07-13-2010 9:22 AM
Hi all
In BDC method system will generate default log file right?
if enduser want to see that errors .how it is possible?
07-13-2010 9:24 AM
07-13-2010 11:30 AM
07-13-2010 11:47 AM
Hi ynaveenreddy
Session method itself takes care of the ERROR handeling part .
You could view the session USING SM35 , it will display the error in the records .
Regards
Swapnil
07-13-2010 3:40 PM
1) Check SM35... you can process the session, and check the log .
2) From program ,capture the errors and display it
*Process BDC session 'Test'
SUBMIT rsbdcsub WITH mappe EQ 'Test'
WITH von EQ sy-datum
WITH bis EQ sy-datum
AND RETURN.
*Get qid
SELECT SINGLE qid
INTO lqid FROM
apqi WHERE
datatyp = 'BDC'
AND groupid = 'Test'
AND progid = sy-repid
AND userid = sy-uname
AND credate = sy-datum.
IF v_qid IS NOT INITIAL.
BDC session error log
SUBMIT rsbdc_protocol
WITH session EQ 'Test'
WITH user EQ sy-uname
WITH queue_id EQ lqid
AND RETURN.
ENDIF.