Skip to Content
author's profile photo Former Member
Former Member

How to get data from a specific backend Client ?

I have a ODATA service built in a Backend ECC system( IW_BEP) and registered in the SAP Gateway Hub (SAP_GWFND). The backend system has 2 seprate clients 100 and 200. I have created both the SAP system aliases and added them to the service after registering it.

With the MOC concept if the test the service as /NAME_SRV;mo/entityset I get data back from both the clients as expected. None of the system aliases are set as default systems.

What I would really like to do is get the data from 1 specifc client even when 2 systems are specified.

Is there a way to achieve this wihout creating another client in the SAP gateway hub? I tried using the url as below but I still get data back from both backend clients irrespective of what url I use.



Thanks in advance!

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Sep 11, 2014 at 10:32 PM

    You can use the filter SAP creates for MOC.

    /NAME_SRV;mo/<entityset>?$filter=SAP__Origin eq '<systemalias1>'

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Krishna Kishor Kammaje

      Hi Krishna,

      I am also working on POST operation using MOC. and I included "SAP__Origin" property in request body. But it is giving an error. Could you please help me??

      Thanks & Regards,

      Capture1.PNG (22.6 kB)