on 05-23-2022 1:46 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.