Ansicht
Dokumentation

BAL_S_LOG - Application Log: Log header data

BAL_S_LOG - Application Log: Log header data

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

  • OBJECT, SUBOBJECT

The Application Log is used by various applications. Every log has the attributes OBJECT and SUBOBJECT to help applications to find their logs efficiently.
These are normed (CHAR20) application or subapplication codes which you can set with the transaction SLG0 (example: OBJECT = "FREIGHT_COSTS" (freight costs), SUBOBJECT = "SETTLEMENT" (settlement)).
These are optional in the log header at runtime, but they must be present when you save (with the function module BAL_DB_SAVE).

  • EXTNUMBER

The external ID in the log header (CHAR100) is a free text description of the log by the application.
It could be used to link an application object to a log, by putting the application object document number in the external log ID.
An external ID can also combine several logs into one logical log (logical logs can be displayed like one log).
The database contains an index on the fields OBJECT/SUBOBJECT/EXTNUMBER. If these fields are specified, a log can be read from the database efficiently (no "Full Table Scan").

  • ALDATE, ALTIME, ALUSER , ALTCODE, ALPROG, ALMODE
    Further log header log creation information: date, time, user (ALDATE, ALTIME, ALUSER), the transaction or program which created the log (ALTCODE, ALPROG), and the processing mode in which the log was created (online, background, etc.)(ALMODE).
  • ALCHDATE, ALCHTIME, ALCHUSER
    If an existing log in the database is changed later, the user, date and time are recorded in ALCHDATE, ALCHTIME and ALCHUSER.
  • DATE_DEL, DEL_BEFORE
    Logs have an expiry date (DATE_DEL) after which they can be deleted, and a flag (DEL_BEFORE) which explicitly forbids deletion before this date. See here for more about deleting logs.
  • ALSTATE
    Logs also have a status which specifies whether a log is finished or not. It is only for information and is not used.
  • PARAMS: PARAMS-T_PAR, PARAMS-ALTEXT, PARAMS-CALLBACK
    Log header parameters

Further information

Overview of the most important function groups

Quick start documentation

Application Log: Technical documentation






rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.

Length: 3147 Date: 20240428 Time: 105525     sap01-206 ( 53 ms )