cancel
Showing results for 
Search instead for 
Did you mean: 

Java MApping

Former Member
0 Kudos

Hi All,

Iam learning XI, I want to know how to do JAVA Mapping in XI.

what are the steps I have to follow to do JAVA Mapping

can you people provide any links or Step by step PDF file or step by step blog

Thanks in Advance

Dushanth Reddy.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dushanth,

Pls check Prasad's weblog

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii

Link:

Search in SDN you will get weblogs, links and also you can post for any help

Regards,

Ram

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Reddy,

1.Develop your Java code locally e.g. with your IDE

2.Create a .jar or a .zip

2.1 Using the jar command of the jdk

2.2 Using a built-in IDE functionality

3.Create a new Imported Archive and import the .jar to the Integration Repository

Define a Java class that implements the Java interface com.sap.aii.mapping.api.StreamTransformation

The interface contains two methods:

1. public void execute(java.io.InputStream in, java.io.OutputStream out)

to perform the mappings.

2. public void setParameter(java.util.Map param)

to access to runtime constants possible (for example: INTERFACE, SENDER_NAME)

The required libraries are contained in the aii_map_api.jar, which is part of your SAP J2EE Engine installation

DOM and SAX Parsers provided by the SAP XML Toolkit for Java can be used

API to execute value mappings