Hi Prabhu,
data : msgtab type standard table of BDCMSGCOLL.
Use CALL TRANSACTION .... MESSAGES INTO msgtab.
In this case all messages (S,E,I) will be collected in msgtab.
Regards
Megha
for this change the mode to N and check for error messages after call transaction for each record .
this is possible by :
IF sy-msgty NE 'E' AND sy-subrc EQ 0.
this means no error and move this recod in success file
else
this means error is thier and move this record into error file
endif.
this is the best way.
plz reward point if helps.
regards,
rahul
Add a comment