Entering content frame

Procedure documentation Enhancing IDocs of BAPI-ALE Interfaces Locate the document in its SAP Library 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.

For further information see Customer Enhancements in the BAPI Programming guide.

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 type the methods of the business object inherits the subtype. 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.

 

 

 

 

Leaving content frame