cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Importing Libraries in NWDS

Former Member
0 Kudos

Hi there,

I am currently doing a project where I am trying to integrate RFID module into any of SAP product. I downloaded NWDS CE 7.1 and thinking to try on calling the ABAP. However, I failed to enter any code statement in the NWDS CE 7.1. Whenever I try to import libraries, such as import com.sap.jco, I failed to do so. It shows error where there is no such library.

Would like to know how can I solve the problem?

Thanks you

Regards

Lai Hung

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Lai Hung,

I was having this issue as well and the way I solved it was by following these steps:

Download the connector library files to your computer (these can be found here: [https://websmp209.sap-ag.de/connectors] and navigate to whichever connection library you need. I needed the JCO lib files )

Right click on the project you are developing

Click on 'Properties'

Click 'Add External JARs...'

Navigate to wherever you extracted the .jar file to.

Click 'Open'

Click 'OK'

This worked for me. I realize this might not be the most elegant solution but I noticed this question was left unresolved

Cheers,

Mike

junwu
Active Contributor
0 Kudos

add dependency to the lib dc for your dc

you have to know what is sap component model.

Former Member
0 Kudos

Hi John,

I'm sorry because I have no experience in SAP and also NWDS CE 7.1. Could you please explain to me in more detail please?

Thank you

Regards

Lai Hung

Former Member
0 Kudos

Hi Lai Hung,

To add dependencies you need to right click on the DC you created for development and click on Development Component and select show in component properties once the properties view will appear select dependencies tab and click on add button on the popup windows search for jco select the required dependencies and click finish. Now the dependencies are added you can import it in the class (controller) where you want to use that. Lets know if you face any issue.

Regards

Jeetendra

Former Member
0 Kudos

Hi Jeetendra,

I feel so embarrass to tell that I only know to create a Java file using NWDS. So, I'm not really understand what the DC means. And I could not found the Development Tool you mentioned earlier on.

Hope you can help me.

Thank you

Regards

Lai Hung