on 01-16-2010 9:59 PM
Hi Friends,
I have requirement to print multiple pages of sap script and then last page as terms and condition. No matter how many pages it prints, it should always print the terms and condition.
MY LAST PAGE IS NAMED THIRD
I tried putting NEW-PAGE THIRD in the main window of the first page, but then it gives me error
WRITE_FORM is invalid, START_FORM is missing.
Help me to meet the above mentioned requirement.
If you need more information please ask.
Hi
If ypu've called THIRD the last page it means there are FIRST and SECOND pages aren't they?
So how is the flow of the pages?
If you insert the terms and condition in a new window (not the MAIN) , u can print those data only if the page is the last one, so if the system symbol for the next page is null:
/; IF &NEXTPAGE& = '0'
* &TERM&
* &CONDITION&
/: ENDIF
In this way those data will be printed in the last page automatically
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Max thanks for the quick reply.
Let me tell you the flow of pages.
first page pointing to next page
next page pointing to next page
last page pointing to last page
the requirement for terms and condition is to be printed always on new page.
Please suggest me some solution and I will try it.
Thanks..
Hi,
You should debug and find the last text element in the Main window of the form...You are putting the code in the wrong text element which is forcing for the page break and hence the error.
1. Create a new page by Name : LAST (in your case it is THIRD)
2. Identify the text element which will be the last element in the form in the debug mode.
Mostly Ex: SUM, TOTAL, LAST etc.,
3. the page linking should be
First --> Next
Next --> Next
4. In the Text element identified in the step 3.
Write the following code
/: NEW-PAGE LAST
/: INCLUDE the standard text created for the terms and conditions in SO10
It should resolve your problem.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.