SAP Note 195157 - Application log: Deletion of logs

Component : Basis Application Log -

Solution : https://service.sap.com/sap/support/notes/195157 (SAP Service marketplace login required)

Summary :
SAP Note addresses the issue of excessive entries in application log tables such as BALHDR, BALHDRP, BALM, BALMP, BALC, BALDAT, and BAL_INDX across various SAP releases. It outlines that logs are collected by applications for user information and are stored in databases without automatic deletion. Logs have a pre-defined expiration date, post which they can be deleted using designated transactions such as SLG2 for Releases >= 4.6A and reports like RSSLG200 or RSSLGK90 for older versions. To manage log data effectively, users can use the mentioned transactions to delete expired or permissible logs and must consider client-dependency during deletion.

Key words :
abap/4 runtime error  dbif_rsql_sql_error    sql error 1555 occurred accessing table, 'external identification' field specifies, 'application log' tool sets, application automatically log serves, database error text, field 'external number', avoid large quantities, del_before= space means, del_before='x' means, balhdr table determines

Related Notes :

1009281LAW: Runtime error CONNE_IMPORT_WRONG_COMP_TYPE
856006Mass processing saves unnecessary logs
737696Add. info on upgrade to SAP R/3 Enterprise 4.70 Ext. 2 SR1
706478Preventing Basis tables from increasing considerably
637683Add info about upgrade to SAP R/3 Enterprise Core 4.70 Ext 2
587896Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
540019Report RJBTPRLO does not work correctly
400687Delete application log: DBIF_RSQL_INVALID_CURSOR
390062Additional information about upgrading to 4.6C SR2
370601Composite SAP note: APO 3.0 and 3.1 performance
365602M/AM: Sales agent determination log - perf.
327285Additions to upgrade to 4.6C SR1
183960ALE: Deactivating application logs for data transfers
141244Deactivating the application log during data transfer
138715RSSLGK90: Too many lock entries in the database
118314Installing the interface to a separate EH&S
91519Deleting logs of the application log