on 01-18-2007 6:36 AM
Hi All,
My requirement in SAP Script is like follows:
1) First page should come only once
2) Second page should come if tables on first page overflows and should keep on repeating till data ends.
3) Last page should always come that is having terms and conditions on it.
Can anybody please explain what all settings i need specially for last page?
First two pages are coming fine but i m not able to handle last page .
Thanks & Regards,
Atul Patil
Hi,
One option is check if &PAGE& = &SAPSCRPIT-FORMPAGES&, that means it is the last page, then, you can print your TERMS & CONDITIONS text after a
new-page command.
Regards
Subramanian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atul,
<b>write this code then the terms and conditions will be printed in last page itself
/: IF &NEXTPAGE& EQ 0
.......................
terms and conditions code write here
...................................
/: ENDIF </b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can include the comany NEW-PAGE LAST_PAGE.
In last page you can have terms and conditions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See i had requirment that Page containing Terms and Condition should be printed when Email program is triggered. Means when ZEMAIL program is run PDF document is generated. To this document it should have terms and condition. It was coded like this.
/: IF &TNAPR-PGNAM2& = 'ZEMAIL2'
/: NEW-PAGE SUMMARY
/: ENDIF
This was coded in Main window of next page.
SUMMARY is the name of the page containing Terms and condition.
In SUMMARY page Standard text object was included in which terms and condition were present.
Hope this helps you.
Regards,
VMMAgadi
HI ALL,
I WANT TO DISPLAY 3RD PAGE CONTAINING INSTRUCTION WINDOW. 3RD PAGE SHOULD GET PRINTED WHEN MAIN WINDOW ON THE FIRST PAGE FLOWS ON THE SECOND PAGE OR WHEN IT DOESN'T FLOWS.MY LOGIC WAS NEXT PAGE FOR FIRST PAGE IS PAGE 2 & NEXT PAGE FOR PAGE 2 IS PAGE 2 ONLY BECAUSE IT SHOULD FLOW WHEN MAIN WINDOW FLOWS.AFTER ALL THIS I WANT TO DISPLAY THIRD PAGE WHICH CONTAINS INSTRUCTION WINDOW.
I AM NEW TO ABAP. CAN YOU PLEASE GIVE ME SOLUTION IN DETAIL.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.