cancel
Showing results for 
Search instead for 
Did you mean: 

Getting data from SAP backend into Gateway Hub

nitesh_jain3
Active Participant
0 Kudos

Dear all,

I am new to Netweaver Gateway. In my landscape the IWBEP component has been installed in the Gateway Hub system. In my custom OData service i want to get the data from my backend SAP ERP system using a BAPI.

I have created my custom OData service with the relevant components and have implemented the service using the BAPI method. While implementing the service i referred to the BAPI method from the SAP ERP backend system using the RFC destination (ABAP connection i.e. connection type 3)  to the SAP ERP system created in my Gateway hub.

Now when i test the service, the service document and metadata XML are generated correctly. However when i test the entity set, i find that the data is NOT being extracted from the SAP ERP backend system.

What configuration/settings need to be maintained in the custom OData service so that the service refers to the correct SAP backend system? How does the gateway service determine from which system it should extract the data?

regards

Nitesh

Accepted Solutions (0)

Answers (3)

Answers (3)

SyambabuAllu
Contributor
0 Kudos

Hi Nitesh,

If you wants more information about deployments options go through this link it may help you.

http://help.sap.com/saphelp_gateway20sp05/helpdata/en/32/dee1aa6ceb440f9a6b6b946adc4f45/frameset.htm

Can you post Error log here.you can collect error log from using Txs "/IWFND/ERROR_LOG" or "/IWFND/APPS_LOG".

After that i can help you.

Thanks,

Syam

nitesh_jain3
Active Participant
0 Kudos

Hi Syam,

I am getting the following error message in the error log:

The RFC call was not successful because of system failure 'Function module "/IWBEP/FM_MGW_MED_LOAD" not found

(Error Msg No: /IWFND/CM_MGW000 )

regards

Nitesh


SyambabuAllu
Contributor
0 Kudos

Hi Nitesh,

Can you please look into this link.I think may it helpful of your error.

http://scn.sap.com/thread/3172579

Thanks,

Syam

Former Member
0 Kudos

dear nitesh,

Please check the below link for creating service in SAP Gateway system, we have used the same it is working fine.

http://scn.sap.com/docs/DOC-27405

regards

goudham

nitesh_jain3
Active Participant
0 Kudos

Dear Goudham,

Creating the service in the Gateway system is not an issue. Have you installed the component IW_BEP in your backend SAP ECC server? What is the gateway deployment scenario you have implemented?

regards

Nitesh

nitesh_jain3
Active Participant
0 Kudos

Dear all,

Further correspondence with an expert has revealed that to consume a BOR method successfully at run time from an SAP backend system (ERP in my case) it is mandatory to install the component IW_BEP in the backend system. Please note this is run time requirement and not a design time requirement.

Personally i am not satisfied with this framework requirement but cannot do much about it. A workaround is possible but that has its own overheads.

regards

Nitesh