While uploading a flat file through BDC Call Transaction, the system suddenly get CRASHED. How do I know many records have been updated?
Most ABAPers would not have faced this problem.
We faced it on 3 or 4 occasions during our Project.
There are two ways to tackle this issue.
Method..1
Thru se16 check the table(s) being updated, preferably the last table as per your code. If you have say 1600 records in the flat file check for the upload of the 1600 th record.. If not ok, check for the upload of the 800 th record(N-N/2), if OK go & check
N+(N/2) th record if not ok goto N-(N/2) th record where N is the curent record number in the flat file . In about 4 or five checks you will converge on the last uploaded record.
Now from the flat file, remove the lines till the upload is ok & then re-run BDC.
Even here a record may be uploaded partially which has to be manually edited thru se16.
Method..2
Have a zee table for uploads. Just after uploading a record into the sap table, fill this zeetable with few fields of each the records. In an abort situation this table will tell the story of the update status. Take care to empty this table occasionally.
No comments:
Post a Comment