Ansicht
Dokumentation

ABENABAP_MESSAGE_BATCH_JOB - ABAP MESSAGE BATCH JOB

ABENABAP_MESSAGE_BATCH_JOB - ABAP MESSAGE BATCH JOB

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

- Background Processing

In background processing, all messages are handled in accordance with the type specified in the statement MESSAGE, with the following exception. Only during list processing is a message of type W converted into a message of type E before it is actually handled.

A message is not displayed, but instead is written as follows to the background processing log (job log) depending on the message type:

  • Messages of type S are written to the log and the program continues.
  • Messages of type I and W are written to the log and the program continues. The user input Enter, which is required to continue the program, is created automatically.
  • Messages of type E and A are written to the log. A check is then performed to see whether the message is handled using error_message. If this is not the case, the message is also written to the log with message number 564 of the message class 00 and current background processing is terminated, whereby a message of type A executes a database rollback and a message of type E does not. Background processing is resumed when the message is handled.

Notes

  • Since background processing is always started internally using the statement SUBMIT, list processing is usually also active at the same time.
  • For messages of type A, it should be noted that handling using error_message causes the statement ROLLBACK WORK to be executed implicitly, hence producing a database rollback and other side-effects.





ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3451 Date: 20240329 Time: 131610     sap01-206 ( 65 ms )