cancel
Showing results for 
Search instead for 
Did you mean: 

One spool from different Smartforms

former_member220448
Participant
0 Kudos

HI,

I need to print 2 different smarforms, these 2 smartforms uses different printers and output types.

I'm printing the smartforms one after another but I need to generate just one spool.

any ideas?

Thanks!!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

When u are printing to 2 different Printers and u say different Output Types, then the question of generating a Single Spool Request does not exist. But if same output type and same printer then u can have 1 Spool Request using CONTRAL Parameters in the SSF_FUNCTION_MODULE_NAME ...

surya

Former Member
0 Kudos

Hi

But if the printers are different how it can create one spool only?

I don't believe it's possible, anyway you need to OPEN the spool in the first smartform and to CLOSE in the last

You need to manage the parameter CONTROL_PARAMETERS In order to do it:

For the first Smartforms: CONTROL_PARAMETERS-NO_CLOSE = 'X'

Fir the second one: CONTROL_PARAMETERS-NO_OPEN = 'X'

Max

aidan_black
Active Contributor
0 Kudos

Hi,

For spools created via smartforms, when the application print program calls the function module of the Smartform, there is the structure OUTPUT_OPTIONS, by which you can set the output parameters of the Smartform. If the oparameters OUTPUT_OPTIONS-TDNEWID, and OUTPUT_OPTIONS-TDFINAL are not filled, then the spools should be appended.

See also the SAP note 85318.

Regards,

Aidan