‎2008 Dec 08 9:30 AM
Hi,
I`m using the FM "RSPO_R_RDELETE_SPOOLREQ" to delete spool from my program and I`m trying to execute the program in background, but the batch job fails and it gives a dump in the FM used, when I tried debugging the program (in background).
Could anyone let me know what could be the reason for the dump.As I`m passing values of proper type to the FM, it still throws me "SPOOL_INVALID_JOB " exception.
Regards,
Farhana.
‎2008 Dec 08 9:33 AM
Hi,
Add the validation to check whether the spool no. is blank.
If not lv_spoolno is initial.
CALL FM 'RSPO_R_RDELETE_SPOOLREQ'
endif.Best regards,
Prashant
‎2008 Dec 08 9:33 AM
Hi,
Add the validation to check whether the spool no. is blank.
If not lv_spoolno is initial.
CALL FM 'RSPO_R_RDELETE_SPOOLREQ'
endif.Best regards,
Prashant
‎2008 Dec 08 10:29 AM
Hi Prashanth,
Thanks for your reply. This check does not solve the problem, it still throws the same exception.
Regards,
Farhana
‎2008 Dec 08 9:34 AM
Hi,
Make sure you give the correct JOB Name( as the dump name suggest SPOOL_INVALID_JOB )
also try to pass the Job name in Capital letters if you are using char literals
if both these doesn't serve
check the compatibility of the parameters that you are passing as one of the parameters
Regards
Ramchander Rao.K
‎2008 Dec 08 10:50 AM
Hi Ramachander,
Job name is not being passed as paramter to this FM, and I also checked with the data type of the parameters, they seem to match.
Regards,
Farhana.
Edited by: Farhana Sheriff on Dec 8, 2008 11:59 AM
‎2008 Dec 08 11:35 AM
Hi,
Please check whether some other job which is still running & hence there is a table lock bcz of which you are receiving invalid spool job error.
I hope you are passing the job name from JOB_OPEN fm to JOB_SUBMIT.
Best regards,
Prashant
‎2008 Dec 08 12:24 PM
Hi Prashanth/Ramachandra,
I got the solution for this. As the spool was empty, it was not allowing me to delete the spool, even though there was a spool id being generated.
Thanks for all your quick responses.
REgards,
Farhana.
‎2010 Mar 31 6:34 AM
Hi Farhana,
Can you please let me know the solution you applied to solve this problem. I am also facing this error in our project. I am facing this error at the end of integration model activation program RIMODAC2.
regards,
Shiv.