XSLT Mapping :-- End to End Scenario

Can any one provide XSLT Mapping End to End scenario with screen shots?

HI
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.
Using XSLT mapping in a ccBPM scenario
File to Multiple IDocs (XSLT Mapping)
Steps required for developing XSLT Mapping
u2022 Create a source data type and a target data type
u2022 Create Message types for the source and target data types.
u2022 Create Message Interfaces includes Inbound Message interface and Outbound Message interface.
u2022 XSLT Mapping does not require creation of Message mapping, so donu2019t create any Message mapping.
u2022 Create an .XSL file which converts source data type into target data type.
u2022 Zip that .xsl file and import it into Integration Repository under Imported Archives.
u2022 In Interface Mapping choose mapping program as XSL and specify this zip program. (Through search help you will get XSL Mapping programs that you imported under Imported Archives, select your corresponding XSL Program)
u2022 Test this mapping program by navigating to Test tab.
By having look at above steps you can easily find out that this mapping is no where different from other mapping programs, here the challenging lies in creating an XSLT file. If you spend couple of minutes in studying XPATH tutorial you would be in ideal position to create an XSL Transformation (.xsl extension).
If you still find difficulties in generating XSL Transformation, then you can make use of a tool u201CAltova MapForceu201D which will create XSL file for you.
Steps for creating XSL file using this tool:
1. Open the Alto MapForce, import the source .xml and .xsd file in it
2. Similarly import the target .xml and .xsd in MapForce.
3. These two data files should match with source and target data types in Integration Repository.
4. Complete the graphical mapping using extensive list of XSLT functions available there.
5. Save the mapping file.
6. Click the XSLT tab. You will have the entire xslt logic there.
7. Copy that content and save it as .xsl file.
8. Zip above .xsl file and import the same into IR under Imported Archives.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
xpath functions in xslt mapping
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=xslt+mapping&adv=false&sortby=cm_rnd_rankvalue#
complete mapping guide:
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
XSLT MAPPING:
Generic XSLT Mapping for SAP XI,Part I
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
Generic XSLT Mapping for SAP XI,Part II
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
XSLT: Recursive Templates
XSLT: Recursive Templates
Easy RFC lookup from XSLT mappings using a Java helper class
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
Step u2013 By u2013 Step Simple Approach for XSLT Mapping
Step – By – Step Simple Approach for XSLT Mapping
http://www.devguru.com/Technologies/xslt/quickref/xslt_element_applytemplates.html
cheers
Edited by: vemuganti naga phalguna on Jul 2, 2008 8:59 AM
Edited by: vemuganti naga phalguna on Jul 2, 2008 9:07 AM

