Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Remote function call from Gateway service operation.


We have developed a Gateway service completely using SEGW (Service builder). We are trying to call a RFC in a remote Backend system to get data while the service is executing from the Gateway system (IW_BEP installed in Gateway hub).

While doing the mapping (using mapping tool of SEGW) we had mentioned the Data source to be remote and gave the RFC destination of the remote system (this is also visible in the ‘service implementation’ details of SEGW).

However during the runtime we get an error saying RFC could not be found, which means that the RFC is been searched in the local Gateway system where it does not exist. We even did a runtime debugging of the Data Provider classes’ Get Entityset operation and found that the destination for remote call (indicated with lv_destination in the auto generated code) does not return anything and hence the RFC is been executed in the local system where it does not exist.

Is there any special configuration/BADI implementation, to be done to call a RFC in a remote system other than the one done while mapping in SEGW.

Thanks a lot for your attention and help.



Former Member replied

Hi Avishek,

Local Gw check box can be ignored for your scenario,

that is used for test scenarios,refer to the below link

Local APP check box needs to be checked when you want  BEP to use RFC destination to call

RFC from remote system.

Please check the Localapp check box.

Sorry for the confusion in the previous response.

Best Regards,


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question