Application Development 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: 

How to add to an existing SAP SPOOL?

Former Member
0 Kudos

Is there a way to add records to an existing SAP SPOOL? Here is the issue.

Program A calls program B many times in a loop. B writes to SAP SPOOL. But every time A calls B, a new spool is created. What if the requirement is to write all outputs to a single spool? What parameter helps in the FM GET_PRINT_PARAMETERS?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

U need to use the fm SET_PRINT_PARAMETERS in order to set the flag to use the same spool

Max

3 REPLIES 3

Former Member
0 Kudos

Hi

U need to use the fm SET_PRINT_PARAMETERS in order to set the flag to use the same spool

Max

Former Member
0 Kudos

Clear the field PRNEW of parameter IN_PARAMETERS and the set this new print attribute using FM SET_PRINT_PARAMETERS.

Regards,

Joy.

0 Kudos

Thanks to Max and Joy. It is working!