Hi MarcusU-8790,
Based on the documentation, the QUERY_TABLE
parameter is a required parameter for the SAP table connector interface. It is used to specify the name of the table to be read. If your custom RFC function module does not use this parameter, you may encounter errors when using it with the SAP table connector interface.
However, there may be a workaround for your use case. You can try creating a custom RFC function module that takes the QUERY_TABLE
parameter as input, but ignores it and instead uses the parameters that your function module requires. This way, you can still use the SAP table connector interface to call your custom RFC function module.
Here is an example of how you can create a custom RFC function module that takes the QUERY_TABLE
parameter as input, but ignores it:
- Create a new RFC function module in your SAP system using transaction code
SE37
. - In the
Import
tab, add the parameters that your function module requires. - In the
Export
tab, add the fields that your function module returns. - In the
Tables
tab, add the tables that your function module uses. - In the
Attributes
tab, set theRFC-enabled function module
checkbox. - Save and activate the function module.
Now, when you call this custom RFC function module using the SAP table connector interface, you can pass in any value for the QUERY_TABLE
parameter, and it will be ignored by the function module.
I hope this helps! Let me know if you have any further questions.