We are trying to execute a SAP R/3 Function Module [b]RSPO_DOWNLOAD_SPOOLJOB /b from a dataflow. When it is executed throws an error stating:
for couple of times and finally throws ACESS Violation error and quits.
Warning: RFC call error for function <RSPO_DOWNLOAD_SPOOLJOB>. It may be due to disconnection from SAP. The new SAP connection will be established.
Finally, it has nothing to do with the access issues as the error states.
It seems that the FM RSPO_DOWNLOAD_SPOOJOB is asking for the SPOOL related parameters along with the required ones unlike it does not ask if we execute it in SAP Logon.
Need to work around for that like writing a wrapper around FM to mask the parameters which are not required.
Hi, I am facing the same issue and would like to know how, in detail, you write the wrapper to workaround this.
At the same time, anyone out there know how to workaround this in the function call in dataflow itself? If possible, I want to prevent writing a wrapper.
There is a work around by developing a ABAP Report which in turn calls the Functio Module with the required parameters for execution only leaving the unnceccessary ones.
As of we haven’t got any other lead in this direction, will keep you posted if we find any updates or please update us accordingly.
I am playing around a solution to this without having to write a wrapper. This involves writing a custom ABAP program that can mask out these parameters but you have to pass in the function name. (some sort of a dynamic function call)
I am looking at function rspo_download_spooljob in SAP. Would u show me the wrapper that you have written and I can explain to you what i mean.