2007 Nov 12 11:27 AM
Hi All,
can any one tell me how to catch error log in case of BATCH SESSION method?
as we want to display error log in the output list..
Mrunal
2007 Nov 12 1:35 PM
Hi
ERROR
1)Write an error report.
2)Send the record(s) in error to an error file.
3)Create a batch input session with the record(s) in error.
To store error messages ( CALL TRANSACTION )
data: begin of Tab_Mess occurs 0.
include structure bdcmsgcoll.
data : end of Tab_Mess,
CALL TRANSACTION FK02 USING BDC_TAB MODE N UPDATE S
MESSAGES INTO TAB_MESS.
IF SY-SUBRC NE 0.
WRITE: / Tab_MESS-TCODE, Tab_MESS-DYNUMB, Tab_MESS-MSGTYP ,
Tab_MESS-MSGID.
ENDIF.
/community [original link is broken]
<b>Reward if usefull</b>