cancel
Showing results for 
Search instead for 
Did you mean: 

How to use XI Value Mapping from Java Mapping

Former Member
0 Kudos

I'm using a conversion units table stored in external xml document but i'd like to avoid external files in xi mappings so i think the best option is replace this file for a value mapping. Is this possible?

If it's possible, how can i do to access these key-value pairs from within java code?

And is it possible to access a value mapping from a program running outside xi?

Thanks in advance.

Joaquin Carballo

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ger,

The Java API for calling the SAP XI Value Mapping is documented in http://help.sap.com/saphelp_erp2004/helpdata/en/84/4afc51f65c4e4fabfbbbd25f548ab7/frameset.htm. I successfully used the method executeMapping().

It is not possible to access the value mappings from outside XI.

FYI: not being able to access Value Mappings from outside SAP XI was one of the reasons to store the Value Mappings in Oracle and not to use the XI Value Mapping mechanism. When developing XSLT maps outside SAP XI, we want to test them with value mapping.

Kind regards, Guy Crets