cancel
Showing results for 
Search instead for 
Did you mean: 

XI 2.0 Java Mapping Examples

larry_chaput
Participant
0 Kudos

I am continually running into problems getting the graphical mapping tool to map the way I would like it to, therefore I would like to try developing some Java Mappings.

Question 1.

When passing control over to Java Mapping program (execute(InputStream in, ...)), will it receive the entire document from XI or just pieces at a time?

Question 2.

Does anyone have any examples of Java Mappings including input and expected output files that they can email me? (I will post my email after I know someone has)

Question 3.

Is there any special packaging I need to be aware of for my Java Mapping to work? ... is it just a standard jar I put it in?

Please feel free to respond if you have any or all of the answers.

thx

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

did you see the "How to Implement Java Mapping" document available on the SAP Service Marketplace? Here is the path to it: http://service.sap.com/xi -> Implementation -> Implementation Tips&Tricks -> Design -> How to Implement Java Mapping.

Hope that helps!

larry_chaput
Participant
0 Kudos

Hi Ivaylo,

I went to http://service.sap.com/xi -> Implementation -> Implementation Tips&Tricks ... but beyond that there were no such links to --> Design ... and no Guide either. From "Implementation Tips&Tricks" I followed all other links including the ones related to guides and was still unable to find it. I searched using there document search tool ... no luck ... went to google and just looked for the term "How to Implement Java Mapping" and again ... no luck.

If you have this document would you be able to send it to me? Also, does this document contain examples, input and output data and pretty much everything I'll ever need to know about Java Mappings?

thx

Former Member
0 Kudos

Hi Larry,

yes, the document contains code samples with both SAX and DOM parsers, input and otput parameters, etc. However, I cannot be sure this is exactly what you're looking for.. So give it a try...

Here're some further notes on how to find the document. Clicking on the Implementation Tips&Tricks link from the lefthand side tree opens a page in the right frame. At the bottom of this page you'll find the Design link, below which the actual document is located.

However, if you still have problems finding it on service marketplace, mail me at ivaylo.ivanov@sap.com and I'll send the document with the reply.