# Sending out CONTRL message (or FA) with UNA in Header

**URL:** <https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [November 6, 2009, 9:08am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963 "2009-11-06T09:08:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaon1](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Shaon1](https://techcommunity.softwareag.com/u/Shaon1)\
**Post date:** [November 6, 2009, 9:08am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/1 "2009-11-06T09:08:24Z")

</div>

Hi,  
We have a requirement to send out the FA for EANCOM inbounds from partner. In the CONTRL message the UNA (i.e. Service String Advise) is a mandatory segment required by the partner in the message header section. We have configured the TPA to send out the CONTRL message automatically and this works fine. The only issue is that in the FA sent out by webMethods, there is no UNA segment present. The message starts from UNB+. Could anybody help me understand what configuration change is required to add the UNA segment as well?

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [November 7, 2009, 2:16am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/2 "2009-11-07T02:16:58Z")

</div>

check your setting of : UNAmode in the TPA. it’s controlling if sending UNA or not.

---

<div class="post-metadata">

**Author:** ![Shaon1](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Shaon1](https://techcommunity.softwareag.com/u/Shaon1)\
**Post date:** [November 9, 2009, 2:14am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/3 "2009-11-09T02:14:20Z")

</div>

Hi, The UNA mode in the TPA is set to ‘Yes’ already but there is still no UNA segment in the CONTRL message. Any further suggestions please?

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [November 10, 2009, 2:43am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/4 "2009-11-10T02:43:38Z")

</div>

check in your process, if service: wm.b2b.edi.util:addICEnvelopeEDIFACT is called to generate UNA. If yes, check if the input value: UNARequired populated.  
Hope this helps.

---

<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:** [November 10, 2009, 4:38am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/5 "2009-11-10T04:38:45Z")

</div>

Is your partner sending UNA starting in the Inbound EANCOM msg? so that auto-generate FA takes care as you already set UNAmode to Yes.

If not you may have to explicitly generate FA service level via addICEnvelopeEDIFACT as tongwang suggested.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Shaon1](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Shaon1](https://techcommunity.softwareag.com/u/Shaon1)\
**Post date:** [November 11, 2009, 2:24am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/6 "2009-11-11T02:24:58Z")

</div>

Hi All,  
Yes the partner is sending the UNA segment in the message but although the UNAMode is set to True in the TPA, the CONTRL message is not capturing the UNA while sending out the FA.  
The other option could be to generate the FA explicitly as you mentioned, but again that would be added effort for all interfaces and a deviation from the framework used in our integrations.

---

<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:** [November 11, 2009, 3:27am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/7 "2009-11-11T03:27:32Z")

</div>

Did you also open SR with SAG tech support and raise,as TPA setting not working as expected? Yes i know with explicit has some work to do time consuming (work around only)

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Shaon1](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Shaon1](https://techcommunity.softwareag.com/u/Shaon1)\
**Post date:** [November 11, 2009, 4:13am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/8 "2009-11-11T04:13:04Z")

</div>

Hi, Yes i did open an SR. SAG is aware of this fault and it seems there is an engineering fix for this. They have already provided the fix to a customer who faced the same issue but SAG will check with that customer again before confirming us that the fix is working.

---

<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:** [November 11, 2009, 5:25am UTC](https://techcommunity.softwareag.com/t/sending-out-contrl-message-or-fa-with-una-in-header/109963/9 "2009-11-11T05:25:18Z")

</div>

Uh! It sounds there is a fix available on this issue…thanks for the update! Plz post here once you have the Fix details.

---

<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/sending-out-contrl-message-or-fa-with-una-in-header/109963/10 "2021-04-02T15:05:58Z")

</div>

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


