cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC Adapter with Z Remote Functions - Getting Exception "Error Getting Function"

sulbhkalra
Explorer
0 Kudos
1,217

Hi Team,

In production CPI tenant, while calling RFC adapter to SAP on-prem ECC with standard BAPI from HTTP endpoint, we are getting expected result whereas when we use custom Z FM (Remote Enabled) we are getting "Error Getting Function".

We tried multiple Z FMs which are remote enabled, all are giving same error.

Further to note same Z Function with same input in lower environment(Test tenant and development system) is working as expected.

I am using very simple RFC to demonstrate issue in attachment - failed-rfc.jpg

Thanks

Sulbh Kalra

Accepted Solutions (0)

Answers (2)

Answers (2)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Sulbh,

Instead of prefix put actual RFC name in cloud connector and see.

Regards,

Sri

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Sulbh,

Could you please share screenshot of configuration from SAP CPI,SAP BTP ( Destination ) and SAP Cloud Connector,

Also please try to generate wsdl of your BAPI using below pattern to see if your RFC connection is working.

https://<backend_host>:<backend_https_port>/sap/bc/soap/wsdl11?services=<function_module_name>;

Regards,

Sri

sulbhkalra
Explorer
0 Kudos

Thanks shriprasad.bhat for looking into issue.

Please find attached screenshots for reference. Everything looks in place from my side.

Regards

Sulbh Kalra

destscc.jpg wsdl.jpg

fethi
Explorer
0 Kudos
Hi, We are also facing same issue ,if you resolve above issue ? Please share your experience while resolving above error. Thanks,