cancel
Showing results for 
Search instead for 
Did you mean: 

Edi to XML Converter using CPI

allysajohn
Explorer
0 Kudos

Hi everyone!

I'm currently exploring ways on how to convert EDI to XML using SAP CPI. However, I am currently stuck at this error. Error Details

com.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 : AGQIM9OyAfMWeURgyAknNaaH9wKq .

Kindly find my iflow as below.

First, I am not sure what does the error means. I am using sending the payload as per what had given from SAP Documentation here. I think there is no issue for the payload. I also understood that the XSD must be generated from ICA. However, I am using a trial account which dont have ASC12 license. Currently, the XSD is generated from SAP PIPO.

My question is

1) does the error is due to the payload? ST segment seems right to me

2) Would generating XSD from SAP PIPO using EDI Content Generator would have different from ICA. Does anyone has sample of how XSD generated from ICA looks like?

JulianoRomanato
Product and Topic Expert
Product and Topic Expert

Hello allysajohn.

How are you? I have excluded the Tag "SAP S/4HANA Cloud" and included the Tag "SAP S/4HANA Cloud Extensibility" for this question, as Integration is related to Extensibility.

Regards.

Juliano Romanato.

allysajohn
Explorer
0 Kudos

Thank you Juliano!

TamasFodor
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

We helped you to accept the answer, since there were no updates after 7 days. You can unaccept it anytime if you have further questions.

Kind regards,

Tamas

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

The error is clearly saying it is a data or the EDI file segment issue. You do not have the right/complete EDI document. You may want to try removing the new line characters in the EDI file too. Sometimes, that could cause an issue as well.

Answers (0)