Skip to Content
0

How to fix the line length in EDI file

Nov 09, 2017 at 07:02 PM

46

avatar image
Former Member

Hi Experts,

The generated Outbound EDI file line length having more than 80 character length, but my client is asking less than/exact 80 character length.

I think this will achieve by using custom module, but i don't go with custom module.

Kindly request you to please advise. is there any possibility for achieving this.

810-file.png

Regards,

Ravi

810-file.png (63.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Ryan Crosby Nov 09, 2017 at 07:12 PM
1

Not sure of the purpose of such a request as any legitimate EDI parser should work fine as long as you send messages with the proper field and segment terminators. To answer the question, however, you would have to insert a custom module to insert a line feed or carriage return/line feeds into the payload.

Regards,

Ryan Crosby

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 10, 2017 at 04:07 PM
0

Hi Ryan,

Thanks for your valuable suggestions,

The Entire EDI file is correct except Line length.

is there any possiblities to acheive this, without using custom module.

Regards,

Ravi

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Ravi,

If the entire EDI file is correct then there should be nothing left to change as I do not believe any EDI standards specifications designate anything regarding how a text line of a file should be structured. If I had to guess someone is likely asking you to limit the length of the lines so the payloads will nicely fit into whatever GUI they use for EDI support on their end - probably some old green screen type of terminal. As far as how you could achieve this a custom module is your only option as you would have to add it to module chain after all the other necessary modules are called. Does such a module offer anything from your perspective and would it be reusable in any other scenarios - if you answer no to both of those questions then I would say it's probably not worth your effort.

Regards,

Ryan Crosby

0