Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Script not triggering new page

Former Member
0 Likes
1,765

Hi,

I'm trying to add new page to commercial invoice sapscript. We already have two pages on it and I created a third page to print disclaimer text. Third page only contains disclaimer text and nothing else.When I add NEW-PAGE command in main window, the footer text where some terms and conditions are defined are not displayed but third page is triggered. If I move the NEW-PAGE command to footer then the new page is not getting triggered. The print program calls sap standard function module

RV_EXPORT_DOCUMENT_PRINT, so I can't change the print program.

Can you please let me know what can I do to trigger third page without modifying the print program.

Thanks in advance

Hi,

I'm trying to add new page to commercial invoice sapscript. We already have two pages on it and I created a third page to print disclaimer text. Third page only contains disclaimer text and nothing else.When I add NEW-PAGE command in main window, the footer text where some terms and conditions are defined are not displayed but third page is triggered. If I move the NEW-PAGE command to footer then the new page is not getting triggered. The print program calls sap standard function module

RV_EXPORT_DOCUMENT_PRINT, so I can't change the print program.

Can you please let me know what can I do to trigger third page without modifying the print program.

Thanks in advance

4 REPLIES 4
Read only

denis_konovalov
Active Contributor
0 Likes
1,423

Irrelevant tag was removed. please select more careful next time.

Read only

Nawanandana
Active Contributor
1,423

HI,

Use New-page <page name>. This will trigger the new page for the script.

/: NEW-PAGE <pagename>

May be you are calling a NEW-PAGE in the main window and you have not mentioned which should be the next page. For that you need to Go to SE71>>> Pages>>>Standard Attributes>>> Mention the <b>Next page</b>

Read only

1,423

I think that NEW-PAGE is to be always used in the main window (non-sense otherwise).

Refer also to the warnings ("blank lines ... blank page" especially) mentioned in SAP Library, chapter "Explicit Page Break: NEW-PAGE".

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,423

Please search in Google for "SAPscript add terms and conditions". Adding a new page (usually T&C or a disclaimer, like in your case) is a frequently asked question.