# Edi problem

**URL:** <https://techcommunity.softwareag.com/t/edi-problem/109303>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [June 26, 2007, 11:58am UTC](https://techcommunity.softwareag.com/t/edi-problem/109303 "2007-06-26T11:58:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sitaram](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@sitaram](https://techcommunity.softwareag.com/u/sitaram)\
**Post date:** [June 26, 2007, 11:58am UTC](https://techcommunity.softwareag.com/t/edi-problem/109303/1 "2007-06-26T11:58:27Z")

</div>

Hi all,  
Iam facing problem with the convertion of edi to xml.I read the pdfs for edi , but i didnt get any idea for converting edi to xml. so please anybody help me in doing that and if possible describe the steps for doing the conversion

Thanks in advance for all,

with regards,  
Sitaram

---

<div class="post-metadata">

**Author:** ![arulchristhuraj\_alphonse](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@arulchristhuraj\_alphonse](https://techcommunity.softwareag.com/u/arulchristhuraj_alphonse)\
**Post date:** [June 26, 2007, 6:12pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109303/2 "2007-06-26T18:12:12Z")

</div>

sitaram-  
  
1. get flatfile data in the variable “edidata”  
2. using convertToValues - convert the edi values to IS document  
3. and convert document to XML using BIS…(docuentToXMLString)

---

<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 26, 2007, 8:42pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109303/3 "2007-06-26T20:42:47Z")

</div>

Sitaram,

Please do search in this forum i am sure there are lot of threads discussed on the EDI to XML translation/conversion flow steps

Anyways here is the procedure in short:

convertoValues (WmEDI service)–use this for EDI parsing  
Perform your mapping —(EDIValues to XML ISdocument)  
DocumentToXMLString–(converts yoru XML ISdocument to xmldata string)  
Check in the Results/pipeline pane

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![sitaram](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@sitaram](https://techcommunity.softwareag.com/u/sitaram)\
**Post date:** [July 2, 2007, 4:29pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109303/4 "2007-07-02T16:29:30Z")

</div>

Hi arulchristhuraj and rmg,

```
             Thanks for ur solution and i tried with ur solution and i got the expected output .

```

with regards  
sitaram

---

<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:** [July 2, 2007, 8:56pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109303/5 "2007-07-02T20:56:46Z")

</div>

This solution is provided in the wM EDI module documentation. I mention this so that you’ll be able to get answers to basic questions such as this more quickly in the future by reviewing the docs. I know you stated that you read the docs but I find it hard to understand how the incredibly brief instructions here were more informative/helpful than the documentation.

---

<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 2, 2007, 9:06pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109303/6 "2007-07-02T21:06:57Z")

</div>

I believe people reads the documentation but sometimes they just look for straight away working solution and they look guidance for the right services (inputs/outputs) to use as the intention is to get work done…well it could be due to upcoming pressure/deadlines and/or other reasons…😉 instead of reading whole docs top to bottom.That is why these brief instructions sometimes help and may not.but it has helped Sitaram…

I agree wholly with you Rob comments that reading/reference documentation is the first thing to do and then implement the flow/unit testing.

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:** [July 2, 2007, 11:41pm UTC](https://techcommunity.softwareag.com/t/edi-problem/109303/7 "2007-07-02T23:41:25Z")

</div>

> [@rmg](#):
>
> That is why these brief instructions sometimes help and may not.but it has helped Sitaram…

Yes they did. I never questioned that nor the value of your post. I was simply pointing out that the same answer could be obtained from the documentation–and using the documentation for basic questions such as this one will almost always be faster than making a post here and waiting hours or days for an answer.

---

<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 3, 2007, 12:32am UTC](https://techcommunity.softwareag.com/t/edi-problem/109303/8 "2007-07-03T00:32:59Z")

</div>

Thanks Rob…

---

<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/109303/9 "2021-04-02T15:05:38Z")

</div>


