# EDIFACT Envelope Services

**URL:** <https://techcommunity.softwareag.com/t/edifact-envelope-services/108696>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [March 14, 2005, 1:45pm UTC](https://techcommunity.softwareag.com/t/edifact-envelope-services/108696 "2005-03-14T13:45:53Z")\
**Posts on this page:** 7\
**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:** [March 14, 2005, 1:45pm UTC](https://techcommunity.softwareag.com/t/edifact-envelope-services/108696/1 "2005-03-14T13:45:53Z")

</div>

I have issues with using the “addICEnvelopeEDIFACT” service.  
After the IData is converted as a EDI string following steps are used to pass the EDI to TN.

1. wm.tn.tpa:getTPA - Extract the TPA information based on sender and receiver infotmation.

2. wm.b2b.edi.util:addICEnvelope - Add the envelopes based on the extracted TPA. I could not find the values to be set for this service for the below input parameters. I have edidata in the pipeline.

documents - String List EDI documents to which to add an IC envelope.  
syntaxId - String Syntax identifier.  
syntaxVersion - String Syntax version number.

There is a step by step explanation for X12 mapping not for EDIFACT.

---

<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:** [March 14, 2005, 7:56pm UTC](https://techcommunity.softwareag.com/t/edifact-envelope-services/108696/2 "2005-03-14T19:56:19Z")

</div>

I have set the values as below.

documents - %edidata% with perform sunstituion  
syntaxId - Selected from the list  
syntaxVersion - Selected from the list.  
senderId - Mapped sender ID from TPA  
senderQual - Mapped from TPA  
reverseRoute - Mapped sender ID from TPA  
receiverId - Mapped from TPA  
receiverQual- Mapped from TPA  
routingAddress - Mapped from receiver id TPA  
ctlFromTable - true  
ICreference - Not Set  
passwordQual - Not Set  
applReference - Not Set  
priority String - Not Set  
ackRequested - Not Set  
agreementId - - Not Set  
testIndicator - Default  
UNARequired - True

Still getting error as “required input parameter is not specified (see “errorMessage” for detail”. Any thing else is missing?

---

<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:** [March 14, 2005, 11:05pm UTC](https://techcommunity.softwareag.com/t/edifact-envelope-services/108696/3 "2005-03-14T23:05:22Z")

</div>

Jey,

Following i have noticed,

Instead of doing variable substituion for the “documents” just map edidata(and set the index to 0 in the Link Indices).

Also set the ICreference - ctrl Number using the(wm.b2b.edi.util:controlNumber)

Try this,it may work.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [March 14, 2005, 11:12pm UTC](https://techcommunity.softwareag.com/t/edifact-envelope-services/108696/4 "2005-03-14T23:12:58Z")

</div>

Also make sure your EDITPA has values for all the required inputs.

---

<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:** [March 15, 2005, 2:13am UTC](https://techcommunity.softwareag.com/t/edifact-envelope-services/108696/5 "2005-03-15T02:13:48Z")

</div>

I am able to fix this with the service getTPAData. I used an older service getTPA with a wrapper which created some null qualifiers.

---

<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:** [March 15, 2005, 2:15am UTC](https://techcommunity.softwareag.com/t/edifact-envelope-services/108696/6 "2005-03-15T02:15:59Z")

</div>

Glad you have found the issue,it happens.

---

<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/edifact-envelope-services/108696/7 "2021-04-02T15:05:20Z")

</div>


