Skip to Content
avatar image
Former Member

How to fix the line length in EDI file

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 09, 2017 at 07:12 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2017 at 04:07 PM

    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

    Add comment
    10|10000 characters needed 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