Author |
Message
|
Lalitha |
Posted: Thu Feb 17, 2005 6:36 am Post subject: EDIFACT Message Segment contains an extra Delimiter |
|
|
Newbie
Joined: 17 Feb 2005 Posts: 3
|
I am trying to convert an XML message to EDIFACT,
I am getting an Extra delimiter '+' apart from the Group Terminator "'".
UNB+JDJDD:1+120307+ABC33883'+
ORG+LH'
The " + " at the end of UNB segment is the problem.
I cheked all the physical propeties.Not getting any clue of where it could be wrong. |
|
Back to top |
|
 |
Alison Swift |
Posted: Thu Feb 17, 2005 9:46 am Post subject: Extra delimiter or missing segment header? |
|
|
Newbie
Joined: 17 Feb 2005 Posts: 3
|
Could it be that, rather than having an extra delimiter, you are actually missing the start of the next segment? i.e. perhaps your text should read:
UNB+JDJDD:1+120307+ABC33883'
UNG+ORG+LH'
(or other segment header your expecting?)
Alternatively (if you are using a custom parser to generate the EDIFACT, rather than a message set), check the code that is adding the separator characters at this point.
Hope this is helpful. |
|
Back to top |
|
 |
Lalitha |
Posted: Thu Feb 17, 2005 9:55 pm Post subject: Only Message Sets are being used |
|
|
Newbie
Joined: 17 Feb 2005 Posts: 3
|
I am using only message set and no custom parsers.
As u have mentioned, how to have the start of next segment different from the data elements, other than metioning in the physical properties as follows
Group Terminator <EDIFACT_GROUP_TERM>
Delimiter <EDIFACT_DS>
for the segment starting with ORG Tag below
UNB+JDJDD:1120307:ABC33883'+
ORG+LH'
Pls let me know if need to have something additional. Thanks |
|
Back to top |
|
 |
Alison Swift |
Posted: Fri Feb 18, 2005 1:42 am Post subject: |
|
|
Newbie
Joined: 17 Feb 2005 Posts: 3
|
The only thing I can think of (note I'm not an expert on message sets) is to look at whether you are terminating a group or a segment
The separation/indicator characters in EDIFACT should be of these types (with my guesses as to what yours are)
1. Sub-element separator :
2. Element separator
3. Decimal notation
4. Release Indicator
5. Segment terminator
Your message set may add others, to augment what EDIFACT does. |
|
Back to top |
|
 |
Alison Swift |
Posted: Fri Feb 18, 2005 1:46 am Post subject: |
|
|
Newbie
Joined: 17 Feb 2005 Posts: 3
|
The only thing I can think of (note I'm not an expert on message sets) is to look at whether you are (1) terminating a segment correctly or (2) terminating a group instead.
(1)
The separation/indicator characters in EDIFACT should be of these types (with my guesses as to what yours are)
1. Sub-element separator :
2. Element separator +
3. Decimal notation
4. Release Indicator
5. Segment terminator '
If your 'group terminator' is the segment terminator above, and your 'delimiter' is the element separator, then you don't need both - you just need to terminate the segment.
(2)
Alternatively, your message set may add other separation/indicator characters, to augment what EDIFACT does. It may include a group terminator (which terminates a group of segments). |
|
Back to top |
|
 |
Lalitha |
Posted: Fri Feb 18, 2005 2:00 am Post subject: Problem Solved |
|
|
Newbie
Joined: 17 Feb 2005 Posts: 3
|
The Edifact property of the Complex Type had both Delimiter and Tag data seperator.
I removed the Delimiter... It works fine now.
Thanks for the help |
|
Back to top |
|
 |
|