cancel
Showing results for 
Search instead for 
Did you mean: 

Spool Smartforms and SapScript

Former Member
0 Kudos

Hi guys,

I have the following problem, my program prints 1 smartforms and 1 sapscript. Need to both leave the same spool anyone know how can I do that?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Cleber.

In the driver program based on condition print the smart form or script.

On the selection screen create the two radio buttons one for the smart form and other for script..

If p_lay1 eq 'X'.

w_form = 'Z_SMARTFORM'.

elseif p_lay2 eq 'X'.

w_form = 'Z_SCRIPT'.

Regards,

Sravanthi

amit_khare
Active Contributor
0 Kudos

You may print the first form get the spool request and pass it to other one while printng.

For smartform you can use SSFCOMP* and for Script, use OPEN_FORM .

Former Member
0 Kudos

How can i pass spool request to sapscript?

can you give a example?

thanks.

former_member205763
Active Contributor
0 Kudos

check this

[Printing Several Forms in One Print Request|http://help.sap.com/saphelp_nw04/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/frameset.htm]

i am not sure if this wud work for one smartform and one script, u try if it doesnot work then there's one more way which i'll tell if it doesnot work