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:

  1. Go to Develop > Services > Schema > XML.
  2. Click IDoc Schema.



  3. On the New IDoc Schema window, provide the values corresponding to the fields.

    Field NameDescription
    NameName of the IDoc schema.
    DescriptionDescription 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 FileRequired IDoc definition file. This option is applicable only for Offline definition mode.
    SAP ClientName of the SAP client. Connection with the client can also be checked by clicking Test.
    System ReleaseSystem 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 ReleaseApplication 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.
    IDocType of IDoc to create schema - Basic Type and Extension.
    IDoc TypeThis 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 ExtensionThis 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.

  4. Click Save.
    This creates an IDoc schema of XML Type.