Skip to Content

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

NEW-PAGE

Hi,

I want start a new page when new vendor in a list. I put this code but isn't ok i don't know why..

LOOP

IF LAST_VENDOR IS NOT INITIAL.

IF LFA1-LIFNR NE LAST_VENDOR.

LAST_VENDOR = LFA1-LIFNR .

NEW-PAGE.

ENDIF.

ELSE.

LAST_VENDOR = LFA1-LIFNR

ENDIF.

WRITE..............

ENDLOOP

Please help

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