Creating SAP IDoc Schema
SAP IDoc definition files can be created by selecting an IDoc from an existing IDoc list from SAP (online definition mode) or can be uploaded to Adeptia Suite (offline definition mode). Adeptia SAP Integration service uses these schemas to generate and validate IDocs in inbound and outbound processes.
To create schema using IDoc definition file:
- Go to Develop > Services > Schema > XML.
- Click IDoc Schema.
On the New IDoc Schema window, provide the values corresponding to the fields.
Field Name Description Name Name of the IDoc schema. Description Description of the IDoc schema. Definition Mode Mode of the schema - Offline and Online.
Offline: Use this mode, if you don't want to communicate with the SAP server for creating schema, that is, you already have the required definition file.
Online: Use this mode, if you don't have the required definition file.
IDoc Definition File Required IDoc definition file. This option is applicable only for Offline definition mode. SAP Client Name of the SAP client. Connection with the client can also be checked by clicking Test. System Release System release number. By default, the value is filled automatically. You can change the value, in case, you want to access specific system/application released schema. Application Release Application release number. By default, the value is filled automatically. You can change the value, in case, you want to access specific system/application released schema. IDoc Type of IDoc to create schema - Basic Type and Extension. IDoc Type This option is applicable only for Basic Type IDoc type. The generated IDoc Schema list is based on the system release and application release values. IDOC Extension This option is applicable only for Extension IDoc type. The generated IDoc Schema list is based on the system release and application release values. Expand Advanced Properties. For information about Advanced Properties, refer to Changing Advanced Properties.
- Click Save.
This creates an IDoc schema of XML Type.