cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in printing copy count in the smartform printout

Former Member
0 Kudos

Hi,

I have created a smartform with a single page. I will be printing this form n number of times. For this i have used "TDCOPIES" option while calling the function module generated. Let me say that i am printing it twice. My problem is while printing at the end of the page I need to print "Copy 1 of 2" in the first printout and in the second print out "Copy 2 of 2".

Currently, I am using SFSY-COPYCOUNT, but it still prints "Copy 1 of 2", "Copy 1 of 2", "Copy 1 of 2"... The value of SFSY-COPYCOUNT is always coming as 1. Can anyone help me out in this case.

Thanks,

Prem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

u ahve to use the COPY window to PRINT like this.. in the Normat even if you use the SFSY-COPYCOUNT it won't work.

wht u ahve to do is crete a WINDOW (Type COPIES WINODOW) then insert the same as u did... or <b>just change teh Window type to COPIES window</b> it will be fine.

Please Close this thread.. when u r problem is solved. Reward all Helpful answers

Regards

Naresh Reddy K

Former Member
0 Kudos

Hello Naresh,

It was a nice solution. It really did work out for me..

Thanks for the timely solution.

Prem

Answers (1)

Answers (1)

anversha_s
Active Contributor
0 Kudos

hi,

*declare 

v type i 

*Just create a program line.
*In that write the following code,
v = SFSY-COPYCOUNT
v = v + 1.

Regards

anversha