You write the application log records with these function modules.
- APPL_LOG_WRITE_HEADER
With this function module, you write the log header data in local memory.
- APPL_LOG_WRITE_LOG_PARAMETERS
With this function module, you write the name of the log parameters and the associated values for the specified object or sub-object in local memory.
If this function module is called repeatedly for the same object or sub-object, the existing parameters are updated accordingly.
If you do not specify an object or sub-object with the call, the most recently used is assumed.
- APPL_LOG_WRITE_MESSAGES
With this function module you write one or more messages, without parameters, in local memory.
- APPL_LOG_WRITE_SINGLE_MESSAGE
With this function module you write a single message, without parameters, in local memory. If no header entry has yet been written for the object or sub-object, it is created.
If you do not specify an object or sub-object with the call, the most recently used is assumed.
- APPL_LOG_WRITE_MESSAGE_PARAMS
With this function module you write a single message, with parameters, in local memory. Otherwise the function module works like APPL_LOG_WRITE_SINGLE_MESSAGE.
- APPL_LOG_SET_OBJECT
With this function module, you create a new object or sub-object for writing in local memory. With a flag you can control whether the APPL_LOG_WRITE_… messages are written in local memory or are output on the screen.
- APPL_LOG_INIT
This function module checks whether the specified object or sub-object exists and deletes all existing associated data in local memory.
- APPL_LOG_WRITE_DB
With this function module you write all data for the specified object or sub-object in local memory to the database.
If the log for the object or sub-object in question is new, the log number is returned to the calling program.