If the IDoc types (basic types) supplied with the standard SAP System do not meet your requirements, you can define your own IDoc types.
Before you define a new IDoc type, you should first check whether the basic types can be made to meet your requirements. You can display a list of the basic types and their meaning using the documentation tools in the IDoc Interface.
New IDoc types should be defined within the scope of a customer extension within which customer segments are appended to an existing basic type. For more information, see Important Terms and Design Guidelines and Formatting Rules for Creating New Segments.
When creating a customer extension, you should first list the segments which are required. You may have to develop your own segments, in which case you should follow these guidelines. See the Design Guidelines for Creating New IDoc Types
To define your IDoc types, you should use the development tools in the IDoc Interface, which are described in the following sections:
Automatic definition of IDoc types is only required in special cases. You can generally skip this section.
The following two checklists describe a general procedure from definition to implementation for new IDoc types in the following cases: