Show TOC

Background documentationCall to Application Module

Process

Behavior of the ALE layer when you call the application module:
  • Individual processing

    If there is an A message (abort) in the exporting parameter, the ALE layer executes a rollback work.

    If there is no A message (abort) in the exporting parameter, the ALE layer executes a commit work.

  • Mass processing

    If there is an A message in the exporting parameter, the ALE layer executes a rollback work for all the objects and passes the objects to the application module again without the A and E (error) messages. The ALE layer repeats this until there are no more A messages or no more objects to process.

    If there are no more A messages, the ALE layer executes a commit work.

IDoc status and IDoc status messages:

The IDoc status is written using the exporting parameter.

  • Individual processing

    Status 51 (Application document not posted), if there are messages of type A or E. Status records for messages of type A and E are written.

    Status 53 (Application document posted), if there are no messages of type A or E. Status records are written for all messages. If the exporting parameter has not been filled, this means that processing was successful. In this case, an IDoc status record with status 53 is written from the ALE layer.

  • Mass processing

    As in individual processing, but the messages are assigned to the index (OBJECT_IDX) of the corresponding object. If the index is not filled, the ALE layer assumes that the sequence is that in which objects were passed to the application.