Creating the IDoc definition file
Before using SAPODA to generate a business
object definition from an IDoc definition file, you must create
the IDoc definition file for each IDoc you want to support. SAPODA
uses this file as input. Use transaction WE63 in SAP to create the IDoc definition file. If you use SAPODA
to generate the definition from an IDoc defined in the SAP system,
you do not need to create this IDoc definition file.
Important:
You must log on to the SAP system in English to generate
business object definitions from IDoc files. Because SAPODA uses
a text field in the IDoc's definition to generate attribute
names, and because attribute names must be in English, it is important
that you generate definitions from English-language files.
Creating the IDoc definition file for mySAP.com V.4.6
To create the IDoc definition file for mySAP.com V.4.6:
- In SAP, select transaction WE63 by entering /oWE63.
- Deselect the IDoc record types check box.
- Select the Basic type field check box.
- In the Basic type field, enter the basic
IDoc type.
- Select the Output From Segment Fields checkbox.
- Click the Execute icon at the top of the
screen. The IDoc definition is displayed on the screen.
- Save the definition to a local directory:
- Select List > Download
- Click the file type you want to save the definition as.
- Click the Continue check mark.
- Enter the pathname of the file you are saving.
- Click Transfer.
Note:
If the business object is based upon IDoc extensions,
use the Extended Basic Types grouping.
Creating the IDoc definition file for mySAP.com V.4.7
To create the IDoc definition file for mySAP.com V.4.7:
- In SAP, select transaction WE63 by entering /oWE63.
- Select the Basic type radio button.
- In the Basic type field, enter the basic
IDoc type.
- Select the Output From Segment Fields checkbox.
- Select Documentation > Parser (F9).
- Select System > List > Save > Local File to
save the definition to a local directory.
