on 09-26-2014 11:30 PM
Hi,
Could anyone help me in resolving the below..
We are getting an issue in the below scenario. EDI Separator is not splitting the ISA segments as exepected in the below scenario.
X12 850 EDI document is available in the source folder with 4 ISA segments
First 3 ISA Segments are having Segment Delimiter as "~"
Last ISA segment is having "LF" as delimiter.
In the above case when EDISeparator is splitting the ISA segments it is considering only the first 3 and the last one is ignored. ECC is receiving the orders from the first 3 segments.
But when the EDI Document is changed to have the ISA segment with delimiter "LF" as first segment then EDISeparator is able to seperate all the ISA segments and ECC is receiving the orders available in all the ISA segments.
Could someone please let me know if there is any note for the above issue or is it something that is not done correctly in the EDISeparator receiver configuration.
Thanks in adva
Hi,
Looks like your input data is wrong.
As per EDI standards, ISA and GS segments occurance should be one / file, ST segment can repeat multiple times.
You can ask your customer to send EDI 850 X12 file as per EDI standards, Still if they said no, at least you can ask them to send last ISA segment delimiter as "~" .
No need to change manually.
Thanks & Regards,
A.Neelima.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neelima,
Thanks for the response.
Data is collected from multiple partners and maintained in FTP server. So each file can have multiple ISA segments with different delimiters. This is working when the ISA segment with Line Feed is available at the beginning of the file but not in any place else.
So note sure if this is limitation in EDISeparator.
Thanks
Hi,
Got you.
Please check SAP Note: 1975469.
Symptom:
When X12 input with multiple X12 message starts with spaces before ISA segment or
has linefeed or carriage return and the message is received in EDI Separator
the segment is not recognized and fails giving exception
java.util.NoSuchElementException
Reason and Prerequisites:
EDI Separator splits X12 message by parsing message in Tokens. If the ISA segment
starts with space or has line feed or carriage return in between the token is
not recognized and causes the exception.
Solution: Please download the patch from Service market place and apply the patch.
Refrence link : SAP Note 1975469 - Spaces or Linefeed between ISA segment causes excpetions
Hope it will resolve your problem.
Thanks & Regards,
A.Neelima.
Hi,
I quickly checked the message specifications.
Are you sure the content is correct? Do you have an example?
Kind regards,
Dimitri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimitri,
Thanks for the reply.
Attached is the file i'm testing with. I don't see any issue with the content.
Only the first 3 are separated and transferred to ECC and the last ISA segment is ignored from the attached file. But if i make the last ISA as the first then all order from all 4 ISA segments are transferred to ECC.
I don't see any special or hidden character also in the file.
Thanks in Advance
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.