on 12-02-2010 3:15 PM
Hi Guys,
What would be the corresponding code for PI 7.0
MessageKey key = new MessageKey(msg.getMessageId(), MessageDirection.OUTBOUND);
PublicAPIAccess pa = PublicAPIAccessFactory.getPublicAPIAccess();
AuditAccess audit = pa.getAuditAccess();
audit.addAuditLogEntry(key, AuditLogStatus.SUCCESS, "CreateAttachment: Module call");
Thanks in advance.
Luis.
http://wiki.sdn.sap.com/wiki/display/XI/AdaptermoduleexampleforPI+7.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Corresponding code in PI7.0 will be::
AuditMessageKey amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.OUTBOUND);
Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,"CreateAttachment: Module call");
Also this is document for code changes required between PI7.1 and 7.0.
[How to Upgrade an SAP NetWeaver PI 7.0 Adapter to SAP NetWeaver PI 7.1|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0667f56-96c7-2b10-0e9a-c40fbd523f4d]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.