Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Skipping pages on SAPSCRIPT

$
0
0

Greetings all,

 

I have the following situation:

I have a SAPSCRIPT with the following page flow:

 

HEADER1->HEADER2

HEADER2->HEADER3

HEADER3->FIRST

FIRST->NEXT

NEXT->NEXT

 

Header1, Header2 and Header3 Pages are Terms and Condition, however they can't be shown when a certain variable has value '5', so i want to skip then, if condition is true.

 

 

What i was trying to do was:

 

(Inside HEADER1)

IF &variable& = '5'.

&NEXTPAGE& = 4 (4 = FIRST PAGE)

NEW-PAGE

ENDIF.

 

But that didn't give me any results,

 

PS: The printing program is Standard, so all i can change is inside the ZSAPSCRIPT.

 

 

Thank you all for your attention,

Best Regards,


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>