Application Development and Automation 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: 
Read only

session

Former Member
0 Likes
392

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
367

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

2 REPLIES 2
Read only

Former Member
0 Likes
368

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

Read only

Former Member
0 Likes
367

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