on 08-30-2011 6:52 AM
Dear Experts,
when i am trying to print the outbound delivery by going to outbound delivery -> issue delivery output to, the print dialog screen appears where i have to manually provide 2 as number of copies then only it is printing the original copy and duplicate copy.but i do not want to manually provide 2 as number of copies instead i want to code this in my program.kindly suggest how to code in my program so that in one print request it will display the original copy and duplicate copy.it is a smartform.kindly send some sample coding.
Regards
pritee_nayak
what are you using? SMARTFORM? SAP-SCRIPT?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, i´m not sure how it is done in your driver program, tho i guess your smartform will be called twice if you tell him to make 2 copies.
You should find something like:
DO nast-anzal times.
"some stuff there
"call of smartform
ENDDO.
if you have the requrement to ALWAYS print 2 copies and completeley ignore what user puts in the accodring field, then just change that to:
DO 2 times.
ENDDO.
If it is done in your smartforms, then you should find a loop there on header level which refers to variable OUTPUT_OPTIONS-TDCOPIES.
Edited by: Florian Kemmer on Aug 30, 2011 11:00 AM
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.