‎2006 May 11 3:45 PM
Hello.
Is there any API to write into the syslog (see Txn SM21) of an SAP R/3 System?!
THX in advance ...
MIKE
‎2006 May 11 3:52 PM
‎2006 May 11 3:57 PM
@Ravi:
This FM already came across my way, but the question that still remains here is: Can this FM be considered as an API, that can be used by every ABAP developer or is the use of this FM restricted to SAP only?
‎2006 May 11 4:02 PM
HI Mike,
This can be used abappers and not restricted for internal use.
This is what the FM documentation says:
<i><b> Write an Entry into the Syslog
RSLG_WRITE_SYSLOG_ENTRY writes an entry in the SAP system log. A system
log message contains of four relatively independent parts:
1. Information about time, user, process, transaction and so on. This
information is automatically added.
2. 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.
3. The variable parts of the message. 32 bytes are available for these.
4. 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. </b></i> Regards,
Ravi.
P.S: Please reward if it helps.
‎2006 May 11 4:17 PM
@Ravi:
Thanks for your advice!
Which basis release has the system from which you took thi documentation?
MIKE
‎2006 May 11 4:18 PM
Hi Mike,
The Basis release is 640.
I'm currently on SAP ECC 5.0.
Regards,
Ravi
‎2006 May 12 11:11 AM
BTW:
I started a SAP Service Request to request the state of the FM RSLG_WRITE_SYSLOG_ENTRY and to get an information in how far this FM can be considerd as an API.
I will update this thread, as soon as I hav feedback from SAP...
MIKE
‎2006 May 15 10:25 AM
Here the answer i got from SAP:
<i>RSLG_WRITE_SYSLOG_ENTRY can be used to write syslog entries. The
function module is only SAP internally released but this status ensures
documentation and continuity of the function. There is no restriction
about releases.
An official API does not exist.</i>
‎2006 Jun 08 10:26 AM
hi there,
can you tell me which is the table for SAP System Log? I'd like to perform queries against it, SM21 filters don't meet my requirements,
thank you.