Skip to Content
avatar image
Former Member

Can SAP UI5 consume data directly from SAP PI?

Hello Experts,

Is there any way for SAP UI5 consume the data directly from the SAP PI without help of SAP BPM or EJB, those data are coming from non SAP system.

Thanks,

Sid.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 22, 2017 at 08:06 AM

    Hey,

    Once you get your data into json the rest is just technicality of how to consume it on SAPUI5 front end.

    To elaborate on Irfan Gokak point, have a look at a basic flow example here:

    https://blogs.sap.com/2016/01/15/example-of-sender-rest-adapter-in-pi-74/

    And take note of the json fine tuning and issues here:

    https://blogs.sap.com/2016/01/13/rest-adapter-in-sap-pipo-enhanced-xmljson-conversion/

    Once you have the desired output in a json format you need, all that is left is to consume it, for example as a URL, like here:

    https://archive.sap.com/discussions/thread/3494081

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 22, 2017 at 07:34 AM

    Hi,

    If it's possible to create REST API's then you can consume through AJAX request.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 23, 2017 at 11:37 AM

    Hi ,

    Yes it is possible to read data directly from PI . Data from PI needs to be exposed via webservice and then you can use Ajax request to consume data

    Add comment
    10|10000 characters needed characters exceeded