on 10-24-2009 10:21 AM
Hi! I have 3 pages in my sapscript... FIRST, NEXT and LAST. At NEXT I have a window DRAWING which contains the following code
IF &NEXTPAGE& EQ '0'
NEW-PAGE LAST
PERFORM GET_FINAL_DRAW IN PROGRAM ZPSFCOBJL
USING &CAUFVD-MATNR&
CHANGING &FG_DRAW&
ENDPERFORM
BITMAP &FG_DRAW& OBJECT GRAPHICS ID BMAP TYPE BMON
ENDIF
LAST contains the same window DRAWING. The NEXT page's next page is not filled in. The LAST page is also not called in the print program.
Tell me what I'm doing wrong?
Hi,
As per ur code IF &NEXTPAGE& EQ '0' , the NEXT page next page shud be FIRST, only then the condition gets satisfied, because, there is no condition that after NEXT what shud be the flow.
So, better, give the page flow and try .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.