on 11-13-2008 4:40 PM
Hi All
I have a req to print the sf output with three copies : "Orig", "Duplicate", "Triplicate".
Now, by looping 3 times on the main window , i am able to print 3 similar looking pages. at the end of loop iv have put in a command to goto the page1.
how ever, i have subtotals happening on each page which have to be carried fwd till the very last page where grand total in displayed.
now, when i loop on main window thrice... the main window doest get over, an my main window total gets ported to the next page and so on....
ex: ideal scenario : Orig : Total = 100.
duplicado : 100
triplicado : 100
current : orig : Sub tot = 100
duplicado : 200
triplicado : 300
some how iv to reset the totals at each page......
any pointers....
ravish
HI,
After the end of main Window why dont you try to clear the subtotal. Just before going for the printing of next page i.e. when loop will run second time....for second page..it will display the proper subtotal at the second page.
Similarly it will wrk for third page also.
It might help. Try this.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all
Thank you for all the suggestions.
I have solved it.
Looped on the main window thrice.
Then set flags at appropriate places to control the printing of labels. And clearing of variables based on the flags set.
Came to know from my search, that it is illegal to print multiple invoices, that is why standard sap does not provide and option to modify copies.
Regards
Ravish.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravish,
i would suggest instead of looping 3 times to get 3 copies. In the Print Program where you are calling the smartform. Assign the OUTPUT_OPTIONS-TDCOPIES = 3.
TDCOPIES -
> Values determines the indentical number of copies to be output. (default = "1" , "0" is also interpreted as 1).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.