cancel
Showing results for 
Search instead for 
Did you mean: 

Context Objects & XSLT Mapping

Former Member
0 Kudos

What are Context Objects.......What is their use

Why would we go for XSLT Mapping in XI....Thank you

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Context Objects is very well explained by others .

If you want to learn XSLT mapping go thorugh this site -->

http://www.w3schools.com/xsl/

Very user freindly site with all the comands.

- Lalit Chaudhary -

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Answer for your previous thred.

what is the tcode to see alert ?

you can view it in RWB there ia a tab called alert click it ..there you can find it.

this will help you to understand more..

The Following URL'S will help you for the Alerting Configuration.

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/1b9259fb002be8e10000000a11466f/frameset.htm

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions

Regards

Agasthuri Doss

Former Member
0 Kudos

I prefer XSLT Mappings over Graphical mappings, since it's easier to use. One other big advantage of using XSLT mapping not mention, atleast I think, is that changes to XSD's loses all mappings with graphical mappings but with XSLT's you just add the field changed or added, instead of starting over(which you will have to do if you re-import your XSD)...

Dave

Message was edited by:

David Näsvik

Former Member
0 Kudos

Context Objects are used for content based routing.

Context objects are alternative to XPATH expressions. It is like macros in other programming langugage. If you define this , you can use this object in the receiver determination while doing conditional receiver determination

For more-

http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm

/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object

================================================================

XSLT is made for mapping XML to HTML or XML to XML. In the XI environment there are different mappings options availiable e.g: graphical (message) mapping, XSLT, Java , ABAP.

XSLT is, compared to the other techniques, easy to learn and good to enhance. It has a worse performance than the other techniques.

Usually it is the decision of the developer which mapping to choose looking at the different aspects of the requirement like message size, complexity of mapping and so on.

For "An Overview of XSLT Mapping":

https://www.sdn.sap.com/irj/sdn/developerareas/java?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958... [original link is broken]

Few other links that might help you to understand XSLT in better way :

http://help.sap.com/saphelp_nw2004s/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/gen...

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

thanks,

Pooja

Former Member
0 Kudos

Alexander,

This is already discussed..

Avoid new posts on the same topic.

Regards,

Jai Shankar.

Former Member
0 Kudos

Hi,

> What are Context Objects.......What is their use

Context object is some kind of short cut (pointer) to certain element in xml message . Please read more about it in XI help.

> Why would we go for XSLT Mapping in XI....Thank you

Because some people feal more comfortable in XSLT than graphical mapping and some mappings are easier to be done using XSLT.

Please read more about XSLT in XI help.

Regards,

Wojciech

former_member206604
Active Contributor
0 Kudos

Hi,

<i>>>>What are Context Objects...What is their use</i>

There are lots of discussion on context objects just try searchin for context objects

<i>>>>Why would we go for XSLT Mapping in XI</i>

Each mapping has its own adavantages and disadvantages. XSLT is one type of mapping that Xi supports. XSLT mapping also do have certain advantages like if you need a formatted output like HTML in XSLT it would be easy to implement... XSLT is a W3C standard so if also works in any other integration s/w other than XI so it is portable.