Skip to Content
author's profile photo Former Member
Former Member

Merge spool from two SAP Scripts

In a report using two separate forms for output. On report execution first output is displayed & then it display the second one. Thus two separate spools are generated.

Is there any way to merge these two spools in one spool list through program.

Kindly advise.

Thanks

anu

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2006 at 10:49 AM

    You can try to place several pairs (forms) START_FORM - END_FORM between one OPEN_FORM - CLOSE_FORM to get one spool request.

    Message was edited by: Tomasz Kozerski

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 26, 2006 at 10:26 AM

    See if this link is of some help to you.

    how-to-merge-multiple-spools-into-single-pdf-file

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 26, 2006 at 10:26 AM

    Hi,

    Glad to let you know, it is <b>possible</b>.

    Have a look at the function modeules <b>RSPO_RETURN_ABAP_SPOOLJOB</b>, <b>RSPO_SR_OPEN</b> and <b>RSPO_SR_WRITE</b>.

    The first one extracts lines from a spool request. The second one creates a new spool request. The last one write lines into a spool request.

    you can use these three to split up small parts or combine into single

    Feel free to revert back.

    --Ragu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.