cancel
Showing results for 
Search instead for 
Did you mean: 

Executing sap pi java mapping in nwds

Former Member
0 Kudos

Hi All,

I need to run two existing java mapping in nwds.In one mapping there is only ".class" file and in other ".java "file alone.
I am working on SAP PI 7.0 enh 22(java version 1.6).I want to execute the java mappings in nwds (java version 1.4).
I am new to both java mapping and nwds.Please guide me in executing theses mappings.

I have downloaded the api jar file from http://host:port/rep/repository/aii_map_api.jar and imported in the nwds project to execute ".java" file .The available classes are

AbstractTrace.class

DynamicConfiguration.class

DynamicConfiguartionKey.class

MappingTrace.class

StreamTransformation.class

StreamTransformationConstant.class

StreamTransformationException.class


Still I am facing the below errors.

The following importscannot be resolved

  com.sap.aii.mapping.api.AbstractTransformation;

  com.sap.aii.mapping.api.TransformationInput;

  com.sap.aii.mapping.api.TransformationOutput; 

  com.sun.org.apache.xml.internal.utils.NameSpace;

I have gone through the below links.But not sure where to download the jar files.Please let me know how to open path:/usr/sap/<SID>/DVEBMGS<nr>/j2ee/cluster/server0/bin/ext/ .


http://scn.sap.com/thread/1314656
http://wiki.scn.sap.com/wiki/display/XI/Where+to+get+the+libraries+for+XI+development.

Request you to share the links to learn,develop and debug  java mapping in nwds.

Thanks in advance
Ramya

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ramya,

You need to download the following jar file:

com.sap.xpi.ib.mapping.lib

in the location - \usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\

Your basis team should be able to download it for you.

Regards,

J

azharshaikh
Active Contributor
0 Kudos

Hi Ramya,

Seems you have missed to import the PI jar file....please check below links to setup NWDS & for further info:

Steps for JavaMapping in NWDS | SCN

For Jar files you can get it from Java Webstart local files as mentioned in following:

Where to get the libraries for XI development - Process Integration - SCN Wiki

Hope it helps

Regards,
Azhar

Former Member
0 Kudos

Hi Azhar

Please let me  know how to download the  jar files from the above mentioned paths.

Where can I find the above metioned paths.

Thanks,

--Ramya

Former Member
0 Kudos

Hi ,

>> I need to run two existing java mapping in nwds.

You can't run. You need to write few lines of code for it.

Check this :

reg, aviansh

Former Member
0 Kudos


Hi Avinash.

Hope you have gone through my query completely.If you want to check the already existing code you have to run in nwds .

Help me in downloading the jar files.How can I download them.

Regards,

Ramya

azharshaikh
Active Contributor
0 Kudos

Hi Ramya,

Did you check in the following Dir ur local system.

  1. Find the Java Webstart cache folder on your PC (Start Java Webstart and choose file -> options -> extended)
  2. Navigate to the folder http -> <server> -> <port> -> DMrep -> DMrepository
  3. Here you find:
    • For PI 7.0 RMaii_map_api.jar and RMsapxmltoolkit.jar which you can use instead of aii_map_api.jar and sapxmltoolkit.jar
    • For PI 7.1 RMcom.sap.xpi.ib.mapping.lib.jar and RMsap.com~tc~sapxmltoolkit~sapxmltoolkit.jar which you can use instead of com.sap.xpi.ib.mapping.lib.jar and sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar


Regards,

Azhar

former_member184720
Active Contributor
0 Kudos

>>>Help me in downloading the jar files.How can I download them.

This was already addressed by Azhar. You can find the location information and how to get them @

Where to get the libraries for XI development - Process Integration - SCN Wiki