‎2008 Feb 18 12:38 PM
Hi Experts,
I have an scenario, In the internal table suppose If I have a 50,000 records ( fifty thousand records) , suposse I want to process the records in the batch of 5000 ( five thousand ) , I need to process 10 times to compelete this 50,000 records.
or if I need to process 50,000 records in the batch of 2000 then ,I need to process it 25 times...
The number of records per batch will be given by the user ...
But how to calculate the iterations and process all the records in ABAP langauage...
Thanks in Advance...
Regards,
IFF
Edited by: IFF on Feb 18, 2008 6:15 PM
First Iteration : 1-5000
Second Iteration : 5001-10000
Last iteration:45001-5000
The batch size may be directly given by the user
Regards,
IFF
‎2008 Feb 18 1:05 PM
hi
after the user inputs the no. of records per batch..
using usual code send those number of records to the batch and delete it from the internal table..
as u put it in the loop, the process continues until all the records are processed (that is the internal table become empty).
Regards,
K.Tharani.
‎2008 Feb 18 12:56 PM
Hi,
You can provide a Paramter in the Selection screen to devide number of records per session.
While creating the session you can use this value to verify.
<REMOVED BY MODERATOR>
Regards,
Ashok
Edited by: Alvaro Tejada Galindo on Feb 18, 2008 1:53 PM
‎2008 Feb 18 1:05 PM
hi
after the user inputs the no. of records per batch..
using usual code send those number of records to the batch and delete it from the internal table..
as u put it in the loop, the process continues until all the records are processed (that is the internal table become empty).
Regards,
K.Tharani.
‎2008 Dec 16 2:02 PM