‎2007 Sep 19 1:11 PM
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?
‎2007 Sep 19 3: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
‎2007 Sep 19 1: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>
‎2007 Sep 19 1:25 PM
Maybe I need to be more clear about what we are trying to discern. We are aware of the appropriate use of IDocs and the differences between IDoc Types, Message Types, and IDocs. What we need clarification on is what data (from what locations within SAP - tables/fields) are IDoc Types populated with data before the populated IDoc is transmitted via ALE.
Thus what we are looking for is some definition of where the IDoc Type + Message Type information is mapped back to a set of tables in SAP.
‎2007 Sep 19 2:21 PM
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.
but if you tell for which data you want the IDOC types i can help out.
Reward if Helpful.
‎2007 Sep 19 2:37 PM
> 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?
‎2007 Sep 19 2: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
‎2007 Sep 19 3:03 PM
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.
‎2007 Sep 19 3: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