IDoc Views 

Use

IDoc types can be used for more than one message, that is, for more than one business process. As a result, the IDoc types usually contain more segments than necessary for the individual application cases. To improve performance when generating IDocs, you can use views to ensure that only the segments relevant to the current business process are filled with data. Views are therefore only important for IDoc outbound processing.

Integration

The application must support this function: The program which writes the application data in the IDocs must carry out the following tasks:

The standard delivery system contains views for the IDoc types DELVRY01 and INVOIC01.

Prerequisites

You must have IDoc development authorization (authorization object S_IDOCDEFT, for example in the role SAP_BC_SRV_EDI_DEVELOPER_AG) before you can define a view.

Activities

  1. In the Initial Node of the IDoc Interface choose Development ® IDoc view to define a view. Enter a name for the view and select .
  2. When the next screen appears, assign a message type (logical message) and a basic type to the view (the assignment of an extension to the view is optional). This assignment is checked in the partner profiles.
  3. Position the cursor on a segment, which is to be included in the view. Choose . The following segments must be included in the view:
    1. Qualified segments
    2. Mandatory segments
  4. Save your entries.
  5. In the partner profiles ( General outbound processing), enter the view for the corresponding combination of partner and message.