Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Read data of XML file in SAP C4C

Hi,

I am new to C4C PDI development. I have a requirement to read data from XML file (which do not follow the XSD format of custom business objects) and populate it in custom business objects (developed by me) of C4C system.

I know if XML follows the XSD (generated from custom business objects of C4C system) then populating XML data in C4C is possible using Service Integration. However, I want to know if XML don't follow XSD format of custom business object (as explained above), how can we read and populate this data in the C4C system.

Thanks & Regards,

Nitin Jain

replied

Hi Nitin,

I think this is not possible. You can of course upload such an XML as an attachment and also read and access it with PDI, but PDI does not deliver the libraries to parse and analyze the XML structure. The only way to really read an XML is to send it to PDI via Interface.

If you have PI in place, PI might be capable of reading the file, convert it to a format PDI can understand and send it into C4C.

Best Regards,

Stefan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question