on 06-21-2010 2:11 PM
Hello Experts,
I want to print a Cover page first if and only if number of pages exceeds 10 in SAP Script.
Cover Page should be the first page and then the remaiing pages.
It's not possible to find the no of pages the script will generate, until it's printed. Again, you need the cover letter as the first page.
There could be a solution to your requirement. Call the script and get OTF format without printing it to spool. You will get to know the no of pages in the main script . If it's more than 10, call the secondary script to get the OTF data of cover letter. Merge the OTF of main script to OTF of cover letter and print the OTF data to spool using FM PRINT_OTF.
Check this link for similar code. In your case, the spool of the two sapscripts needs to be merged.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.