cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Error: Function module /IWBEP/FM_MGW_READ_ENTITYSET

0 Kudos

Hi,

     We have a central hub deployment for our Netweaver Gateway, i.e. our Gateway system is on a different box/instance as compared to our back end. We have recently transported our settings and IMG configuration to QA. Our System alias in SAP IMG under

SAP NetWeaver > Gateway > OData Channel > Configuration > Connection Settings > SAP NetWeaver Gateway to SAP System -> Manage SAP System Aliases

has the option, "For Local App" selected. The option "Local GW" has not been selected. On our Gateway system we have the GW_CORE, IW_FND and IW_BEP component installed. The IW_BEP component has not been installed on the back end. The RFC invokes a Function module present in the Back end. This setup works in our development environment and we are able to execute oDATA services and get meta data as well as results. However in QA when we execute the oDATA Services we are getting the error message

"RFC Error: Function module /IWBEP/FM_MGW_READ_ENTITYSET"

What is the issue as far as our oDATA services go? What can be the reason that when we invoke the oDATA Services we get the above mentioned error? Any help would be appreciated?

_____________________________

Have a nice day

Amardeep Verma

Accepted Solutions (0)

Answers (1)

Answers (1)

kammaje_cis
Active Contributor
0 Kudos

Hi Amardeep,

This has to be a problem with your system alias settings.

To explain the error message: IW_FND thinks that IW_BEP is present in your backend system hence tries to invoke RFC /IWBEP/FM_MGW_READ_ENTITYSET in your backend and fails since it cannot find it.

You can see what system alias was used while registering your service. Goto /IWFND/MAINT_SERVICE, select your service, on the bottom right window it shows the system alias used for registering. Double click (or in the IMG) on it to see the configurations for that system alias and ensure that 'Local App' is checked.

Thanks

Krishna

Usha
Advisor
Advisor
0 Kudos

Hello Krishna,

As per the above issue if we have the IW_BEP component on the Gateway box we need to check the "local APP" check box right?

How about the "local GW" check box?  If Using Central hub environment

could you please clarify my above query?

Thanks,

Usha

kammaje_cis
Active Contributor
0 Kudos

Edited:

Please refer to

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Usha,

If OData provider class is located in backend,

+ IW_BEP should be installin on backend system

+ System alias should point to the backend system without any "Local GW" and "For Local App" flags.

Regards, Masa

SAP Customer Experience Group - CEG

AshwinDutt
Active Contributor
0 Kudos

Hello Usha,

2 things are here :

1. Hub Deployment ( Development in the BackEnd )

Here ur DPC & MPC classes will be in the BackEnd system and ur service is registered in GW Hub system.

For this below would be the System Alias setting :

Local GW - Check Box -> unchecked

For Local App - Check Box -> unchecked

2. Hub Deployment ( Development in the Hub )

Here ur DPC & MPC classes will be in the GW Hub and service registration will also be done in the GW Hub only.

For this below would be the System alias setting :

Local GW - Check Box -> unchecked

For Local App - Check Box -> checked

Regards,

Ashwin