‎2008 Jul 09 11:26 AM
Dear Expert,
I created smartform(customise) .It is running fine
using customing transaction code(tc-zqa33).
I used copy windo and created text (&SFSY-COPYCOUNT&)
I have taken printout.Fist time it is showing 1.
Again i have taken printout for same number(unique)
stil is is showing one.
i want second time show - 2.
third time show - 3.
like this
lastprinout copy + current printout = Show in outout.
Please suggest me solution
Thanks in advance
jyoti prakash
‎2008 Jul 09 11:34 AM
Hi
U should run the sf as many times as many the copy to be printed are, only in this way u can print different value in the copy window:
DO COPY_TIMES TIMES.
NR_COPY = SY-INDEX.
CALL SF.
ENDDO.U should replace SFSY-COPYCOUNT with NR_COPY.
Max
‎2008 Jul 09 11:48 AM
If you take 3 copy of at the one print process then it will show 1,2,3 but it is not the field which can tell you how many total print out has been done upto now.
May be you can check NAST table and find out how many times the form was printed and then put a logic to count it and display.
Hope this helps.
Fran
Edited by: Franc on Jul 9, 2008 11:48 AM