cancel
Showing results for 
Search instead for 
Did you mean: 

Need four copies of a form

former_member199650
Participant
0 Kudos

Hi,

Please guide me about the following query:

I have designed a form to print certain data.

Now user wants whenever he give a print command for this form, it should always print four copies of the form with four differnt text e.g. Copy of Vendor, Copy of Deptt. etc.

Please guide me about how to achieve this goal.

Thanks and Regards

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor
0 Kudos

It seems that you didn't search a lot before posting! So you want to know everything and you don't even have any clue to start with?

sapscript, or smart form?

is that a standard transaction which triggers the form, and which one?

There are 2 points to discuss:

1) some standard applications let the copy count be customized/entered, and is passed directly to your script. Or hardcode yourself the number of copies in your program. see [SDN wiki - Copies (duplicate, etc.)|http://wiki.sdn.sap.com/wiki/display/ABAP/Copies%28duplicate%2Cetc.%29]

2) how to make the copies vary. It's what Sarves answered.

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

Use a copy window in the smartform and inside the copy window give 4 text windows with the condition sfsy-copycount = 1, 2, 3, 4 and write the text accordingly in the text window. 1 is the original 2 is duplicate 3 is triplicate and 4 is quadruplicate so on ....

Thanks & Regards

Sarves S