Application Development 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: 

Need to process to 1000 materilas

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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