2016 Sep 28 5:56 AM
Hi,
I an working on a SAPScript where I need to print an image on every page except the second last page. I tried doing it with a check on current page number &page&. However it is printing same page number on every page. I have three types of pages in my script, FIRST, multiple NEXT pages and LAST. I do not want to print that image on last NEXT page.
How can I do that?
Can I use a counter in sapscript?
Regards,
Arpit
Hi,
I an working on a SAPScript where I need to print an image on every page except the second last page. I tried doing it with a check on current page number &page&. However it is printing same page number on every page. I have three types of pages in my script, FIRST, multiple NEXT pages and LAST. I do not want to print that image on last NEXT page.
How can I do that?
Can I use a counter in sapscript?
Regards,
Arpit
2016 Sep 28 5:59 AM
HI,
May i know image means , icon or page background page image.
2016 Sep 28 6:07 AM
Hi,
You will get current page name in ITCTG-TDPAGE.
make your logic like :
IF ITCTG-TDPAGE = 'FIRST'.
<<include image
Elseif IF ITCTG-TDPAGE = 'NEXT'.
ElseIF IF ITCTG-TDPAGE = 'LAST'.
<<include image
EndIF.
thank you!!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |