Skip to Content
author's profile photo Former Member
Former Member

IDoc Outbound and Inbound Process Code

Currently we are working with an implementation partner to implement ECC 6.0 and we are planning to make use of IDocs to interface to our legacy systems that will run in concert with SAP during the interim time period between wave one and wave two of our project. The implementation partner is developing mappings from SAP to our legacy systems based on SAP table name and field. Is there any documentation provided by SAP, the community, etc... that documents what fields are pulled into an outbound IDoc (orders, delvry, invoic, desadv, shpmnt) or what fields are updated in the tables based on the contents of an inbound IDoc?

If the answer is to crawl through ABAP code to discern the mappings can anyone point me to the right programs or functions within SAP to see how the IDocs are built?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 19, 2007 at 02:09 PM

    Hi David,

    Unfortunatey, there is no mapping information available in SAP.

    You either build your own mapping document or need to find through the logic/codes within the function module for inbound or outbound processes.

    To find the corresponding function module for a given message type, please go to transaction WE64.

    Also check this link to get an idea on how to build the mapping document.

    http://www.erpgenie.com/sap/sapedi/mapping.htm

    Hope this will help to start with.

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 19, 2007 at 12:19 PM

    Hi ..

    Check these points it may help you to some extent.

    <b>What is the Role of IDOC type and Message Type?</b>

    IDOC is the Document that Transfers the Data Between the Systems in ALE or EDI.

    But Every IDOC is generated based on an IDOC TYPE and a MESSAGE TYPE..

    Let me explain them with Example.

    IDOC TYPE : It provides the structure in Which The data of IDOC has to be stored.

    For Eg: To Create an IDOC of EMPLOY master:

    The Structure of IDOC TYPE can be:

    1 Record for EMPLOY General Data: Under this

    Multiple Records for Employ Experience Details

    Multiple Records for Employ Qualification Details

    Multiple Records for Employ Skill Details

    Here all these Different Records are Represented by SEGMENTS.

    And Every IDOC TYPE is Hierarchy of Segments

    (You can find in tcode : WE30)

    MESSAGE TYPE:

    It will determine the Processing Logic using which the IDOC has to be generated in Outbound and how the IDOC has to be Posted in Inbound.

    One IDOC type can be Linked to Multiple Message types.

    For Eg:

    One Message type that Creates a new employ.

    and Another message type that will Change the Existing Employee details.

    <b>These are the ALE configuration details: </b>

    order is done at india ( va01 ) .

    IDOC TYPE -> ORDERS01 ,MESSAGE TYPE -> ORDERS

    then transfered to japan and wrf to tht order shiping is done from japan (vl01n)

    IDOC TYPE -> SHPMNT01 ,MESSAGE TYPE -> SHPMNT

    Also for Delivery

    IDOC TYPE -> DELVRY01 ,MESSAGE TYPE -> DESADV

    wrf to this del a invoice is created vf01 india.

    then an intercompany invoice comes from japan to india ( vf01 IV )

    IDOC TYPE -> INVOIC01 ,MESSAGE TYPE -> INVOIC

    <b>reward if Helpful.</b>

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Narayana Varma

      > Hi David...

      >

      > IDOC types are not directly linked to Tables..

      >

      > IDOC Types (Tcode WE30) will contain Segments (Tcode

      > WE31)

      > In segments you can find the Fields which gives the

      > Idea.

      I am aware of we30 and we31, what I am interested in determining is where does the field e1edl20-vkbur or e1edl20-route get populated from when a delvry05 IDoc is pushed out with message type desadv?

  • Posted on Sep 19, 2007 at 01:46 PM

    Hi,

    Please check FM IDOC_OUTPUT_DELVRY which is used to populate segements for IDoc DELVRY05.

    Both segment E1EDL20-VKBUR and E1EDL20-ROUTE values are from table LIKP-VKBUR and LIKP-ROUTE.

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Ferry-

      Is there any way to obtain this sort of information (for all fields) in a more user / functional friendly way? I'm only asking further because that is what my original question was looking for, if this is the only way then I'll mark this answered and award points accordingly.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.