on 09-19-2016 10:25 PM
Hello,
We are migrating from PI 7.0 to PI 7.4/PI 7.5 (the final decision is still up in the air). We have a few custom adapter modules that need to be migrated. I have read the very useful blog at
My NWDS version says "SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.3 SP17 PAT0008"
I have added XPI Adapter Libraries, XPI Mapping Libraries (for good measure) and also external jar com.sap.aii.af.lib.mod.jar to the Build Path though the blog only talks about adding XPI Adapter Libraries
However NWDS gives me errors with the following statement ("Audit cannot be resolved")
Audit.addAuditLogEntry(msgKey, AuditLogStatus.SUCCESS, "filename is: " + fileName);
I added the following imports but NWDS still says it cannot resolve Audit
import com.sap.engine.interfaces.messaging.api.auditlog.*;
import com.sap.tc.logging.*;
import com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus;
I tried to add the following import but NWDS cannot find the import. I also could not find any jars corresponding to this on our single stack 7.4 PI server
import com.sap.aii.af.service.auditlog.Audit;
What do I need to start logging messages to the adapter logs ?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.