Similar Messages

  • Is it possible to replace  XSLT mapping in place of Graphical mapping

    Is it possible to do XSLT mapping in place of Graphical mapping, in any normal scenario?
    Means the fuctionality we do by using Graphical mapping(like the operations by using node functions etc...) could possible to do with XSLT Mapping?

    HI
    yes it is possible to replace the graphical mapping with the XSLT mapping.
    But using XSLTs degrade the performance of the interface and moreover they are not easily maintainable.
    Refer the below links for assistance on XSLT Mapping:
    XSLT MAPPING:
    Generic XSLT Mapping for SAP XI,Part I
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    Generic XSLT Mapping for SAP XI,Part II
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    XSLT: Recursive Templates
    XSLT: Recursive Templates
    Easy RFC lookup from XSLT mappings using a Java helper class
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    Step u2013 By u2013 Step Simple Approach for XSLT Mapping
    Step – By – Step Simple Approach for XSLT Mapping
    http://www.devguru.com/Technologies/xslt/quickref/xslt_element_applytemplates.html
    XSLT Mapping
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
    xpath functions in xslt mapping
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=xslt+mapping&adv=false&sortby=cm_rnd_rankvalue#
    Using XSLT mapping in a ccBPM scenario
    File to Multiple IDocs (XSLT Mapping)
    Comparsion of Different mappings:
    Comparing Performance of Mapping Programs
    Complete mapping guide url:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
    cheers

  • Java and XSLT Mapping. Help required

    Hi All,
    Why I require Java Mapping and XSLT Mapping when I have Graphical mapping ?
    Please explain Java Mapping and XSLT Mapping with examples.
    Regards

    Hi,
    there are lot of thread alredy posted please serach
    check following link
    http://help.sap.com/saphelp_nw04/helpdata/en/ce/1d753cab14a909e10000000a11405a/frameset.htm
    XSLT Mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
    Java Mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
    Links of blogs on java mapping...
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    blog
    /people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping(file to xslt mapping)
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners(xslt with java enhancement function)
    Regards,
    Amit

  • XSLT Mapping......xsl-xs difference

    Dear all,
    In one of our scenarios we have used an xsd file where in we used xs instead xs1 and at the begining there was no name space.
    Can you throw more light on the same as I am confused.
    Thanks,
    Srinivasa

    Hi,
    Go through these
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
    Some scenarios
    /people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    Regards,
    AKshay Jamgoankar,
    Reward points if find useful.

  • Why xslt  mapping?

    I just want to know in what kind of mapping requirements we can go with xslt mapping which is not supported in graphical mapping?
    Please help me with few mapping requirements which is not supported in graphical mapping but we can achive using xslt mapping.

    Hi serach in SDN you will get everything ,...
    anyways refer these links
    A few example in which an XSLT mapping can be used:-
    When the required output is other than XML like Text, Html or XHTML (html displayed as XML)
    When default namespace coming from graphical mapping is not required or is to be changed as per requirements.
    When data is to be filtered based on certain fields (considering File as source)
    When data is to be sorted based on certain field (considering File as source)
    When data is to be grouped based on certain field (considering File as source)
    Advantages of using XSLT mapping
    XSLT program itself defines its own target structure.
    XSLT programs can be imported into SAP XI. Message mapping step can be avoided. One can directly go for interface mapping once message interfaces are created and mapping is imported.
    XSLT provides use of number of standard XPath functions that can replaces graphical mapping involving user defined java functions easily.
    File content conversion at receiver side can be avoided in case of text or html output.
    Multiple occurrences of node within tree (source XML) can be handled easily.
    XSLT can be used in combination with graphical mapping.
    Multi-mapping is also possible using xslt.
    XSLT can be used with ABAP and JAVA Extensions.
    Disadvantages of using XSLT mapping
    Resultant XML payload can not be viewed in SXMB_MONI if not in XML format (for service packs < SP14).
    Interface mapping testing does not show proper error description. So errors in XSLT programs are difficult to trace in XI but can be easily identified outside XI using browser.
    XSLT mapping requires more memory than mapping classes generated in Java.
    XSLT program become lengthier as source structure fields grows in numbers.
    XSLT program sometimes become complex to meet desired functionality.
    Some XSL functions are dependent on version of browser.
    Follow these links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
    Some scenarios
    /people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    The following links give u step-by-step solution for XSLT mapping:
    Generic XSLT Mapping for SAP XI,Part I
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    Generic XSLT Mapping for SAP XI,Part II
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    XSLT: Recursive Templates
    /people/udo.martens/blog/2006/04/26/xslt-recursive-templates
    Easy RFC lookup from XSLT mappings using a Java helper class
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    Regds
    Abhishek

  • Query on XSLT mapping

    how to build a scenario with XSLT mapping

    Hi
    Go through these
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
    Some scenarios
    /people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

  • XSLT mapping deserialization

    All,
    we are getting a response from a system in the following structure,
    <response>
    <responsetext><Employee><name>john</name></Employee><Employee><name>sam</name></Employee></responsetext>
    </response>
    The entire XML between <responsetext> is a string value of that node. we need to get the target xml of the following structure,
    <target>
    <Employee>
    <name>john</name>
    </Employee>
    <Employee>
    <name>sam</name>
    </Employee>
    </target>
    How can we do this in a XSL mapping?
    Thanks for the help.

    Hi
    Try with this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
    Some scenarios
    /people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    Thanks

  • Luck Up using XSLT Mapping

    Dear SDN,
    I have a interface SOAP(HTTP) -> XI -> R/3.
    In this interface, 3rd party sending 4 fields and are getting updated  in R/3.
    Now, I need to change in this interface.
    There are  4 fields in sender side and one field is like primary field. while updating this fields, I have to check whather the primary field is exist in R/3 then only update remaining fields else do not update the record/IDOC in R/3.
    And we are using XSLT mapping.
    In this scenario, how can I procede further.
    Please need your help and help me.
    Thanks
    Bala Prasad

    Hi Bala,
    u need go for XSLT look up methods were it chk for the primary key if it is found then it update or else nothing .
    pls chk for this blogs
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken]
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    pls chk for this
    if found worth pls do the req
    Thanx
    Sampath

  • GUID FormatExceptionError in End to End Scenario at runtime, but no error in Message Mapping test

    Hi Friends
    My scenario is Idoc to RFC and , my mapping is working fine and executing successfully in the message map tab but , it is failing in the End to End case at runtime with GUIDFormatException error, can anyone please help on this , I have searched the forum and no proper or concrete answers are available , creating a separate or new channel is not an option.

    Hi,
    Check in which step you are receiving this error
    1st check in SXMB_MONI/trace
    2nd If the above is successful then check in rwb/comm channel monitoring/receiver rfc channel.
    Regards
    Venkat

  • Subsciption and notification in segw transaction end to end scenario with example

    Subscription and notification scenario using service buider in sap netweaver gateway  with  end to end scenario with example .

    Hi,
    Please go through these links
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    Thanks
    Vikranth Khimavath

  • End to end scenario using Webservic and SAP XI

    Hi Experts,
                       I have read many blogs regarding Integrating XI using WebService, SOAP, HTTP  for many scenarios but I am still confused and no blogs were clearly saying about the end to end scenario what happens where and how?
    My question is could any one please please please explain me why we are using Webservice if you explain me with an CREDIT CHECK scenario using XI and Webservice that would be very fare.
    Thanks in advance,
    Cheers!!!!

    Hi
    Did you get to check this article,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9030d1ca-cf07-2b10-8b9c-f027fbc91ffd
    regards
    Sameer

  • End - to - End scenario of IDoC

    Hi,
    I am going to make a end - to - end scenario of IDoC.
    for Purchase Orders(ORDERS).
    ECC(RD1) - XI(XD1) - DB.
    what are the initial set up required on Sender System ( MY CASE - ECC)
    and on Receiver System( XI).
    Like I know this , we need to create following things :-
    ON ECC SIDE :-
    1. RFC Destination to XI(SM59)
    2. PORT FOR ABOVE RFC DESTINATION(WE21)
    3. LOGICAL SYSTEM(BD54).
    NQuestion 1: what all logical systems required on ECC Side.
    I mean do i have to maintain logical system for Both sender(RD1) and Receiver(XD1) ?
    4. PARTNER PROFILE(WE20).
    Question 2: If both logical system is maintained,
    then in Partner Profile , where will i add IDOCS - Outbound in SENDER LOGICAL SYSTEM(RD1) or ON RECEIVER LOGICAL SYSTEM(XD1).
    ON XI SIDE :-
    1. RFC Destination to XI(SM59)
    2. PORT FOR ABOVE RFC DESTINATION(IDX1)
    3. META DATA IMPORT (IDX5).
    Question 3: IS there any logical system required on XI Side also?
    is there any thing else left. please specify?
    Regards
    Dragon.

    thank You Srinivas,
    That second link( http://www.saptechnical .com/Tutorials/ALE/DataDistributeCustomIDOC/page1.htm ) was very usefull.
    regards
    Dragon.
    Edited by: KOMODO DRAGON on Jun 12, 2010 10:38 AM

  • How to test end to end scenario at RWB??

    Hi Experts
    is it possible to test end to end scenario at RWB???
    My scenario is SOAP to RFC and i should test whether my scenario is working fine or not????
    what types of testing has to be done and how???
    plz help me out
    Thanx in advance for your help

    Hello,
    In RWB goto Component monitoring -> Adapter Engine  on the screen you will be able to see three tabs
    Status Setting and Test Message.
    Goto test message. Give the details URL and payload for the soap execute.
    You can test it from otherway like suggested in above post.
    Thanks,
    Siddhesh

  • Certificate question in Web Dispatcher End-To-End SSL scenario

    Hy experts,
    in end-to-end SSL scenario the web dispatcher (WD) is not used to encrypt/decrypt data, it is only used to forward requests.
    So I think we do need a certificate for the portal server, but none for the web dispatcher itself, right?
    Another point is which data should be given for CN, DN, OU etc in this scenario (Portal or WD ??)
    kind regards
    Tom

    Tom,
    For end to end SSL you do not need a certificate for the Web dispatcher but your J2EE engine should be configured to be accessible over SSL.
    If you get the SSL certificate issued for the J2EE based on the name of the J2EE host it will result in a warning message as portal will be accessed using host name of Web dispatcher, so get the certificate issued under the name of the web dispatcher hostname. So, adjust your CN, DN, OU accordingly.
    Cheers!!

  • Simple End to End Web service scenario

    Hello All,
    Can any one please give me a link or basic documents where I can design end to end scenario using HTTP, SOAP adaptors. How to test these scenarios..... I want to build these scnearios using SAP PI Ehp 1
    Thanks
    Rajeev

    Hi,
    please do a search first on your own and come back with more detailed questions
    thanks,
    Regards,
    Michal Krawczyk

Maybe you are looking for

  • ITunes plays videos and podcasts when I click on music.

    Hi all I have a problem. when i click on music in the left menu. I notice when playign through my music set to randome that i get all media including podcasts, mpe books and other things that i woul dnot expect to be showing. I just want to randomly

  • Please Help me Urgent ....Archive and  Print of PO in ECC

    Hi all,     I had created a PO in <b>ECC 6.0 using Adobe Forms</b> and sending it as E-Mail attachment or Print, with this I need to Archive and Print the PO. In the communication method of the specified output type I am specifing the storage mode as

  • Does HDMI also need Optical Audio

    I'm not sure if this is normal or not. I have an Apple TV connected via HDMI to a Sony HTSS360 home theatre system. The receiver for this is model STR-KS360. The system works just fine but the rear (surround) speakers do not work. I also have an XBOX

  • Palm, Have a request if you can add the option on webOS 1.4, PLEASE!

    Please add a simple feature.. well two. 1) Please allow us to turn off auto-dim. I want my screen on my Pixi to be full blast. You give us these wonderful high-res screens, and they can only be used to their fullest potential during bright lights? No

  • IPad stuck when updating wirelessly to iOS 6.1

    I was able to update my iPhone 4 without any problem.  Now my iPad appears to be "stuck" after at least 20 minutes of waiting the bar hasn't moved and it says "preparing update".  All the help I see about upate problems are discussed when people have