Documente Academic
Documente Profesional
Documente Cultură
Home
Trainings
Quiz
Tips
onials Advertise
Contact Us
SAP Virtual/Onsite Trainings
Tutorials
Functional
Cert Q's
Interview Q's
Document Categories:
ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
eCATT
Object Oriented Programming
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others
What's New?
ABAP Test Cockpit HOT
SAP ABAP Pragmas
Understanding SE32 (ABAP Text Element Maintenance)
Creating an IDoc File on SAP Application Server
Understanding Advance with dialog option of SAP Workflow
SAP Workflow Scenario: Maintenance Notification Approval
Enhancements to a standard class
Working with Floating Field in Adobe Forms
Inserting data from Internal Table into the step Send Mail
Display GL Account long text using enhancement framework
Differences between polymorphism in JAVA and ABAP
Passing multiline parameters from an ABAP Class event to a Workflow container
Concept of Re-evaluate agents for active work items in SAP Workflow
Dynamic creation of component usage in ABAP WebDynpro
Adobe Forms: Display symbols like copyright and others
Deactivate Hold functionality in Purchase order (ME21N)
Quiz on OOABAP
Add fields in FBL5N using BADIs
Tutorial on Wide casting
Defining a Range in Module Pool Program
Copy fields from one structure/table into another structure/table
Side Panel Usage in NWBC
Contribute?
Sample Specs
Jobs
What's Hot?
Web Dynpro for ABAP Tutorials
Join the Mailing List
Enter name and email address below:
Name:
Email:
Subscribe Unsubscribe GO
XSLT Mapping
By Vijay Kumar Thirumareddi, YASH PI Competency Core Team, Yash Technologies
This document gives you clear understanding of XSLT Mapping, which shall convert
source structure to specific target structure.
Below are different ways of achieving this conversion in XI,
Message Mapping (Graphical Mapping using Mapping Editor in XI )
Java Mapping
ABAP Mapping
XSLT Mapping
The rest of the document gives you pre-requisites and steps that are necessary f
or making use of XSLT Mapping.
Pre-requisites
XSL
XSLT XSL Transformations, the purpose of this is for transformation of XML docum
ents into other formats like XML, XHTML and etc. Here is the link to get corresp
onding tutorial http://www.w3schools.com/xsl/default.asp.
XPATH XSLT uses XPATH to find information in an XML document. XPATH is used to
navigate through elements and attributes in XML documents. Here is the link for
same http://www.w3schools.com/xpath/default.asp.
Steps required for developing XSLT Mapping
Create a source data type and a target data type
Create Message types for the source and target data types.
Create Message Interfaces includes Inbound Message interface and Outbound Messag
e interface.
XSLT Mapping does not require creation of Message mapping, so don t create any Mes
sage mapping.
Create an .XSL file which converts source data type into target data type.
Zip that .xsl file and import it into Integration Repository under Imported Arch
ives.
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)
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 wh
ere 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 wou
Here the target system expects the xml files in CIDX format, so XI system takes
IDoc as an input and converts it to an XML file adhering to CIDX naming standard
s.
Important steps to make this scenario:
Import needed IDoc structure into IR, in our scenario import IDoc DESADV
.DELVRY03
Import ZIP file corresponding to XSLT under Imported Archives in IR, whi
ch can transform source message to target structure.
Objects needed to be developed in IR
Inbound Message Interface: Create Inbound Message Interface resembling target CI
DX message.
Save it
Choose corresponding Archive program from the search help provided under
Name .
Save it.
Now activate all the objects that are developed in IR.
Click here to continue...
Disclaimer
Safe
Companies: Advert
footer image