11-09-2016 8:05 AM
I am executing the program in background, it need to generate only one spool. Spool is being one till it reaches 100pages, after crossing 100pages it is creating many duplicate spools with name "Binary document" and it creating many jobs leads to system hangs. Please help me.
11-09-2016 9:44 AM
Check the report, seems it doesn't manage some error code, e.g. an error that close the spool request, and the program 'persists' and open another spool request.
Can you find some error message in job log (SM37) or system log (SM12) related to spool, lack of memory or maximal size, also ask admin for any host spool system limitation.
Regards,
Raymond
11-09-2016 9:44 AM
Check the report, seems it doesn't manage some error code, e.g. an error that close the spool request, and the program 'persists' and open another spool request.
Can you find some error message in job log (SM37) or system log (SM12) related to spool, lack of memory or maximal size, also ask admin for any host spool system limitation.
Regards,
Raymond
11-09-2016 7:14 PM
Have you tried to analyze the program? Care to share more details? We could guess here till cows go home...
Take a look at this blog when you get a chance: https://blogs.sap.com/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers/
11-10-2016 7:26 AM
Thanks for your reply. Yes program exiting in below statement.
if numpages > 99.
toolarge = 'X'.
exit.
It is in subroutines of the FM CONVERT_OTFSPOOLJOB_2_PDF.
So we cant do anything. Only option we have is to limit the inputs for execution.
right?
11-14-2016 12:14 PM
no, wrong. This is just an internal flag for displaying a popup for running the program in background or in foreground if there are more than 99 pages.
11-17-2016 1:08 PM
No, after setting the toolarge flag, program executing in background, and creating dummy spools.
11-17-2016 5:56 PM
OK. Release 4.6 is too old, I can't argument much.
But in ECC 6.0, when the conversion runs in background, it generates one binary spool (it's what I have in my system) which contains the PDF binary, and you download it using program RSTXPDFT5 (cf SAP note 1833550 Creating or Converting Large PDF Files https://service.sap.com/sap/support/notes/1833550).
For some unknown reasons, in your system, it generates several spool files.
Maybe it's a bug. If your issue is not solved, you should contact the SAP support.
11-10-2016 7:28 AM
11-14-2016 6:30 AM
Did you try to change values of no_dialog and no_background parameters?
Regards,
Raymond
11-14-2016 10:40 AM
11-15-2016 6:23 AM
11-16-2016 12:25 PM