cancel
Showing results for 
Search instead for 
Did you mean: 

SAP script printing

Former Member
0 Kudos

Hi,

I would like to print 'Original' in the first copy, 'Duplicate in the second copy and 'Triplicate' in the thrid copy etc...when user gives no.of cofy is 3 or 2 like this...

Is there any system field to acheive this logic?

Thanks

Selva...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi selvaraj,

This is not possible with the scripts, in smartforms by providng if condition you can achieve the duplicate copies..

system field : SFSY-COPYCOUNT

Regards,

Sravanthi

Answers (2)

Answers (2)

Former Member
0 Kudos

You have the possibility of calling a form inside an abap program from within a sapscript, so you could use that external form to update the content of the field containing the number of copy.

Former Member
0 Kudos

The print program only processes the form once and passes the number of copies wanted to the print driver, so there's no opportunity to change the form per copy. You could change the print program to intercept the number of copies and instead process it in a loop, once for each copy and set your text that way but it's a pain to do and results in increased processing and data traffic. And it won't help if they set the number of copies from the spool (SP01).