Skip to Content
0
Former Member
Dec 25, 2007 at 11:46 AM

Repeat structure program for IT0008

44 Views

Dear All,

DATA: BEGIN OF WAGETYPES,

LGA LIKE P0008-LGA01,

BET LIKE P0008-BET01,

ANZ LIKE P0008-ANZ01,

EIN LIKE P0008-EIN01,

OPK LIKE P0008-OPK01,

END OF WAGETYPES.

RP_PROVIDE_FROM_LAST P0008 SPACE PNpBEGDA PNpENDDA.

DO 20 TIMES VARYING WAGETYPES

FROM P0008-LGA01

NEXT P0008-LGA02.

IF WAGETYPES-LGA IS INITIAL.

EXIT.

ELSE.

v_basic = v_basic + wagetypes-bet.

ENDIF.

ENDDO.

this is throuwing an error p0008-lgao1 and wagetypes are type incompatible.

Anyone please suggest me.

Thanks

Satya.