‎2008 Jan 10 9:47 AM
Hi,
I have a BDC program which uploads the .TXT file and do the necessary action.
My problem is some times the progam goes to error, because
of not valid field in .txt file.
Is it any way to identify the wrong fields(instead of MATNR, ERSDA) in .txt file and stop processing.
Thanks in advance
Karthik
‎2008 Jan 10 12:04 PM
hi,
After uploading data to internal table. you should go for validation, by knowing which table the data going to hit.
once one record passed u r validation then only submit to BDC else skip that record.
this will solve u r problem.. i think
regards,
pavan
‎2008 Jan 10 12:09 PM
Hi,
Before going to the BDC processing, you will have your data in the internal table. Then with the help of the internal table you validate each column of the itab whether the present data is corrcet or not.
If some thing is wrong you can delete that entry and continue processing or you can provide the error message.
Cheers,
Simha.