cancel
Showing results for 
Search instead for 
Did you mean: 

NWDS - Importing standard SAp packages

Former Member
0 Kudos

Hi,

I am new to NWDS java developmennt.

I have succesfully developed, deployed a demo EJB to J2EE and also able to execute it from my SAP portal server.

I am trying to use the user management API ot Portal (like package com.sap.security.api), however when I write the following statement, it gives an error on my local NWDS build.

import com.sap.security.api;

Question is how do I refer to this remote package (or any other SAP package) which is lying on J2EE on my local NWDS software build.

Thanks,

Amit Jain

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

Addd the jar file com.sap.security.api in your project by following the path

right click on the project

then

(Project Properties -> Java Build path -> Libraries tab -> Add External JARs button)

then find out this jar and add it.

thanks

sarjbeet singh

Former Member
0 Kudos

This is answered. The standard SAP packages are available on local machine.

Right click on project->properties

Selectr Java Build path-> Libraries->Add Variable->Select ECLIPSE_HOME

Hit Extend

Select Plugins

Select com.sap.security_2.0.0

Now the import com.sap.security.api.* statement will not give any syntax errors.

Closing the thread.

Answers (0)