Ansicht
Dokumentation

CVD1_ACTLOG_NEW_INIT - NOTRANSL: EHS: Initialisieren des Anwendungsprotokolls für einkommende Mel

CVD1_ACTLOG_NEW_INIT - NOTRANSL: EHS: Initialisieren des Anwendungsprotokolls für einkommende Mel

BAL_S_LOG - Application Log: Log header data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

With this function module, the application log is initialized for an object and subobject.

Parameters:

  • If the parameters I_OBJECT (object) and I_SUBOBJECT (subobject) are not filled, they are filled with the default values CVDS for I_OBJECT and MSDS for I_SUBOBJECT.
  • Via the parameter I_EXTNUMBER an additional logical key for a log is assigned.
  • By filling the parameter I_ROUTINE, you have the option of specifying which ABAP routine the log entry is made in.
  • If it is not possible to initialize the required log, the parameter E_FLG_ERROR is set to TRUE. In addition, a message is displayed or logged in the job log.

The function module does not raise exceptions.

Example

Notes

The first time the function module is called, the environment parameter SRE_DS_TRACE_LEVEL is read to determine the current trace level:

  • If the value of the environment parameter is Inactive (SRE_DS_TRACE_LEVEL = 0), the required log is not initialized.
  • If logging is activated via the environment parameter, the required log is created. The first time the function module is called, the system requires the information as to which object and subobject the log is to be created for. For subsequent calls, the object and subobject need not be specified.
If in a subsequent call, the system finds that the previous log was not yet closed, the log is saved with the internal call of the function module CVD1_ACTLOG_SAVE and the new log created.

Further information





Parameters

E_FLG_ERROR
I_EXTNUMBER
I_OBJECT
I_ROUTINE
I_SUBOBJECT

Exceptions

Function Group

CVD1

rdisp/max_wprun_time - Maximum work process run time   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2254 Date: 20240523 Time: 085523     sap01-206 ( 42 ms )