Skip to Content
0
Sep 22, 2008 at 03:29 AM

do 20 times varying

1715 Views

hi all,

can anyone plz tell me the use of Varying? tell me with example. actually i m using statement like below but i m getting only 0 values.--

DATA: BEGIN OF WAGETYPES,

LGA LIKE P0008-LGA01,

BET LIKE P0008-BET01,

END OF WAGETYPES.

DO 20 TIMES VARYING WAGETYPES

FROM P0008-LGA01

NEXT P0008-LGA02.

IF WAGETYPES-LGA IS INITIAL.

EXIT.

endif.

DO 15 TIMES VARYING WAGETYPES

FROM P0589-LGA01

NEXT P0589-LGA02.

IF WAGETYPES-LGA IS INITIAL.

EXIT.

endif.

problem is that i m not getting any value in output only showing 0 value. can anyone please solve this issue?

regards Nitin.