We've loaded a custom FM into SAP ECP which is RFC enabled.
But when we call it from outside of SAP, we get an error:
No RFC authorization for function module Z_XXX.
The auths have definitely been loaded for Object = S_RFC, RFC_NAME = Z_XXX.
The same happens with build in function modules when they are called from external tools. Running these FM's from within SAP SE37 does work and does provide results even with the same user. It works fine in ECC and S4, it's just in ECP that it does not work.
Are there any additional Authorizations required for call it externally for ECP?