Skip to Content

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 18, 2015 at 11:16 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 16, 2015 at 09:09 PM

    Hi Nitin

    Did you ever find an answer to this?

    -ginger

    Add comment
    10|10000 characters needed characters exceeded