Generating the BAPI-ALE Interface


To allow a BAPI call to be generated automatically for each IDoc contained in the transfer file, the corresponding ALE interface must generated for all mass data-capable BAPIs. The interfaces are generated using transaction BDBG.

Process Flow

A detailed description of the generation process flow is available in Using ALE Services and in the ALE Programming Guide under Generating the BAPI-ALE Interface.

The following components are generated for each BAPI:

  • A message type
  • An IDoc type
  • An ALE inbound function module that reads the segments of an inbound IDoc, fills the parameters of the corresponding BAPI, and calls the BAPI
  • An ALE outbound function module that generates an IDoc from the parameters of the BAPI and places it in ALE outbound