I am having a field ZPROTNUM CHAR20 which will be displayed in the output of my report. When I execute the report it is having 10 records and the 10th record value is 00014000000000000010. When I execute the program for 2nd time the sequential number will be from 00014000000000000011 to 00014000000000000020. I have to execute the report for one company code(2000). How to assign the sequential number when the program was run each time. The same should happen when executed for different company codes. How to achieve this. Please help me.