This website is not affiliated with, sponsored by, or approved by SAP AG.

Copies window on Smartform

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Copies window on Smartform

Postby RobbieM » Tue Aug 11, 2009 3:58 am

I want to have a window on my smartform saying 'Copy 1 of 2' for example. I tried to use the variables SFSY-COPYCOUNT and OUTPUT_OPTIONS-TDCOPIES like this &SFSY-COPYCOUNT& of &OUTPUT_OPTIONS-TDCOPIES& in a secondary window but SFSY-COPYCOUNT is always 1. So I put the text element in a copies window, but that doesn't work either. The output now only prints one copy no matter what the value in OUTPUT_OPTIONS-TDCOPIES. It does have the correct value in SFSY-COPYCOUNT but it overlays 1 and 2 in my example so I get a 1 then a 2 on top of it on the same page. Is there anything else I need to do to make it print more than 1 copy? At the moment I have changed the print program to call the smartform function module multiple times depending on the number of copies required. I pass the total number of copies and the loop index number back to the form to get the desired result but I would much rather do it using a copies window. Has anyone else had this experience?
RobbieM
 
Posts: 90
Joined: Tue Mar 07, 2006 10:05 am
Location: London UK

Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 4 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.