04-25-2007 10:15 PM
Hi all,
I will get output file with 1.6 million records but 6000 materials.
I need to process 500 materials . How can i do that ? I need to process by materials.
Here my input file.
a1,1111,123,
a1,1112,134
a1,1123,123,
a1,1134,134
a2,1111,123,
a2,1112,134
a2,1123,123,
a2,1134,134
04-25-2007 10:24 PM
Hi,
Do you want to process 1000 materials at a time??
DATA: V_COUNT TYPE I.
LOOP AT ITAB.
V_COUNT = V_COUNT + 1.
IF V_COUNT >= 1000.
Process the 1000 materials..
clear the counter..
CLEAR: V_COUNT.
ENDIF.
ENDLOOP.
Thanks,
Naren