Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Specifying No of Copies :Sapscript

Former Member
0 Kudos

Hi All,

I want to specify the no of copies of the form to be printed. I want it to be specified in the print program only. Is there any parameter in open_form where it can be specified.

Thanks for your suggestions.

Amu

4 REPLIES 4

Former Member
0 Kudos

The open_form has a parameter 'options' which is of type ITCPO...it has a field called tdcopies....pls use this to pass the required number of copies..

Thanks,

Renjith

Former Member
0 Kudos

Hi

Yes you should defined it in the printer data: field TDCOPIES of parameter OPTIONS.

But you should manage the dialog out of fm OPEN_FORM (by FM GET_PRINT_PARAMETERS) or you don't open the dialog, because if you allow to open dialog the user can change the number of copis.

Max

Former Member
0 Kudos

Hi Amu,

Please set "TDCOPIES" (Example : OPTIONS-TDCOPIES = 2 ) in OPEN_FORM Function module "OPTION" inport parameters.

Lanka

0 Kudos

Hi,

I have a SAP script in which i need to display the currect page number and copy number of the form. How can this be done ...

eg. Copy 1 of 4 / Page 1 of 1

The total no. of copies will come from NAST table , but i don't know where the currect number will come from

I got the total no of copies from nast table but i coudnt get the current copy how to get this ,

Anil.