Skip to Content
avatar image
Former Member

Problem in printing copy count in the smartform printout

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 04, 2007 at 11:00 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Naresh,

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

      Thanks for the timely solution.

      Prem

  • avatar image
    Former Member
    Apr 04, 2007 at 11:06 AM

    hi,

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

    Regards

    anversha

    Add comment
    10|10000 characters needed characters exceeded