cancel
Showing results for 
Search instead for 
Did you mean: 

about mapping

Former Member
0 Kudos

hi to all,

whether we can use two different type of mapping (ex : abap,xslt or java & xslt ),in single message mapping.

thanx in advance.

kumar.

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi sravan,

In a single message mapping you use either of the 4 mapping technique(Graphical,Java,XSLT or ABAP).

within the grapical mapping you can use UDFs for more enhancements where you need to write java code.

Please reward points if helpful.

Regards

Sankar

Former Member
0 Kudos

Hi Sravan,

We can use different mapping technique as per our requirement.

1 Graphical Mapping The classical mapping what u see in message mapping. advantage is u need not code explicitly. Disadvantage is very complex requirement cannot be met. this gives way to the below mappings

2. Java Mapping :Advantage is u can use both sax and dom parsers

3 XSLT Mapping: Simpler than java mapping but u cannot use much of API's..u might have the option of looks up in xslt mapping

4 ABAP Mapping. So far i had seen use of dom parsers in the abap mapping

Also check the below links:

/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping

/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

for abap mapping see this

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

/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc

/people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility

/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping

for XSLT mapping see this

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

java mapping

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

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

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i

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

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

hope it helps

Roddrigo

ps:reward points if useful

Thanks

Former Member
0 Kudos

Hi Sravan,

Java mapping or XSLT mapping itself are seperate mapping programs.Therefore the point of using them in a single message mapping is a bit absurd. If your point is can we use Java mapping in conjunction with graphical and XSLT Mapping than the answer is "YES". You can do this in INTERFACE Mapping.

Let me outline the steps for you.

1).You need to select your outbound and inbound interfaces.

2).Then while slecting the mapping program you can specify "n" number of mapping programs there.For ex: You can first select Mapping program type as JavaClass and specify the Java MappingClass file which you have imported into imported archives.Than you can insert an aditional line and select a different mapping.

Here your mapping output of the first mapping program will come as the input to the second mapping program.Thus they work in combination with one another.

Please let me know if u need furthut information.

Thanks,

Bhargav.

Note:Award points if found useful.

Former Member
0 Kudos

Hello,

their exist the following mapping programs:

JAVA, ABAP, Message mapping and XSLT

In some of them you can use other mappings: for example you could write your own JAVA code inside a Message mapping.

In a Interface Mapping (mapping between two Message Interfaces) you could use different mapping programs: for example a Java, XSLT and a Message Mapping

Regards

Patrick

Former Member
0 Kudos

Hi,

This is one of the Example for your Question

/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping

Regards

Seshagiri

Former Member
0 Kudos

For one mapping we can use only one mapping either ABAP/JAVA/XSLT/Message Mapping.

Suppose In a single scenario multiple mappings are there then we can go for any mappings.( one is ABAP one is JAVA,....)

ravi_raman2
Active Contributor
0 Kudos

sravan,

Yes you can..i have only used a combo of graphical, udf, and xslt..

graphical and udf to generate target and xslt to create output in html...1&2 in one and 3 in other..

Regards

Ravi