Ansicht
Dokumentation
RSLG_WRITE_SYSLOG_ENTRY - Write an Entry into the Syslog
ABAP Short Reference CPI1466 during BackupThis documentation is copyright by SAP AG.
RSLG_WRITE_SYSLOG_ENTRY writes an entry in the SAP system log. A system log message contains of four relatively independent parts:
- Information about time, user, process, transaction and so on. This information is automatically added.
- The message ID. This is used during the analysis to identify the message text and documentation. The message text may use place holders. For information about how to replace them, see below as well as in Transaction SE92.
- The variable parts of the message. 32 bytes are available for these.
- The pre-defined parameters. They are used by further hidden system log entries. They are similar to the 'variable parts' of the message in terms of the analysis in Transaction SM21.
The following parameters are used to control the function:
- SL_MESSAGE_AREA and SL_MESSAGE_SUBID
- The message ID in the format 2+1. Messages are maintained using Transaction SE92. You can add variable characters and words to the message text.
- DATA_AREA
- Variable data inserted in the message at places such as '&5' or '$$$$$'. Currently limited to 32 characters.
- DATA_STRUCTURE
-
Code letter for the structure 'DATA_AREA'. The letter is defined in the C file
'rslg.h' as well in the table TSL3T.
If unsure what to use, insert a space character.
- DATA_WORDi
-
Variable words inserted in the message at '&A',
'&B' and so on.
Words do not have a structure; do not fill DATA_STRUCTURE.
CAUTION: This function module removes any space characters from the words.
This function module does support the mixing of word and structure variable. Therefore either 'DATA_AREA' or 'DATA_WORD1', or ...
- PRE_PARAM_j
- Variable pre-defined parameters inserted in the message at '&a', '&b' and so on.
- PRE_PARAM_LONG
- Long pre-defined parameters inserted in the message at &a&b&c&d or similar places.
Individual pre-defined parameters cannoz be mixed with long pre-defined parameters. Therefore use either 'PRE_PARAM_LONG' or 'PRE_PARAM_A', or ..., or none at all.
Parameters
DATA_AREADATA_STRUCTURE
DATA_WORD1
DATA_WORD2
DATA_WORD3
DATA_WORD4
DATA_WORD5
PRE_PARAM_A
PRE_PARAM_B
PRE_PARAM_C
PRE_PARAM_D
PRE_PARAM_E
PRE_PARAM_F
PRE_PARAM_G
PRE_PARAM_H
PRE_PARAM_I
PRE_PARAM_LONG
SL_MESSAGE_AREA
SL_MESSAGE_SUBID
Exceptions
DATA_MISSINGDATA_WORDS_PROBLEM
OTHER_PROBLEM
PRE_PARAMS_PROBLEM
Function Group
SLO2General Data in Customer Master Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 3982 Date: 20240523 Time: 124840 sap01-206 ( 52 ms )