Hi Experts,
I am facing an issue while converting my EDI document into String output.
When I am not setting any value for Segment terminator in “convertToString” service then output string is coming like
UNH+1234567+IFTMIN:D:01B:UN
BGM+220++9
CTA+EB+test.oe
DTM+4:20130304010705
DTM+63:20130406010000
but when i am using segment Terminator as ’ then output is like
UNH+1234567+IFTMIN:D:001B:UN’BGM+2200++9’CTA+EB+test.oe’DTM+4:20013003004001007005’DTM+63:2001300400600100000000’
There is no line feed when using Segment Terminator as '.
I need to have segment terminator in my output along with line feed.
Same issue is with addICEnvelopeEDIFACT , when i using record delimeter as line feed only then next segment is coming on next line else not.
e.g.
UNB+UNOA:1+OOOE:ZZZ+RRRE:ZZZ+130304:2238+17928’UNH+1234567+IFTMIN:D:01B:UN
Could you please help me out.
Thanks,
Amit