cancel
Showing results for 
Search instead for 
Did you mean: 

Java Class Mapping

Former Member
0 Kudos

Hi everybody.

Anybody can give me example java code for mapping massage ?

thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anwar

Java Mapping is one of the mapping techinuqe which xi supports,

There are few steps which you need to follow while doing java mapping.

Steps:

1)you need to use any parsing Technique either DOM Or SAX.

2)Develop your java class with out main method in Netweaver Developer stdio.

3)Need to create a jar file in the Cmd(commond line promot.

Commond for creation of jar cf name.jar filename.class

4)import your jar file in to IR.you can see Imported Objects under software component.Right click on the Imported Object and select New and enter the name and browse your jar file and select the corresponding jar file which you created and click save and activate.

5)when you are doing Interface Mapping you need to select as Java calass and select the Mapping program and after the process is same as normal.

If you have any doubts please let me know I can very welcome to receive your queries.

Thanks and Regards,

Sekhar

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

if you want to use java mapping there are even blogs about it:

/people/venkataramanan.parameswaran/blog/2006/12/12/java-mapping-to-handle-flat-files-in-sap-xi

with sample code of course

BTW

if you want to jar file for this mapping check XI FAQ

(link below)

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you will also need this blog (from Stefan Grube):

Testing and Debugging Java Mapping

/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>