Hi Christian
Not my area of expertise, but I do know we have remote enabled some FMs in our FM and we support custom BAPIs and rFM.
A search pulled up some recommendations - here's one:
https://community.sap.com/t5/technology-q-a/rfc-enabling-a-function-module/qaq-p/962058
Well you can do it through attributes tab. There is a radio button for this but keep in mind a few things about RFC function calls, as you may have to change the function code a little bit
1: Certain abap statements are not allowed in RFC functions such as 'Leave'
2: If the orignal function is throwing Exceptions, it is better to return the exceptions in a 'Return' table for your RFC enabled function.
3: All your import and export parameters must be passed by value.
I would double check with your Basis team and if everything checks out, open a support ticket.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
------------------------------