2007 Jun 29 5:33 AM
How can we put the report which is generated by the program into spool??
I had generated a file in Unix which had the report but now the requirement has changed.
Regards,
Shashank.
2007 Jun 29 5:45 AM
2007 Jun 29 5:36 AM
Hi Shashank,
If the program is executed in the background and it has the write statement then the spool will automatically generated.
Reward points if useful.
Regards,
Atish
2007 Jun 29 5:43 AM
Hi Atish,
I have specially been told to put the report into Spool.
Regards,
Shashank.
2007 Jun 29 5:45 AM
Hi Shashank,
Then use the FM BP_JOB_CREATE. you will find lots of sample code for the same on SDN.
Regards,
Atish
2007 Jun 29 5:37 AM
Hi Shashank,
MAy be you can try eith this function BP_JOB_CREATE.
Reward if useful!
2007 Jun 29 5:45 AM
2007 Jun 29 5:50 AM
HI,
WHEN YOU GENERATE A REPORT THROUGH A PROGRAME . IN THE OUTPUT SCREEN YOU WILL HAVE SYSTEM BUTTON IN TOOL BAR PRESS THAT AND CLICK ON LIST AND CLICK ON PRINT THE SPOOL REQUEST WILL BE GENERATED AUTOMATICALLY
2007 Jun 29 5:57 AM
Hi Maruvada,
But how can I check my report,which is generated,in the spool(by what transaction or please tell me the procedure)??
Regards,
Shashank.
2007 Jun 29 6:28 AM
Hi Shashank,
write the value of the system field <b>sy-spono</b> in ur report which is the number of the spool request genereated by ur report and check the output of the spool in the transaction <b>SPO1</b> with the spool number generated in ur report.
2007 Jun 29 6:43 AM
But Rajesh how can I implement this in my code which is running in the back ground??
take an example:
write:'15658'.
I want to put the output:'15658' into spool....How can I do that??
Regards,
Shashank.
2007 Jun 29 7:30 AM
Hi Shashank,
if ur code runs in the background it itself creates a spool, u need not to code anything specific, to know the status/spool of ur job check the transaction SM37.
2007 Jun 29 5:51 AM