cancel
Showing results for 
Search instead for 
Did you mean: 

Forward http request from Gateway to ERP

wgerbert
Explorer
0 Kudos

Hello,

I have an existing service in SICF in our ERP System (Not an odata Service).

Now I want to create a new Service in our SAP Gateway Server to which I send my http request.

I then just want the Gateway to forward the request to the existing Service in my ERP. What do I have to do?

Thanks in advance

Werner

Accepted Solutions (0)

Answers (4)

Answers (4)

kammaje_cis
Active Contributor

When you already have a Gateway service, why do you want to call an sicf service hosted on ECC?

I would rewrite the logic in SICF handler and fit it to the Gateway service, so that I have only one service. (retire the SICF service)

kammaje_cis
Active Contributor

Technically this is possible, but I do not think it is the right architecture.

Here is how to achieve it.

- Your Gateway service on Gateway system should be implemented(have the *DPC_EXT class) in the Gateway system itself. (I.e. Hub architecture with coding/DPC class on Gateway).

- Form within the DPC_EXT class on Gateway, use CL_HTTP_CLIENT classes to consume the SICF service available on ERP. Example here.

wgerbert
Explorer
0 Kudos

Thank you for your advice.

I your suggestion is unfortunately not an option for us. We probably have to go with the first alternative.

br

Werner

wgerbert
Explorer
0 Kudos

Hello Krishna,

thank you for the link. I think that can help solve my problem. But you wrote that it is probably the wrong architecture.

Could you explain what in your opinion would be the right choice?

Thanks

Werner