Skip to Content

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

Print Images in last two pages of Script

Hello Team,


I'm in need of your help. I have a SAP Script. Script is printing the contents with header, main window, some additional windows and footer. Script has two pages: first-> next and Next --> next. When we run the script mail is triggered with the output as PDF. Requirement is:


Two payment guides (images) needs to be printed in the last two pages. Second last page should always ddisplay the payment guide in English language without header footer and other windows and last page should always display payment guide in Arabic language without header footer and other windows.

I have created a new page Pay_gui with a window(Pay_gui) in it. In this window I have inserted both the images(Payment guides in English and Arabic). I have written '/: NEW-PAGE PAY_GUI' in main window of First page. Page Pay_gui--> Next. (If pay_gui is not pointing to any page or if Pay_gui--> Pay_gui, mail is not getting triggered hence I have given Pay-gui --> next for time being).


Now the result which is coming is: 3 pages :


1st page with correct content in it.

2nd page with both the images (Payment guides in English and Arabic).

3rd page with remaining next page content (which should come in 2nd page)


Both the images coming on the same page without header and footer. But I need, Second last page should always display the payment guide in English language without header footer and other windows and last page should always display payment guide in Arabic language without header footer and other windows.


The print program for the script is standard print program so can't pass coding in write_form.

Please suggest a solution to this problem marked in blue.

Regards,

Titiksha

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