cancel
Showing results for 
Search instead for 
Did you mean: 

Set print more copies in 1 time!

Former Member
0 Kudos

Hi All

I have 1 smartform, print out to 4 copies. I write code in smartform :

IF SFSY-COPYCOUNT = '1'.

COPY = '1st Copy: FILE'.

ELSEIF SFSY-COPYCOUNT = '2'.

COPY = '2nd Copy: For Customer'.

ELSEIF SFSY-COPYCOUNT = '3'.

COPY = '3rd Copy: For Customs'.

ELSEIF SFSY-COPYCOUNT = '4'.

COPY = '4th Copy: Payment'.

I run test (F8) in smartform and set number of copies is 4, I can see 4 copies.

But when I active this smartform, set output to other transaction and print output, I can not change number of copies.

How can I set default 1 time print out 4 copies for this smartform ?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Finished.

Former Member
0 Kudos

Hi,

Have u declared the command node so each and every time u run the smartform it gives 4 copies of output. Command Node at end of the Main Window.

Regards,

Vijaya Lakshmi T

Former Member
0 Kudos

Hi,

Before calling the FM you need to call :

SSFCTRLOP-NO_DIALOG = 'X'.
SSFCOMPOP-TDNEWID = 'X'.
SSFCOMPOP-TDNOPREV = 'X'

Then ypu can use wa_ssfcompop-tdcopies. Define no of copies you need to print here.

Former Member
0 Kudos

Hi K.Manas,

Thanks for your reply, but can you explain step by step how to do that ?

Former Member
0 Kudos

Hi,

Find in Functional module...I think we can find the print Copy option in Control parameters.

Call function fm_name.

In this pass this structure SSFCOMPOP

In that we have field TDCOPIES is no of copies...try this one