Skip to Content

session

hi experts,

I am developed session method to upload data from flat file using the tcode F-02.if the records more than 999 it must create another document.can anybody please tell me how can i write the code for this.

Thanks in advance,

praveen.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2006 at 08:13 AM

    Hi Praveen

      Maybe you can try this way:
        while looping and preparing the line items, 
    increment the counter variable for each record. When the 
    counter reaches 999 call FM: BDC_INSERT.

    Kind Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2006 at 12:09 PM

    Hi

    The limit should be 950 not 999, you have to count the position and the total of amount of every document you create. But how to split the document depends on which document you have to create.

    Max

    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.