Skip to Content
0

Forward http request from Gateway to ERP

Jan 24, 2017 at 06:57 AM

58

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Krishna Kishor Kammaje
Jan 25, 2017 at 04:17 AM
1

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.

Share
10 |10000 characters needed characters left characters exceeded
Krishna Kishor Kammaje
Jan 25, 2017 at 09:40 AM
1

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)

Share
10 |10000 characters needed characters left characters exceeded
Werner Gerbert Jan 25, 2017 at 07:04 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Werner Gerbert Jan 27, 2017 at 10:45 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded