Skip to Content
author's profile photo Former Member
Former Member

file format

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2008 at 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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.