on 03-08-2019 6:02 AM
Hi All,
I am using the function module RSPO_OUTPUT_SPOOL_REQUEST in my custom RFC and it is executing fine and getting output immediately. If i call the same RFC from ODATA service then FM RSPO_OUTPUT_SPOOL_REQUEST is executing but no printout is coming.
I observed in FM while debugging, we have one system function CALL 'RSPOAEPJ'. It is executing and getting printout when i call it from se37 level. But if i calling the same from odata service, then CALL 'RSPOAEPJ' is executing but not getting printout and not return any errors.
Please help me to resolve this issue.
Is there any setting required in SPAD if i am accessing the spool from external service like (OData , HTTP...)
Regards,
Surya J.
RSPO_OUTPUT_SPOOL_REQUEST takes the given spool request number and generates an output request. You can see then in SP01 transaction code.
As you said that the output request is successfully generated also in the OData context, the question turns to be an issue with the printing.
In SP01, look at the print status at the right of the output request, and take action accordingly. Search the forum if you have any doubt about the meaning of the status and which action is to be taken.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandra,
Output request is creating but not getting printout, and not showing any error in log file also. is any settings required in SPAD when executing the spool from RFC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simone,
I debugged the FM RSPO_OUTPUT_SPOOL_REQUEST. Inside this FM, we have one system call CALL 'RSPOAEPJ'. It is executing and getting printout when i call it from se37 level. But if i calling the same from odata service, then CALL 'RSPOAEPJ' is executing but not getting printout and return value of SY-SUBRC = 0.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sandra Rossi,
Thank you for quick response.
All parameters are same in both cases. And i have default parameter in SU01 as 'SD03'. In both cases i am using my userid only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.