# problem with addICEnvelopeEDIFACT

**URL:** <https://techcommunity.softwareag.com/t/problem-with-addicenvelopeedifact/108471>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [June 27, 2005, 11:31pm UTC](https://techcommunity.softwareag.com/t/problem-with-addicenvelopeedifact/108471 "2005-06-27T23:31:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_Sambandan](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Ramesh\_Sambandan](https://techcommunity.softwareag.com/u/Ramesh_Sambandan)\
**Post date:** [June 27, 2005, 11:31pm UTC](https://techcommunity.softwareag.com/t/problem-with-addicenvelopeedifact/108471/1 "2005-06-27T23:31:22Z")

</div>

Hi All,

when i try to create the envelope for EDIFACT , it is creating the following outdocument.

UNA:+.?  
UNB+UNOB:2+4084324742:12+114315195EMEP:14+050627:1015+271015219++++1’  
UNH+271015216+INVOIC:D:99A:UN’  
…  
…  
…  
…  
…  
UNT+34+271015218’  
UNZ+3+271015219’

but i need to get the following output.

UNA:+.? ’  
UNB+UNOB:2+4084324742:12+114315195EMEP:14+050619:1745+573’  
UNG+INVOIC+4084324742:12+114315195EMEP:14+050619:1745+573+UN+D:99A’  
UNT+34+271015218’  
…  
…  
…  
…

UNT+34+3433’  
UNE+3+573’  
UNZ+1+573’

i am missing the UNG,UNE .

I dont know what i am missing.  
Can anybody guide me please because this is the first time i am developing EDIFACT.

---

<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:** [June 27, 2005, 11:48pm UTC](https://techcommunity.softwareag.com/t/problem-with-addicenvelopeedifact/108471/2 "2005-06-27T23:48:01Z")

</div>

Ramesh,

Basically before u create the envelope for EDIFACT the UNG,UNE mapping and then addICEnvelopeEDIFACT will populate all the Envelope segments accordingly.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Ramesh\_Sambandan](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Ramesh\_Sambandan](https://techcommunity.softwareag.com/u/Ramesh_Sambandan)\
**Post date:** [June 28, 2005, 12:29am UTC](https://techcommunity.softwareag.com/t/problem-with-addicenvelopeedifact/108471/3 "2005-06-28T00:29:43Z")

</div>

Hi RMG,

Could you please elaborate more on your statement.

Now i have UNH/UNT pair is ready with me and i want to add those envelope info as mentioned above.

Ramesh

---

<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:** [June 28, 2005, 12:42am UTC](https://techcommunity.softwareag.com/t/problem-with-addicenvelopeedifact/108471/4 "2005-06-28T00:42:27Z")

</div>

Actually you have to explicitly map the necessary UNG/UNE segment structure data before you create the EDIFACT envelope.

HTH,  
RMG

---

<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/problem-with-addicenvelopeedifact/108471/5 "2021-04-02T15:05:14Z")

</div>


