Skip to Content
Former Member
Jul 15, 2008 at 06:51 AM

Want to add the SAP Error Messages to the OS Syslog file.



I have a specific requirement. I need your inputs or ideas.

Actually I want to send the SM21 error messages (as and when it happens ) to the OS Sys log file of solaris.

Is there a simple way to achieve this.

I have the following Idea:

01. I have to somehow able to capture the error message from SAP as and when it happens.

02. should execute an OS command ( $ logger -p user.error <captured_error> ) from the SAP level, so that SAP system error will be added to the OS system Log.

( Basically the Middleware is monitoring the OS errors and updating the managers upon a critical error or warning, now we are planning to extend the same so that SAP errors ( if added to the OS errors) would get updated to the Managers.)

Hope I am clear.

Basically, to acheive the above 01 and 02, I need your inputs as to how to achieve it practically.

Best Regards,

L Raghunahth

PS: SYS. Environment : R/3 4.6C / Oracle 8.1.7 / Solaris 9.