Skip to Content
0
Jul 01, 2013 at 10:10 PM

Feeding new line in EDI string

289 Views

Hi Experts,

I am creating EDI file in receiver side but it is coming in a single string with \n as end segment indicator. Eg.

ISA~00~ ~00~ ~ZZ~61870BBG ~ZZ~BNYMELLON ~130627~0728~U~00501~100000009~0~T~:\nGS~RA~61870BBG~

I need this like

ISA~00~ ~00~ ~ZZ~61870BBG ~ZZ~BNYMELLON ~130625~1715~U~00501~100000029~0~T~:

GS~RA~61870BBG~BNYMELLONPAY~20130625~1706~000000029~X~005010

PI version is 7.31 (single stack).

Please suggest.

Thanks,

Anirban