‎2006 Oct 19 8:54 AM
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.
‎2006 Oct 19 9: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
‎2006 Oct 19 9: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
‎2006 Oct 19 1: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