Fonction SAP APPL_LOG_WRITE_DB - Application log: Copy local memory data into DB tables

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
UPDATE_TASK BOOLEAN C 1 SPACE X Update in update task

Paramètre Reférence Long. Facultatif Description
OBJECT_WITH_LOGNUMBER BALNRI 160 Objects and their log numbers

Exception Description
INTERNAL_ERROR Internal error
OBJECT_NOT_FOUND Object not found
SUBOBJECT_NOT_FOUND Subobject not found

Description
This parameter contains the name of the object forwhich logs are to be written to the database.

Value range
Valid input: Names of objects previously maintained with themaintenance transaction for application log objects,or SPACE.
Entering SPACE means that the logs for all objects are written to thedatabase.

Default
The logs for all objects are written to the database.

Description
This parameter contains the name of a sub-objectfor the specified object, for which the log is to bewritten to the database.

Value range
INCLUDE 'APPL_LOG_PAR_SUBOBJ_VALUES_R' OBJECT DOKU ID TX

Default
The parameter is preallocated with SPACE. Therefore it only has to bespecified when sub-objects exist for the specified object.

Description
In this table the log number for which the log was written to thedatabase is transferred to the calling program, for every object,sub-object and external number.
The log number is only transferred when the log is written for thefirst time, and not when extending.

Value range
The table following fields:
OBJECT,,Object name
SUBOBJECT,,Sub-object name
EXTNUMBER,,external number
LOGNUMBER,,Log number

196113SAPSQL_ARRAY_INSERT_DUPREC, BALHDR