cancel
Showing results for 
Search instead for 
Did you mean: 

EDI to XML Converter 1 Failing with message Expected ST segment at

0 Kudos

830-small.txt

asc-x12-830-004010-xsd.txt

edi-error.jpg

iflow.jpg

Hello,

Trying to convert X12 830 message to XML and then to JSON but it's failing at EDI to XML Converter 1 with the following error. Can you please advise? Apricate any help to resolve this issue.

Error Detailscom.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: Expected ST segment at: 13. The MPL ID for the failed message is : AGKIBlw2FnSkcsHtvbeVeqa6Nv_R

Accepted Solutions (0)

Answers (1)

Answers (1)

Ryan-Crosby
Active Contributor
0 Kudos

Hi Sirish,

Not sure if it has any impact on the converter, but ISA12 is incorrect - it should be 00401 for version 004010. I did find 00400 as a valid value but have never seen it used in correlation with version 004010. The second issue that I see is that your .xsd for the 830 structure doesn't appear to be generated from the integration advisor, which I do believe will cause a problem trying to convert to XML.

Regards,

Ryan Crosby

0 Kudos

Thank you Ryan. Is there any document on generating XSD from the integration advisor for given EDI document? Also What I read some where is HTTP adapter can't pass EDI to EDI to XML Converter? In other words what protocols I shell use to pass EDI documents to iFlow?

Ryan-Crosby
Active Contributor

sirishreddyg - I'm not aware of any limitation regarding the HTTP adapter for EDI conversion. As for generating the XSD you have to create a MIG in the integration advisor for the 830 message type version 004010 and set what segments, fields you will be using. Once that step is complete you will be able to export the .xsd and import it into your flow and test it.

0 Kudos

Thank you ryan.crosby

allysajohn
Explorer
0 Kudos

Hi sirishreddyg , may I ask have you found that if HTTTP adapter can't pass EDI to EDI XML Converter? I'm having the same error as what you were having. I am unable to generate XSD using MIG in integration advisor. Seems like my account dont have license for ASC12. I'm not sure the error is due to the protocols or is due to the XSD i'm using not coming from Integration Advisor. Right now, I generated it from SAP PIPO using B2B addon.