cancel
Showing results for 
Search instead for 
Did you mean: 

Multipule smart forms into Single spool.

Former Member
0 Kudos

Hi,

When user give range of the customer in the driver program, each customer one spool is creating.

for example: I've 3 customers selection screen. So 3 spool are generating.

now the user wants single spool for those 3 customers.

Please suggest me how to do this?

Thanks you,

Manohar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello -

Check if there is the possibility that your applications can attach spools to previous spool requests instead of creating a new

spool every time. See the below SAP notes:

85318 - Appending documents to existing spool requests

16410 - Attaching to existing spool requests

Regards.

Former Member
0 Kudos

Those Note are used for SAP SCRIPTS. But I need for SAMRTFORMS

aidan_black
Active Contributor
0 Kudos

Hi,

The notes above do apply for smartforms also. When an application calls the Smartform function module, there is a structure OUTPUT_OPTIONS. You need to ensure that the parameters OUTPUT_OPTIONS-TDNEWID and OUTPUT_OPTIONS-TDFINAL are not filled for spools to be appended. If you are processing different forms, you probably need to use parameters CONTROL_PARAMETERS-NO_CLOSE and CONTROL_PARAMETERS-NO_OPEN when calling the different smartforms within your application.

Regards,

Aidan

Former Member
0 Kudos

THanks for the replay.

Could you please let me know how to full fill. Some ruff code.

like

g_control-no_open = c_x.

g_control-no_close = ' '

CALL FUNCTION 'SSF_OPEN'

CALL FORM

g_control-no_open = ' '

g_control-no_close = 'X '

CALL FUNCTION 'SSF_OPEN'

CALL FORM

Is that correct? Please advice me.

Answers (0)