Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

file format

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Simha_
Employee
Employee
0 Kudos

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.