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: 

spool request

Former Member
0 Kudos

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

1 REPLY 1

former_member195698
Active Contributor
0 Kudos

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