Fonction SAP APPL_LOG_INIT - Application Log: (Partially) Initialize local memory

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
LOG_HANDLE BALHDR-LOG_HANDLE C 22 SPACE X Log handle
OBJECT BALHDR-OBJECT C 20 SPACE X Object name
SUBOBJECT BALHDR-SUBOBJECT C 20 SPACE X Subobject name

Exception Description
OBJECT_NOT_FOUND Object not found
SUBOBJECT_NOT_FOUND Subobject not found

Functionality
This function module deletes all existing entries for the specifiedobject an sub-object in the local memory.
The object and sub-object specification is checked in the same way asin the function moduleAPPL_LOG_SET_OBJECT.

Example
Example call:
DATA: OBJECT LIKE BALHDR-OBJECT,
SUBOBJECT LIKE BALHDR-SUBOBJECT.
...
CALL FUNCTION 'APPL_LOG_INIT'
EXPORTING
OBJECT = OBJECT
SUBOBJECT = SUBOBJECT
EXCEPTIONS
OBJECT_NOT_FOUND = 01
SUBOBJECT_NOT_FOUND = 02.

Description
This parameter contains the name of the object, forwhich the local memory of the function group should be initialized.

Value range
INCLUDE 'APPL_LOG_PAR_OBJECT_VALUES' OBJECT DOKU ID TX

Default
INCLUDE 'FU_PAR_OBL' OBJECT DOKU ID TX

Description
This parameter contains the name of a sub-objectfor the specified object, for which the local memoryof the function group should be initialized.

Value range
INCLUDE 'APPL_LOG_PAR_SUBOBJ_VALUES' OBJECT DOKU ID TX

Default
The parameter is preallocated with SPACE. Therefore you only need tospecify it when sub-objects exist for the specified object.