|Home • Trainings •Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Understanding and working with ABAP Mapping
By Yugandhar Kotha, YASH PI Competency Core Team, YASH Technologies
This document gives you clear understanding of ABAP Mapping,
how to enable the option to use ABAP Mapping class in XI Interface Mappings, how
to parse and read the input XML source structure and build the output XML target
Below are different ways of achieving this conversion in XI:
The rest of the document gives you pre-requisites and steps that are necessary for making use of ABAP Mapping class.
Pre-requisites and Steps
required for developing ABAP Mapping Classes
Enable ABAP Mapping:
additional mapping types in your exchange profile
whether the data has been successfully read from the exchange profile:
create an ABAP Mapping Class:
The SOURCE parameter contains the input XML structure in
The mapping program needs to construct the RESULT xstring,
which will be used for the construction of output XML structure.
Scenario Demonstrating the usage of ABAP Mapping
The scenario here
involves the conversion of a customer format xml file containing the information
of the employees in one specific format to another format. The source file is
available on the FTP and the Sender file adapter picks it. This file is deleted
and archived on a different directory on the FTP. The source XML file is
converted into target XML file by the ABAP mapping program and this target file
is placed on the FTP again on a different directory.
Here is the
source XML structure:
Here is the
target XML structure:
DEVELOPED FOR THE SCENARIO
The following are
the object details that are developed for this scenario:
Objects developed in
the Integration Repository
Mapping is required as we could directly specify the mapping object as ABAP
Mapping class in the Interface mapping object.
Objects created in the Integration Directory
YASH_FTP (the same business service is used as Sender and Receiver )
o Receiver Determination
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards