Show TOC

Enhancing IDocs of a BAPI/ALE InterfaceLocate this document in the navigation structure

Prerequisites

The IDoc enhancement concept assumes that there are customer exits in the ABAP code where the BAPI is created or read. If the BAPI/ALE interface has been generated this code does not contain any customer exits.

Procedure

To implement customer enhancements of IDocs of generated BAPI/ALE interfaces you must:

  1. Copy and modify the function module belonging to the original BAPI.

  2. Create your own BAPI in the BOR by creating a sub-object type in the customer namespace.

    When you create the subobject, the subtype inherits the methods of the business object. You can change and delete the methods of the subtype or enhance them with your own methods.

  3. Generate a user-defined BAPI/ALE interface from this new BAPI.

To create the enhanced IDoc for outbound processing the application must provide a customer exit.