2007 Nov 24 1:09 PM
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
2007 Nov 24 1: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