# Need help asapmapping 850855 from Sap IDOC to EDI X124010

**URL:** <https://techcommunity.softwareag.com/t/need-help-asapmapping-850855-from-sap-idoc-to-edi-x124010/107526>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [January 31, 2003, 11:20pm UTC](https://techcommunity.softwareag.com/t/need-help-asapmapping-850855-from-sap-idoc-to-edi-x124010/107526 "2003-01-31T23:20:13Z")\
**Posts on this page:** 5\
**Page:** 2

<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:** [May 21, 2004, 6:48pm UTC](https://techcommunity.softwareag.com/t/need-help-asapmapping-850855-from-sap-idoc-to-edi-x124010/107526/21 "2004-05-21T18:48:57Z")

</div>

Anil,

Once you map 850 edidata to convertToValues step that will parse data based on the schema and gives the EDIValues and map this to 850 document structure using (DocumentReference).So next step will be one to one segment mapping to 855 structure what ever the individual segments you have to populate based on your 855 specifications.

Finally invoke the convertToString (prepares the 855 edidata string),addICEnvelope (ISA Envelope)and addGSEnvelope (GS Envelope)and route it to TM.

HTH,

---

<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:** [July 19, 2004, 4:45pm UTC](https://techcommunity.softwareag.com/t/need-help-asapmapping-850855-from-sap-idoc-to-edi-x124010/107526/22 "2004-07-19T16:45:00Z")

</div>

Hi,  
I am mapping data from SAP IDOC to EDI document X12 856 4030 format.  
When I generate doctype for the EDI structure from WmEDIforTN, it’s not generating the Records ISA(Interchange Control Header),GS(Functional Group header), GE( Functional Group Trailer) and IEA( Interchange control Trailer). How to get those records in Doctype or how to include those in the ouput file? Thanks in advance…

---

<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 19, 2004, 7:48pm UTC](https://techcommunity.softwareag.com/t/need-help-asapmapping-850855-from-sap-idoc-to-edi-x124010/107526/23 "2004-07-19T19:48:26Z")

</div>

Somex,

I believe you are working on EDI X12 856 outbound mapping.

The EDI Envelope (ISA,GS)structures will be created using the WmEDI package services.Invoke these 2 services and pass the necessary input params.

wm.b2b.edi.util:addICEnvelope) —Creates the (ISA,IEA structures)  
wm.b2b.edi.util:addGroupEnvelope—Creates the (GS,GE structures)

For better understanding how to use these services look into the WmEDISample Package (XMLtoEDI mapping) and WmEDI/doc/EDICoreUserguide.pdf

HTH,

---

<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:** [July 20, 2004, 11:14am UTC](https://techcommunity.softwareag.com/t/need-help-asapmapping-850855-from-sap-idoc-to-edi-x124010/107526/24 "2004-07-20T11:14:01Z")

</div>

Hi RMG,  
Thanks for for your help. I am able to see those structures in my EDI file now.

somex

---

<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:04pm UTC](https://techcommunity.softwareag.com/t/need-help-asapmapping-850855-from-sap-idoc-to-edi-x124010/107526/25 "2021-04-02T15:04:50Z")

</div>



[Previous page](https://techcommunity.softwareag.com/t/need-help-asapmapping-850855-from-sap-idoc-to-edi-x124010/107526.md?page=1)
