Skip to Content
avatar image
Former Member

Java Mapping Issue

Hi Gurus

Can you please help me with the below error I am getting when I am trying to run a Java mapping developed by a pervious developer by exporting it in to Ecslipse - Also, I have included the following jar files as well: com.sap.xi.mapping.tool.lib_api.jar & com.sap.xpi.ib.mapping.lib.jar

Please, let me know if I am missing and Jar in order for me to test out the code in Ecslipse.

Thanks for your help!!

Rithvik

Capture9.PNG (22.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 08, 2015 at 05:44 AM

    Hi Rithvik,

    It seems previous developer has his own implementation for TransformationInputImpl, InputPayloadImpl etc.. to simulate java mapping in standalone version. Either try to get these class files into your java project if you want to test in standalone mode, Else comment the implementation method call statements if you don't want test in standalone mode

    If you prefer standalone testing and your done with it, then please comment these implementation classes and their method calls and then with a compilation deploy it to PI system

    Best Regards,

    Praveen Gujjeti

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 07, 2015 at 11:17 PM

    Rithvik,

    I add these jar files to library when I write Java Mapping.

    com.sap.aii.mapping.api.filter.jar

    com.sap.aii.mapping.lib.facade.jar

    com.sap.xi.mapping.tool.lib.filter.jar

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 07, 2015 at 11:25 PM

    Hi Rithvik,

    Why don't you use NWDS instead of only eclipse?, NWDS is an eclipse adapted for SAP Java development. You can download the version for your PI NWDS Download Links - Java Development - SCN Wiki

    With libraries that you are importing you should have a PI 7.1 or upper. Are you sure that you are importing the libraries correctly? (if it is your first time you can follow this video tutorial Eclipse - importing Java Packages and JAR Files - YouTube)

    With the libraries that you have mentioned should be enough, check this wiki XI libraries for development - Process Integration - SCN Wiki

    Hope this helps.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded