Skip to Content
avatar image
Former Member

How to add to an existing SAP SPOOL?

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 16, 2008 at 03:20 PM

    Hi

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

    Max

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2008 at 03:23 PM

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

    Regards,

    Joy.

    Add comment
    10|10000 characters needed characters exceeded