2006 Nov 30 11:21 AM
Hi Gurus
I need your kind suggestions on the following issue:
I have a flat file consisting of 100 records.
I am uploading that file using BDC session method.
My requirement is I have to create a batch input session for every 10 records.
How to handle this.
I need detailed explanation with sample code.
Your views and suggestions are highly encouragable.
Regards,
Kumar
2006 Nov 30 11:26 AM
hi,
schedule your job in sm36 with the periodicity as 10 sec this would run your program every 10 secs.
santhosh
when ur passing data to session
loop at itab.
move data from itab to itab1.
if (sy-tabix/10 eq <wholenumber>).
open a session & trnasfer the data to session & close the session
endif.
endloop.
2006 Nov 30 11:26 AM
hi,
schedule your job in sm36 with the periodicity as 10 sec this would run your program every 10 secs.
santhosh
2006 Nov 30 11:26 AM
*store all the values of flat file in internal table
loop at itab.
v_mod = sy-tabix mod 10.
if v_mod eq 0.
*here write the code toopen a new session
endif.
endloop.Message was edited by:
chandrasekhar jagarlamudi
2006 Nov 30 11:36 AM
when ur passing data to session
loop at itab.
move data from itab to itab1.
if (sy-tabix/10 eq <wholenumber>).
open a session & trnasfer the data to session & close the session
endif.
endloop.
2006 Nov 30 12:05 PM
2007 May 23 11:40 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |