cancel
Showing results for 
Search instead for 
Did you mean: 

XI Mappings

Former Member
0 Kudos

Hi Experts,

How XI Mappings come in real time. How they will ask. What kind of work i will expect as i am a xi resource. I am new to XI.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kasi,

In real time most of the work is mappings only. For mappings

you will get mapping specs in that mapping sepec it will specify

how sender is map to target. Based on some conditions on source data target data will populate.

Some times the conditions are very typical then the graphical mapping is not sufficient then you will go for udf's on which you are femeliar with java code.

As i am a java resource having xi knowledge better go for java code it easy compare to big and typical graphical mapping.

Sample Mappings for IDOC to EDI scenario

Source Field

E2EDP19001 QUALF "001"

Target Field

IT1 06 If QUALF = "001" Set IT1.06 = "CB"

You have map E2EDP19001.QUALF to EDI target value IT1.06 based on condion i.e., if( QUALF = "001") else the Target side node it self not populated.

In every spec you will found these kind of conditions more than 20

These kind of specs you have to do carefully and you have to test all conditions by giving wrong value and with out value and duplicating the node like that.

These kind of specs 4 or 5 for one customer. Each spec is one senario.

Another Kind of work is Configuration of scenarios.

Monitoring Messages if any thing wrong like data is not came to target you have to check why its not happen.

Thanks,

RamuV

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

HI

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.

Mapping Templates: We can save parts of message mapping as mapping templates and reuse them elsewhere.

Mapping Trace: It enables us to transfer information for the mapping trace during mapping to a container that can be viewed by users in message monitoring.

JAVA MAPPING:Java mapping are used when graphical mapping cannot help you.

Advantages of Java Mapping

1)you can use Java APIs and Classes in it.

2) file look up or a DB lookup is possible

3) DOM is easier to use with lots of classes to help you create nodes and elements.

Disadvantages of Java mapping

1)SAX parser is not easy to develop

2)DOM parser is intensive

3) Java knowledge is required

4) bit complexer

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 are mapping programs in ABAP objects that customers can implement using the ABAP Workbench.

An ABAP mapping comprises an ABAP class that implements the interface IF_MAPPING in the package SAI_MAPPING. The interface has a method EXECUTE with the some signature.

Advantages of ABAPMapping

1) A person comfortable with OOABAP can go for ABAP mapping instead.

Disadvantages of ABAP Mapping

1) Abap knowledge is required

2) bit complexhttps://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383

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:

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.

XSLT Mapping

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

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae...

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

The mapping comparisons

cheers

Former Member
0 Kudos

Hi,

Mappings depending on the Scenario,which will get from the client..

client will give the Functional specs ,Technical specs and Mapping specs..

so use these documetns and design the sceanrio..

Role of XI Consultant

XI Consultant involved in Design the scenario in IR ,Configturation in ID,RWB or END to END work..in XI.

that depends on work allocation by your PL or PM

reg,

suresh

GabrielSagaya
Active Contributor
0 Kudos

when different interfaces are used in an integration scenario, we must provide a mapping to transform the structures of the interfaces.

There are various mapping techniques in XI

1)Graphical 2) JAVA 3)XSLT 4)ABAP mapping

Sravaya Talanki- 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

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

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

(UDF-Result Multi Hierarchy structure)

msg splitting

Number Formatting

UDF-Connection DB

Use one as many optimization

UDF-Queue

UDF-ResultList

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

java mapping flat files

XSLT mapping

java mapping csv file

mapping- createif, removecontext,splitbyvalue

mapping- createif, removecontext,splitbyvalue

UDF-complex mapping

queues in message mapping

Handling mixed content

Simple java code in graphical mapping - XI

GlobalContainer - in graphical mapping

Value Mapping

Value Mapping1

mapping performance

multimapping

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