cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress apostrophe which is present in the data of EDIFACT file

Former Member
0 Kudos

HI All,

We have inbound interface in PO system where PO picks Orders96A EDI file from FTP folder and posts as IDoc to ECC.
We use EDIFACTConverterModule in the channel.

The customer use apostrophe in the data of segment and PO converter module is unable to convert it.

For EX: The file has below segment :

NAD+DP+29******::ZZ++A****CO.+123 XYZSTU+BOYLE'SHEIGHTS+++AA'

In this segment BOYLE'SHEIGHTS is the data which also has apostrophe in it and File sender channel is throwing below error while trying to pick the file from FTP folder.

Error: java.lang.RuntimeException: Error in conversion of ORDERS/96A- Edifact-Document at character 467 XML:java.lang.UnsupportedOperationException: Cannot find next state and action for current state "B2B,DTM" and segment "SHEIGHTS"

I understand that apostrophe is the segment separator in EDIFACT format and hence the error is occurring.

Is there any way where we can suppress the apostrophe which is coming in the data and process the file for further steps?

Thanks
Sowmya S

Accepted Solutions (0)

Answers (1)

Answers (1)

Dimitri
Active Contributor
0 Kudos

Hi,

As far as I know, you can define delimiters in the UNA segment.

But you need to offer a correct EDI message to your SAP PO system. If not, the message will not be parsed and you will receive an error like you.

Advice: please ask your partner to offer correct EDI messages.

Kind regards,

Dimitri