cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying last page in SAP Script.

Former Member
0 Kudos

HI All

I have created 3 pages.

Data will be displayed in the first page and 3 page ie the last page will display a small Note.

I have a requirement in which Both First and last page should be displayed.

IF data is too long then after first the next page should get displayed and then the last page.

I tried using start_from and End_form . but the issues was not solved.

Please help.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Instead of creating 3 pages... you do the work in two pages itself.. and try printing the small note only on the last page using the command

/: IF &NEXTPAGE& EQ 0

maintain the text to print on last page

/: ENDIF

Regards

GK.

Former Member
0 Kudos

Hi,

Please try to control the printing of First and last page based on the Internal Table contents.

Check if the internal table is empty after printing the first page and then put a if-condition in the script editor to control triggering of second page.

Then you can print the last page with instructions.

Regards,

Lakshmi

Former Member
0 Kudos

Thanks for the Reply.

But i am not able to display the third page only ....

Nothing is getting displayed after page 1.