cancel
Showing results for 
Search instead for 
Did you mean: 

printing the original and duplicate copies in one single prompt

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

what are you using? SMARTFORM? SAP-SCRIPT?

Former Member
0 Kudos

Thanks florian,

I am using smartforms.

regards

Former Member
0 Kudos

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