‎2007 Dec 22 6:41 AM
HI
i am new to ABAP........i have written a call transaction program
to upload customer master data in the r/3 system....
i am collecting the errors in the BDCMSGCOLL internal table.
but how do i reprocess these error records.................???
i have the records in the flat file...........of the 100 records
i was uploading i have errors at 30-34 th records.
thanx in advance .
THANKS.
‎2007 Dec 30 11:10 AM
Dear Jaspreet,
The most simple way is to reformat the messages after each Call Transaction
has completed (so that any variables are within the message text string
itself), and then either output them to a flat file for later handling, or
write them out to an ABAP list as an Error Report.
Remember to refresh your BDCMSGCOLL table after each call transaction, so
that you are only dealing with the messages related to the current record
each time.
Best Regards,
Rajesh.
Please reward points if found helpful.
‎2007 Dec 22 6:55 AM
after executing the call transaction stmt, check MSGTYP in the message table. if it contains 'E'. then use FM MESSAGE_PREPARE sending the values MSGNR<MSGID, MSGV1,MSGV2,MSGV3,MSGV4. it'll return a text for this error. display it.
and keep a backup of ur current processing to know for which data the error is encountered in a different int tab.
Reward if useful
Regards
ANUPAM
‎2007 Dec 30 11:10 AM
Dear Jaspreet,
The most simple way is to reformat the messages after each Call Transaction
has completed (so that any variables are within the message text string
itself), and then either output them to a flat file for later handling, or
write them out to an ABAP list as an Error Report.
Remember to refresh your BDCMSGCOLL table after each call transaction, so
that you are only dealing with the messages related to the current record
each time.
Best Regards,
Rajesh.
Please reward points if found helpful.
‎2007 Dec 31 7:05 AM