Skip to Content
avatar image
Former Member

How to Convert IoT data via OData into an IDoc in SCI/HCI

Hello All,

I am working on a process where I need to convert messages coming from IoT service in SAP Cloud Platform into an IDoc to post into an on premise ECC system. I am using OData adapter to fetch the messages from IoT with a pull mechanism. In the next step I would need to convert the OData(Edmx) into XML/XSD and then map that into an IDoc. But I am not able to achieve this. I am not sure what artifacts (splitter, content modifier) need to be used and how will be xpath if we are using this. My iFlow runs with status completed where as I don't see a trace what is happening after the pull from IoT service even though the trace is in debug mode.

How should I proceed. Or is there a better way to get IoT data into my HCI and convert the same to an XML other than using OData adapter.

Please help me with your inputs. Thanks in advance.

Regards

Amitabh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 12, 2017 at 06:26 AM

    Hi,

    apart from using the OData API you can also connect to the database directly. Maybe this is an option for you:

    https://help.sap.com/viewer/7436c3125dd5491f939689f18954b1e9/Cloud/en-US/7264b5461a724c10acb71286e85d75ea.html

    Best,

    Thomas

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Amitabh,

      Its more like a mapping error where context or data of the nodes must handle properly in the mapping so kindly check on the target and source root node occurrence as well as run time mapping namespace once.

      - Chandan