Application Development and Automation 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: 
Read only

Duplicate spools getting generated

Former Member
0 Likes
3,199

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.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,406

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 REPLIES 11
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,407

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

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
2,406

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/

Read only

Former Member
0 Likes
2,406

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?

Read only

0 Likes
2,406

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.

Read only

0 Likes
2,406

No, after setting the toolarge flag, program executing in background, and creating dummy spools.

Read only

0 Likes
2,406

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.

Read only

Former Member
0 Likes
2,406

Sorry , from next time. I will provide issue with full details.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,406

Did you try to change values of no_dialog and no_background parameters?

Regards,
Raymond

Read only

0 Likes
2,406

We dont have option for 'no_background'.

Read only

0 Likes
2,406

What's your ECC version?

Read only

0 Likes
2,406

Version 4.6