cancel
Showing results for 
Search instead for 
Did you mean: 

Query in CPI Palette EDI to XML converter

dineshhome1361_7
Participant

Hi Team,

I have used standard palette, EDI to XML converter. Problem now here is this is asking for XSD schema to convert the data.

SAP Blog says the schema name has to be in this format "ASC-X12_810_004010.xsd"

Do we have this XSD schema in Integration Advisor or we need to do something from our end to download the schema files for a given EDI scenario

edi-to-xml-converter-palette.jpg

Please confirm

Thanks,

Dinesh

Accepted Solutions (1)

Accepted Solutions (1)

dineshhome1361_7
Participant

Hello Everyone,

After a long search, I got the answer to my question myself. If anyone looking for the answer , Here is the solution

Go to Integration Suite --> Integration Advisor --> Message Implementation Guidelines(MIG) --> Export --> SAP Cloud Integration Artifacts

This will give you a zip file which has your XSD

Note: (Under MIG, you need to select your required EDI standard & structure. for instance if you have invoice scenario it will be INVOIC in UN/EDIFACT standard & 810 in ANSI X12 standard)

Cheers,

Dinesh

Answers (1)

Answers (1)

daviddasilva
Active Contributor
0 Kudos

Hi Dinesh,

You will need to provide the schema yourself.

The xsd can be derived if you have an example payload for example by using some software or an online free tool such as https://www.freeformatter.com/xsd-generator.html.

The schema will describe the fields available in the payload and you need to let CPI know what those fields are by uploading an xsd file.

An example schema is attached for your information (as a text file because I cannot attach xsd files here so you should save it as an xsd file)

Kind regards,

David example-schema-v1.txt

dineshhome1361_7
Participant

Hello David,

Everyone knows if we have XML it is easier to get XSD using online converters as you highlighted

Could you be more specific to the question , My Query was mainly the input file is coming in flat file(.txt) how do we convert this to XML

Thanks,

Dinesh