Entering content frameFunction documentation IDoc Views Locate the document in its SAP Library structure

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:

For a list of IDoc Interfaces that support IDoc views, see SAPNet Note 185445.

Prerequisites

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

Activities

  1. Choose SAP Menu ® Tools ® Business Communications ® IDoc Basis ® Control ® IDoc View to define a view . Enter a name for the view and choose This graphic is explained in the accompanying text.
  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 This graphic is explained in the accompanying text. 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.
Leaving content frame