Skip to Content
avatar image
Former Member

Context Objects & XSLT Mapping

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Nov 21, 2006 at 06:03 PM

    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

    what is context objects and how we can use it Receiver Determination

    <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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 21, 2006 at 06:06 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 21, 2006 at 06:06 PM

    Alexander,

    This is already discussed..

    context-object

    Avoid new posts on the same topic.

    Regards,

    Jai Shankar.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 21, 2006 at 06:18 PM

    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

    Context 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-958247c9f798 [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/generic%20xslt%20mapping%20in%20sap%20xi%2c%20part%20i.pdf

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

    thanks,

    Pooja

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 21, 2006 at 08:05 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 21, 2006 at 09:15 PM

    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.

    alerts-in-ms-inbox

    /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

    alert-monitoring

    alert-not-working

    Regards

    Agasthuri Doss

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 22, 2006 at 04:08 AM

    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 -

    Add comment
    10|10000 characters needed characters exceeded