cancel
Showing results for 
Search instead for 
Did you mean: 

mapping functions in XI

Former Member
0 Kudos

HI Experts,

I am looking for a doc , blog or any link where i can get explanation on all the mapping functions available and also about the user defined java mapping functions that we create.

thanks

sankar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Mappings

Value mapping

XSLT mapping

Learning XSLT mapping

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffb...

ABAP MApping: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0...

http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm

XSLT Mapping

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2e...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923...

Java Mapping:

Pls check

Link:

Message Mapping

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

/people/jeyakumar.muthu2/blog/2005/12/19/data-mining-using-apriori-algorithm-in-xi-150-part-ii

/people/jeyakumar.muthu2/blog/2005/11/23/data-mining-using-apriori-algorithm-in-xi-150-part-i

/people/jeyakumar.muthu2/blog/2005/12/30/data-mining-using-apriori-algorithm-in-xi-150-part-iii

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Regards,

Phani

Answers (5)

Answers (5)

Former Member
0 Kudos

HI

Mapping Techniques in XI

Different Mapping Techniques are available in XI. They are: Message Mapping, XSLT Mapping, Java Mapping and ABAP mapping.

u2022The integration repository includes a graphical mapping editor. It includes built-in functions for value transformations and queue and context handling. There is an interface for writing user-defined functions (java) as well.

u2022XSLT mappings can be imported into the Integration Repository; java methods can be called from within the XSLT style sheet. Advantages of this mapping are: open standard, portable, extensible via Java user-defined functions.

u2022If the transformation is very complex, it may be easiest to leverage the power of Java for mapping.

u2022ABAP mapping programs can also be written to transform the message structures.

Message Mapping

SAP XI provides a graphical mapping tool that generates a java mapping program to be called at run time.

u2022Graphically define mapping rules between source and target message types.

u2022Queue-based model allows for handling of extremely large documents.

u2022Drag-and-drop.

u2022Generates internal Java Code.

u2022Built-in and user-defined functions (in Java)

u2022Integrated testing tool.

u2022N:M mapping is possible.

Message mapping are of 2 types.

a.Structure Mapping: transform entire message structure.

b.Value Mapping: Transform values within messages.

Interface Mapping

An interface mapping registers a pair of interfaces for use in a scenario, and specifies the message mapping(s) to be used.

u2022Representation of mapping at the interface level.

u2022Mapping programs can be called sequentially.

u2022For synchronous interfaces, a request and response mapping can be provided.

JAVA MAPPING:

Usually Java mapping is preferred when the target structure is relatively complex and the transformation cannot be accomplished by simple graphical mapping.

http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uid/10dd67dd-a42b-2a10-2785-91c40ee56...

Java Mapping in XI

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+mapping&adv=false&sortby=cm_rn...

SAP Network Blog: Implementing a Java Mapping in SAP PI

Java Mapping (SAP Library - Partner Connectivity Kit)

http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

SAP Network Blog: XI Java Mapping Helper (DOM)

SAP Network Blog: Testing and Debugging Java Mapping

Binary Conversion in XI - Java Mapping - Code Gallery - Wiki

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/binary%2bconversion%2bin%2bxi%2b-%2bjava...

SAP Network Blog: "JAVA MAPPING", an alternate way of reading a CSV file

http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm

http://help.sap.com/saphelp_nw04s/helpdata/en/43/09b16006526e72e10000000a422035/frameset.htm

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5242. [original link is broken] [original link is broken] [original link is broken]

ABAP mapping

ABAP mappings run on ABAP Stack and are developed in the ABAP workbench of the Integration Server.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d030259...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4...

https://websmp101.sap-ag.de/~sapdownload/011000358700003082332004E/HowToABAPMapping.pdf

/people/r.eijpe/blog

XSLT Mapping:

XSLT stands for EXtensible Stylesheet Language Transformations. It is an XML based language for transforming XML documents into any other formats suitable for browser to display, on the basis of set of well-defined rules.

The mapping comparisons

XI New Mapping Features article,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi%203.0%20new%...

Mapping:

http://help.sap.com/saphelp_nw04/helpdata/en/c8/b78d406b305537e10000000a1550b0/frameset.htm

cheers

Former Member
0 Kudos

Hi,

there is no Blog which has done with all the Standard Mapping functions in one place.

http://help.sap.com/saphelp_nw04s/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm

Regards

Seshagiri

former_member193376
Active Contributor
0 Kudos

Hi

Message Mapping(Node Function) Part-1

Sravaya Talanki- Message Mapping(Node Function) Part-2

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Standard Functions

These are the inbuilt standard function

1. BOOLEAN FUNCTION

2. NODE FUNCTION

3.STATISTICS FUNCTION

4. DATE FUNCTION

5.CONSTANTS FUNCTION

6.CONVERSIONS FUNCTION

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

Advanced mapping function(mapwithdefault,formatbyexample,sort,sortbykey)

msg splitting

Number Formatting

Use one as many optimization

mapping- createif, removecontext,splitbyvalue

mapping- createif, removecontext,splitbyvalue

queues in message mapping

Handling mixed content

Simple java code in graphical mapping - XI

Value Mapping

Value Mapping1

User-Defined Functions

Advanced User-Defined Functions

Container Object

GlobalContainer Object

MappingTrace Object

Accessing Adapter-Specific Attributes

Duplicating Subtrees

Test Environment

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

Thanks

Saiyog

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Please take a look at these links,

mapping functions

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Thanks

Vikranth