Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP HR: DO VARYING Statement Alternate

DATA: GWA_0008 TYPE PA0008,

LGART TYPE PA0008-LGA01,

BETRG TYPE PA0008-BET01.

SELECT SINGLE * FROM PA0008 INTO GWA_0008.

DO 40 TIMES

VARYING LGART FROM GWA_0008-LGA01 NEXT GWA_0008-LGA02

VARYING BETRG FROM GWA_0008-BET01 NEXT GWA_0008-BET02.

" CODE

ENDDO.

as 'do varying' is obselete now, what is the alternate for this statement?

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question