Skip to Content

Sending data from SAP Gateway to Middleware using ODATA

Hi ,

We have a Central Hub Deployment of Gateway .

We need to use REST based services for transferring data .

Our architecture looks like below.

SAP ECC-> SAP Gateway - > Middleware hosted on Microsoft Azure - > Magento (hosted on Microsoft Azure)

For eg, when a customer gets created in Magento, corresponding odata service is called, and the details are saved in SAP.

This happens normally like any OData service.

We have a requirement where in if we make any changes in SAP, the same has to be passed to Magento. A batch job runs every 1 hour or so to check what all customer data have been changed and the data needs to be pushed to SAP Gateway which inturn needs to push data to Middleware.

How can we achieve this scenario?

Thanks,

Archana.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 09, 2017 at 11:26 AM

    Hello Archana,

    I am not sure why you would want to push your changed ECC data through Gateway to your middleware. I would think that your flow could look like this where your batch job in ECC passes any customer changes on to your middleware that in turn calls a respective API in your Magento system: SAP ECC-> Middleware hosted on Microsoft Azure - > Magento (hosted on Microsoft Azure).

    Best regards

    Frank

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Archana Ramalingam

      Hi Archana,

      If you know how IDocs work in general, there is very little to learn to make this happen. Instead of using a TRFC port and a Type 3 RFC Destination, you use an XML HTTP port and a type G RFC connection (HTTP to external server). The settings should be quite obvious if you have ever worked with HTTP.

      Regards,
      Patrick