# TN adds unwanted UNE segment to EANCOM document

**URL:** <https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [July 27, 2005, 12:31am UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400 "2005-07-27T00:31:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [July 27, 2005, 12:31am UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/1 "2005-07-27T00:31:35Z")

</div>

My flow service generates and submits an EANCOM D96A envelope. TN processes the payload and creates individual ORDRSP documents. The envelope has no UNG/UNE group segments. The ORDRSPs have a UNE segment I don’t want. They do not contain a corresponding UNG segment in the header. I’m using TN 6.1. Has anyone seen this? Thanks,

Tim

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [July 27, 2005, 2:09am UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/2 "2005-07-27T02:09:34Z")

</div>

Tim,

If no UNG segment then having UNE (Trailer)is not a valid message.Is it not giving validation error in TN?

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [July 27, 2005, 2:21am UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/3 "2005-07-27T02:21:29Z")

</div>

It is strange, but I get no validation errors or any other errors. There’s nothing in the server log (log level 4) or error log either. My EDI analyzer software flags it as a non-fatal error and ignores it, but I’d like to correct it if possible. Could the template be somehow corrupt? Thanks,

Tim

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [July 27, 2005, 2:47am UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/4 "2005-07-27T02:47:03Z")

</div>

Apparently, no error is thrown because doing a convert to values for the ORDRSP document type causes the envelope segments to be dropped, including the bad UNE. Not sure why TN is adding that orphan segment, but I’d sure like to fix it.

Tim

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [July 27, 2005, 3:19am UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/5 "2005-07-27T03:19:45Z")

</div>

As final alternative Please check with WM tech support as well for this problem and keep us posted.

Thanks,

---

<div class="post-metadata">

**Author:** ![Chris\_L](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@Chris\_L](https://techcommunity.softwareag.com/u/Chris_L)\
**Post date:** [August 2, 2005, 8:58pm UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/6 "2005-08-02T20:58:49Z")

</div>

Tim I think there’s a fix for this. I saw this at a client last winter but unfortunately I can remember it. Check Advantage.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [August 3, 2005, 12:28am UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/7 "2005-08-03T00:28:54Z")

</div>

RMG and Chris,

Thanks for the advice. There is a fix: WmEDIforTN\_6-1\_Fix10. Here’s a link to a support request:

[url=“[http://advantage.webmethods.com/cgi-bin/advantage/main.jsp?w=0&targChanId=knowledgebase&oid=1612092417](http://advantage.webmethods.com/cgi-bin/advantage/main.jsp?w=0&targChanId=knowledgebase&oid=1612092417)”][http://advantage.webmethods.com/cgi-bin/advantage/main.jsp?w=0&targChanId=knowledgebase&oid=1612092417[/url]](http://advantage.webmethods.com/cgi-bin/advantage/main.jsp?w=0&targChanId=knowledgebase&oid=1612092417%5B/url%5D)

This took care of the problem. Thanks again,

Tim

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [August 3, 2005, 12:38am UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/8 "2005-08-03T00:38:00Z")

</div>

Tim,

Thanks for the update though.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/tn-adds-unwanted-une-segment-to-eancom-document/108400/9 "2021-04-02T15:05:12Z")

</div>

Closed on April 2, 2021, 3:05pm UTC


