Skip to Content
0

Integration Between SAP ECC and SAP UI5 server using REST adapter

Nov 09, 2016 at 07:03 AM

198

avatar image

Hi Team,

This Integration is between SAP ECC and SAP UI5 via SAP PI 7.4 server in a bidirectional data flow by means of RFC BAPI-XML conversion synchronously using RFC and REST adapter within internet.

Open PO's are send from SAP ECC to UI5 and gets the acknowledgment back i.e response from UI5 to SAP ECC via SAP PO server. I'm stucked up with REST adapter config on the proxy settings and URL pattern.

dataflow.jpg (53.8 kB)
10 |10000 characters needed characters left characters exceeded

Team,

Please provide your valuable inputs and suggestions. Many Thanks.

0

Hi Rajesh,

The ECC system will not be able to deliver a message via PO to UI5. UI5 is a front-end framework and not a system - for something like this a mobile client running a UI5 application would have to call out to PO to execute a service and then pull the data back into the UI5 application for processing. Initiating it from the back end side would require some type of push notification setup via asynchronous communication (which I'm guessing would still require the mobile client to poll for any new notifications when the UI5 application is initialized).

Regards,

Ryan Crosby

1

Hi Ryan,

So I understand ECC system will not be able to deliver a message via PI to UI5 synchronously.

But how about UI5 to ECC via PI using REST services. Below link for your info.

https://blogs.sap.com/2014/12/18/pi-rest-adapter-exposing-a-function-module-as-restful-service/comment-page-1/#comment-352946

Please help on this. I find very less information and also not appropriate.

0

Hi Rajesh,

The URL pattern piece would include the information required to key in on the PO information that you need. I'm assuming since it's PO stuff that maybe the username or userid of the client is what you would want to use there. From there it is a matter of populating all the necessary information into the BAPI interface that you intend to use to gather the response data.

Regards,

Ryan Crosby

1

HI Ryan,

Should we need to do only through NWDS? i guess both ways are possible i.e SAP ECC as source or UI5 s source point.

So in this receiver case will it be like below

http://host:port/rest/v2/query/customer/67 and how about using proxy settings in rest receiver channel when delivering the xml or json to SAP UI5

0

Hi Rajesh,

You would need to complete your integration flow for NWDS and then invoke that URL via a UI5 application to execute the service call. Then you would read the response back into the UI5 application so that the data can be passed to the model and the view be updated accordingly.

The proxy settings are for a rest receiver which you cannot invoke from ECC -> UI5 client. The invocation should come from the UI5 client -> PO -> ECC so the REST channel should be a sender channel.

Regards,

Ryan Crosby

1
* Please Login or Register to Answer, Follow or Comment.

0 Answers