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

spool request

hi all i have a report

now requirement is i need to generate a spool..

the report is to update a database table .

now i think i have to store the status messages, error messages in my report

in a spool.

can anyone help me with this?

my report is done now i just want to display the messages in spool

how to do that

can anybdy let me the name of FM or how to process now?

thnkx

bhanu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 24, 2007 at 01:20 PM

    If you run the Report in Background, then all the write statements used in the report will appear in the Spool.

    If you want that only the Messages should appear in the Spool and the main report should be run in foreground. You can try this.

    1) Create a report which will import the error messages.

    2) Display the messages using write statement.

    3) In the Main program use JOB_OPEN, SUBMIT via JOB, JOB_CLOSE (To submit this report in background through the main report).

    4) In the Main report before calling the SUBMIT, export the messages.

    Regards,

    Abhishek

    Message was edited by:

    Abhishek Jolly

    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.