AnsweredAssumed Answered

EDI 850 X12 Split MSG segment when length > 70

Question asked by radhika.vijayakumar602856 on Jun 1, 2018

I am working on an Inbound Purchase Order Integration and stuck at the following situation. The message segment in EDI profile can have a maximum of 264 characters, but SAP has a limit of 70. I need to split the line if it has more than 70 characters and write to the same SAP field. Can someone pour some insight on how this can be achieved?

 

Below is an example:
BEG*00*NE*12345**20180326~
DTM*002*20180327~
N1*BS*qqqqq*11*12345~
N1*SU**11*thy5667~
MSG*SUBCONTRACTOR. CONSEQUENTLY, THE PARTIES AGREE THAT, AS APPLICABLE, THEY WILL~
MSG*ABIDE BY THE REQUIREMENTS OF 41 ABC 60-1.4(Q), 41 RAK 60-300.5(A) AND~
PO1*1*5*EA*230.3~

 

 

What I need is
BEG*00*NE*12345**20180326~
DTM*002*20180327~
N1*BS*qqqqq*11*12345~
N1*SU**11*thy5667~
MSG*SUBCONTRACTOR. CONSEQUENTLY, THE PARTIES AGREE THAT, AS APPLICABLE, T~
MSG*HEY WILL~
MSG*ABIDE BY THE REQUIREMENTS OF 41 ABC 60-1.4(Q), 41 RAK 60-300.5(A) AND~
PO1*1*5*EA*230.3~

 

Thanks!

Outcomes