‎2008 Nov 25 5:12 PM
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
‎2008 Nov 25 6:37 PM
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
‎2008 Nov 25 6:37 PM
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
‎2008 Nov 25 6:56 PM
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..