2009 Oct 12 10:35 PM
Hi Gurus
I am using RSPO_R_RDELETE_SPOOLREQ to delete the spool after converting the spool from pdf and to email.
I am having a dump at
CALL 'RSPOARNS' ID 'ID' FIELD spoolid
ID 'FORCE' FIELD 'X'
ID 'RC' FIELD rc.
code of the FM. It say POSTING_ILLEGAL_STATEMENT, I have authorizations to delete the spool but, I am not finding a solution to delete the spool.
Do we have any other option to delete the spool?
Thanks
J@Y..
2009 Oct 13 5:44 AM
Hello
I at one time tested this module.
Problem was in that spool number number was sent as '5.521'. It this did not delete spool and returned RC = 12.
When I became to send as '5521' (without delimiter) all were ok.
2009 Oct 13 5:44 AM
Hello
I at one time tested this module.
Problem was in that spool number number was sent as '5.521'. It this did not delete spool and returned RC = 12.
When I became to send as '5521' (without delimiter) all were ok.
2009 Oct 13 5:22 PM
Well my spool id number comes correct and there is no type miss match... no characters in between
it brings the spool properties with RSPO_GET_ATTRIBUTES_SPOOLJOB correct with the date time and all the details correct..
what are those commands called ? CALL 'RSPOARNS' ID 'ID' FIELD spoolid
ID 'FORCE' FIELD 'X'
ID 'RC' FIELD rc.
Or is there any other FM / Method to delete the spool id ?
2009 Oct 13 5:29 PM
Hello J@y,
The problem occurs with just this particular spool or you are not able to delete any of the spools?
Vikranth
2009 Oct 13 5:33 PM
2009 Oct 13 5:37 PM
Looks like there are quite few FMs' to delete spool requests. Did you try with these too?
RSPO_SPOOLREQUEST_CLEANUP
RSPO_IDELETE_SPOOLREQ
RSPO_RLIST_DELETE_SPOOLREQ
2009 Oct 13 5:42 PM
>
> RSPO_SPOOLREQUEST_CLEANUP
>> this is not my purpose to delete all spools
> RSPO_IDELETE_SPOOLREQ
>> this again calls the FM I am using, so cannot use it
> RSPO_RLIST_DELETE_SPOOLREQ
>>No documentation avaliable, I am feeling this is used to edit the spool from particular column
2009 Oct 13 5:44 PM
2009 Oct 13 6:00 PM
Yes char10
DATA: delete_id TYPE tsp01_sp0r-rqid_char.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = delete_id.
I am getting the spool id from Smartform Interface job_output_info-spoolids[]
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB' for OTF
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF' OTF to PDF
after sending the email
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
Edited by: J@Y on Oct 13, 2009 10:16 AM
2009 Oct 13 6:29 PM
Are you creating the spool from a recently transported SMARTFORM?
Rob
2009 Oct 13 6:53 PM
this SF has been in sandbox quite a long time from now, without fixing this I cannot Transport and see if it works in other environments.
2009 Oct 13 7:04 PM
Are you getting a dump? Error message? Express mail?
Maybe there's a note.
Rob
2009 Oct 13 7:47 PM
Express mail.
I am suspecting I am in a update task, and trying to delete it... when I pick some other spool and trying to delete it, that gets deleted, and also figured out that the business will not do print immediate during, output generation.. so chances of getting this dump is very very less.
Thank you very much for your time Gurus.