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

Spool creation incomplete

Former Member
0 Likes
474

Hi Experts,

I am using function module CONVERT_ABAPSPOOLJOB_2_PDF to convert the list spools to PDF and GUI_DOWNLOAD to download it to local PC.

while doing so, I am facing this issue.

If I select 10 spools, 9 of them will get converted to PDF and will be downloaded. 1 spool will not be completely created. If I select 1 spool, the spool will not be completely created.

I tried giving a WAIT statement for upto 60 seconds - but even then the spool is not complete.

Any suggestions will be helpful.

Thanks,

Preema

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
399

It might be probelm in passing those spool to the function module.

make sure you are passing all the 10 spools to the FM.

Can you show the code ,how you are using it.

Regards

Neha

2 REPLIES 2
Read only

Former Member
0 Likes
400

It might be probelm in passing those spool to the function module.

make sure you are passing all the 10 spools to the FM.

Can you show the code ,how you are using it.

Regards

Neha

Read only

former_member156446
Active Contributor
0 Likes
399

i can think of some clear statement missing... in this scenario...

or check for an FM which says the job is complete and then get the confirmation from it and then call the PDF fm..