10-19-2007 5:10 AM
Hi,
Iam uploding the file from application server to presentation server and then iam validating the records and sending them to table.i want to know how many(count) records are failed to enter into table.Can any one help me on this.
Thanks & Regards
Bhargavi.
10-19-2007 5:13 AM
10-19-2007 5:15 AM
hello bhargavi,
i hope u r uploading the data to database. if u r using call transaction method then use the structure BDCMSGCOLL to upload error records into this table .create a stuture of this type then pass that in the call transaction syntax statement. then u can count the number of error records by looping this table.
reward if useful.
10-19-2007 5:15 AM
Hi,
If it is BDC with call transaction method -- check sy-subrc <> 0.
If it is INSERT statement from a report use sy-subrc <> 0 again.