cancel
Showing results for 
Search instead for 
Did you mean: 

Importing packages into development studio

Former Member
0 Kudos

Hi Experts,

This is my first time in the SAP Netweaver Development Studio. So I'll need a little help.

I'm configuring a PI adapter module trough the following website:  http://www.saptechnical.com/Tutorials/XI/Adapter/Index.htm

Here it says i have to import de following files:

import javax.ejb.CreateException;

import javax.ejb.SessionBean;

import javax.ejb.SessionContext;

import com.sap.aii.af.mp.module.Module;

import com.sap.aii.af.mp.module.ModuleContext;
import com.sap.aii.af.mp.module.ModuleData;
import com.sap.aii.af.mp.module.ModuleException;
import com.sap.aii.af.ra.ms.api.Message;
import com.sap.aii.af.ra.ms.api.MessageDirection;
import com.sap.aii.af.ra.ms.api.XMLPayload;
import com.sap.aii.af.service.auditlog.Audit;
import com.sap.aii.af.service.auditlog.AuditDirection;
import com.sap.aii.af.service.auditlog.AuditLogStatus;
import com.sap.aii.af.service.auditlog.AuditMessageKey;

But I can't import the files. What do I have to configure to get the EJB and SAP packages in my class?

How do I import the packages into my project?

I hope someone can help me a little further with my problem.

Accepted Solutions (1)

Accepted Solutions (1)

Sreejith1
Contributor
0 Kudos

Hi,

You have to add this particular Jar file to your application >com.sap.aii.af.lib.mod.jar

You can add by using -  add external jar option.

For getting this jar, you can search in your local system or google it.

Hopes this will help you

Let me know you need more help?

Regards,

Ram

Former Member
0 Kudos

Thanks Mr Ram.

Just as simple as you sayd. Found a explanation on http://wiki.sdn.sap.com/wiki/display/XI/Where+to+get+the+libraries+for+XI+development.

Former Member
0 Kudos

Hi,

Even i am stuck-up with the same issue. you please elaborate ?

I have to add it in the NWDS, right ?

Regards

Shilpa

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Even i am stuck-up with the similar and same issue. you please elaborate ?

Regards

Shilpa