# EDI problem!!!!!

**URL:** <https://techcommunity.softwareag.com/t/edi-problem/109809>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [February 5, 2009, 6:18pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109809 "2009-02-05T18:18:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saichandvaranasi](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@saichandvaranasi](https://techcommunity.softwareag.com/u/saichandvaranasi)\
**Post date:** [February 5, 2009, 6:18pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109809/1 "2009-02-05T18:18:47Z")

</div>

Hi,

I am using webMethods 7.1. I am new to EDI .I submitted the EDI Data  
from ADMIN\>WMEDIPackage\>DocExchange\>Submit Test EDI Data.The data is submitted to TN .  
Now the prblem for me is ???

What service is to use to get the bizdocenvelope refering to the following services.  
1)wm.b2b.editn:bizdocToRecord  
2)or normal geting the bizdocenvelope reference and convert that to string and string -bytes like this

any one can explain me the steps for any service how to get that document

thx in advance…

```
     Regards,
    Varanasi Saichand.:)

```

---

<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:** [February 5, 2009, 8:13pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109809/2 "2009-02-05T20:13:43Z")

</div>

You can follow the 2nd option:  
“normal geting the bizdocenvelope reference and convert that to string and string -bytes like this”

Steps to extract the EDI content from  
[B]bizdoc/content particle/b -(wm.tn.rec:BizDocEnvelope) document reference  
bytesToString(map to edidata)  
envelopeProcess(you can access the Interchange/Group ISA/GS data)–use only if required  
getEDIString (extract the transaction ST level data)  
convertToValues(parse edidata to IDATA)  
Map steps – for translation/downstream routing etc…  
…

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/edi-problem/109809/3 "2021-04-02T15:05:52Z")

</div>


