SAP Function RSLG_WRITE_SYSLOG_ENTRY - Write an Entry into the Syslog

Parameter Reference Type Length Default Optional Text
DATA_AREA 0 ' ' X 32 Character Variable Parts for the Message
DATA_STRUCTURE 0 ' ' X Code Letter for Structure in 'DATA_AREA'
DATA_WORD1 0 ' ' X Variable Word, for &A in the Message
DATA_WORD2 0 ' ' X Variable Word, for &B in the Message
DATA_WORD3 0 ' ' X Variable Word, for &C in the Message
DATA_WORD4 0 ' ' X Variable Word, for &D in the Message
DATA_WORD5 0 ' ' X Variable Word, for &E in the Message
PRE_PARAM_A 0 ' ' X Variable Word, for &a in the Message
PRE_PARAM_B 0 ' ' X Variable Word, for &b in the Message
PRE_PARAM_C 0 ' ' X Variable Word, for &c in the Message
PRE_PARAM_D 0 ' ' X Variable Word, for &d in the Message
PRE_PARAM_E 0 ' ' X Variable Word, for &e in the Message
PRE_PARAM_F 0 ' ' X Variable Word, for &f in the Message
PRE_PARAM_G 0 ' ' X Variable Word, for &g in the Message
PRE_PARAM_H 0 ' ' X Variable Word, for &h in the Message
PRE_PARAM_I 0 ' ' X Variable Word, for &i in the Message
PRE_PARAM_LONG 0 ' ' X Variable Word, for &a&b&d in the Message
SL_MESSAGE_AREA TSL1D-AREA C 2 First and Second Character of the Message ID
SL_MESSAGE_SUBID TSL1D-SUBID C 1 Third Character of the Message ID

Exception Text
DATA_MISSING DATA_AREA Not Filled in Spite of DATA_STRUCTURE
DATA_WORDS_PROBLEM DATA_WORDi and DATA_AREA Simultaneously
OTHER_PROBLEM Problem Within the Function Module
PRE_PARAMS_PROBLEM PRE_PARAM_i and PRE_PARAM_LONG Simultaneously


RSLG_WRITE_SYSLOG_ENTRY writes an entry in the SAP systemlog. A system log message contains of four relatively independentparts:
Information about time, user, process, transaction and so on. Thisinformation is automatically added.
The message ID. This is used during the analysis to identify themessage text and documentation. The message text may use place holders.For information about how to replace them, see below as well as inTransaction SE92.
The variable parts of the message. 32 bytes are available forthese.
The pre-defined parameters. They are used by further hiddensystem log entries. They are similar to the 'variable parts' of themessage 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 usingTransaction SE92. You can add variable characters and words to themessage 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 definedin 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 thewords.
This function module does support the mixing of word and structurevariable. 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-definedparameters. Therefore use either 'PRE_PARAM_LONG' or 'PRE_PARAM_A', or..., or none at all.