Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Calling multiple smartforms in a program

Former Member
0 Likes
816

Hi,

I have called 2 smartforms in single driver program by using SSF_OPEN and SSF_CLOSE..

Now my problem is, I want to take 4 prints of Invoice1 but at the same time Invoice2 should be printed only once..

Can anybody help me to find the solution..

Regards,

Shriniwas

4 REPLIES 4
Read only

former_member194152
Contributor
0 Likes
646

as you said you are calling 2 diffrent smartform so i believe at the time of calling invoice form pass form interface output_options parameter TDCOPIES with desired number or another approach is mentioned in below thread :

http://scn.sap.com/thread/1134169

Read only

0 Likes
646

Hi Gagan,

I have already tried it with setting parameter value for TDCOPIES..  but no success....

I set TDCOPIES = 1  for second smartform . When I take 4 prints of page, I am expecting that it should print 4 copies of first smartform and only one copy of second.. But it's not happening.. It's printing 4 copies of both.

Thanks,

Shriniwas

Read only

0 Likes
646

on that case call first smartform under do 4 times. enddo. loop and keep number of copies 1.

this might solve your problem.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
646

That cannot work, the number of copies is an attribute of the whole spool (those are parameters of SSF_OPEN too) So either break in two spools or call first smarforms 4 times...

Regards,

Raymond