2008 Apr 01 11:49 PM
Hello,
I have a report program which generate 3 diffrent report. Intead of writing it to the same spool one after another I want to split this in to three spool with the report title dispaly as spool title in SM37 to identify the report. Can this be done ?
Thanks
Manoranjan
Hello,
I have a report program which generate 3 diffrent report. Intead of writing it to the same spool one after another I want to split this in to three spool with the report title dispaly as spool title in SM37 to identify the report. Can this be done ?
Thanks
Manoranjan
2008 Apr 02 7:58 PM
Hi,
Yes, this can be done. One way is to use NEW-PAGE PRINT ON and NEW-PAGE PRINT OFF within your program to create the three different spools during a single report run. You will probably want to use the NO DIALOG option, so you'll need to take care of assigning the print parameters yourself using f.m. 'GET_PRINT_PARAMETERS'. You should also be aware of the obsolete additions of NEW-PAGE PRINT ON. The ABAP keyword help for NEW-PAGE describes how to use this keyword in detail.
Regards,
Jamie
2008 Apr 05 7:54 AM
Thank you Jamie for the answer.
Is there any way I can list the multiple spools generated by a single report program using SM37. In most of the case I saw a report has only on spool.
The suggestion you have given seem to be good in case we want to send the report directly to the diffrent printer. Will the suggeted method show multiple spool in in SM37 ? if you have any example ?
My requirement is like, the report will be executed in background and after the job finish I want to see three spools in SM37 from the same program in sm37. This report need not go to a printer, this is just for viewing on screen.
Thanks again
Manoranjan
2008 Apr 05 8:48 AM
Hello,
i have already encoutered this problem. I do not found a solution in this forum.
Each step of your background job can create several spool. But you can only see, per each step, one spool in SM37.
There is an OSS note "Note 735379 - Not all spool lists of a job step are sent" that you can refer to.
There is also an other thread :
Cordialement,
Chaouki.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |