Show TOC

Procedure documentationGenerating the ALE Interface: Procedure

 

To generate an ALE interface from a complex data type, proceed as follows:

Procedure

  1. Start the transaction with the transaction code BDFG.

  2. Enter the function module and business object type that the interface is based on.

  3. To maintain, display, check, or delete an interface, choose an option in the Interface menu, or choose the relevant icon.

Functions for Editing the Interface

The following functions are available:

  • Create Interface

    The names of the objects to be generated are proposed. You can change these if required. You then enter information about the IDoc type and the inbound and outbound function modules as follows:

    Select In Update Task if database changes made by the module are to be updated using the update task.

    Select Mass Processing Allowed if you want to permit mass processing of IDocs. The associated application module must support mass processing.

    You can generate only the message and IDoc types (required fields), or only one of the function modules (optional fields), by leaving the field for which no object is to be generated, empty.

    The proposed package and function group are those to which the function module belongs. You should use your own packages and function groups to generate your interfaces.

    If a structure is to be more than 1000 bytes long, then whilst the interface is being generated, the structure is mapped to a parent segment with child segments.

    The generated objects are displayed as a tree structure. From here you can access the individual objects. All changes are put in transport requests.

  • Change Interface

    Choose Change to regenerate the objects of an existing ALE interface after a change to the module. The IDoc type and the IDoc segments are only regenerated if the interface structures have changed. The function modules are always regenerated.

    As when you create an object, a dialog box is displayed here also. The objects that already exist in the system are displayed in this dialog box. They are not input fields.

    If a field is empty, you can generate its object.

  • Display Interface

    Choose Display to display all existing objects for this interface. You get an overview of the relationship between the module and the ALE interface. The objects are displayed even if the application module no longer exists.

  • Delete Interface

    Choose Delete to delete an ALE interface.

    The function modules (inbound and outbound) are deleted if they are in the system. The IDoc structure is deleted if it has not yet been released. The IDoc segments are only deleted if they have not been released and are not used in other IDocs.

    The message type is deleted if it is no longer assigned to the IDoc type.

  • Check Interface

    Choose Check to check whether all objects relevant to this ALE interface are available in the system. It also checks whether objects (IDoc type and segments) have already been released. The release status of objects can be changed (see Set Release and Cancel Release). If the application module no longer exists, a warning is logged.

  • Release Interface

    Developers can change the release status of IDoc type and segments.

    A check is made that the generated interface of the module is up-to-date, before it is released. If not, it cannot be released. The segments and IDoc types which are relevant for the release are determined. The new status is assigned to objects which have not yet been released.

    The release can be reset at any time during the development. This action is connected to the transport system.

    The generated function modules are not released.