cancel
Showing results for 
Search instead for 
Did you mean: 

Adding entries in Audit Log Tab in Component Monitoring under Runtime Workb

mayur_patel6
Participant
0 Kudos

Hello Experts,

I am trying to add my own audit log entries to the Audit Log Tab under Runtime Workbench -> Component Monitoring. I found this sap help link (http://help.sap.com/saphelp_nwpi71/helpdata/en/3b/6fe540b1278631e10000000a1550b0/frameset.htm) I am not sure if i am going in the right direction or not. But, when I tried to use the code in my User Defined Function in Message Mapping it gives me java error on PublicAPIAccess.

Can anyone please let me know what am i doing wrong or if I am going in a totally wrong direction to achieve me goal.

I am using PI 7.1 without EP1 and my example uses File adapter.

Thanks!!

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Kindly check this [http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/frameset.htm]

Former Member
0 Kudos

Hi,

if you are trying to add custom audit log for system monitoring in RWB in component monitoring, then i think it is not feasible........moreover for this thing, you can ask your basis guys to configure CCMS in your XI system to recieve alerts for your system.............

if you are trying to add custom audit log msgs for your msg processing, then you should develop a custom J2EE adapter module and add your audit log entries in the process method of your adapter module..............

Regards,

Rajeev Gupta

Edited by: RAJEEV GUPTA on May 6, 2009 7:12 AM

Former Member
0 Kudos

Below are the steps to add custom audit log

Message mes = (Message) inputModuleData.getPrincipalData();

AuditMessageKey amk = new AuditMessageKey(mes.getMessageId(), AuditDirection.OUTBOUND);

Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,"audit log desc");

points me if helpful.

Edited by: chandra shekhar on May 6, 2009 7:06 AM

former_member732072
Active Participant
0 Kudos

Hi Mayur,

Please have a look at this link and see if it helps you..

http://help.sap.com/saphelp_nw04/helpdata/en/29/8caf40a90c952ae10000000a155106/frameset.htm

Best Regards