Understanding and working with ABAP Mapping



Understanding and working with ABAP Mapping




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 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 for making use of ABAP Mapping class.
Pre-requisites and Steps required for developing ABAP Mapping Classes
Pre-requisites: Enable ABAP Mapping:
Add additional mapping types in your exchange profile
Open http://:/exchangeProfile/index.html
Choose IntegrationBuilder ->IntegrationBuilder.Repository -> com.sap.aii.repository.mapping.additionaltypes
Maintain the Entry R3_ABAP|Abapclass;R3_XSLT|XSL (ABAPEngine)
Check whether the data has been successfully read from the exchange profile:
Open http://:/rep/support/admin/index.html
Choose Administration of Properties -> All Properties . If the value associated to parameter com.sap.aii.repository.mapping.additionaltypes is not correct, Choose at the top of the page and refresh.
Steps to create an ABAP Mapping Class:
1. Create a new ABAP class in transaction SE24 of ABAP Stack of XI,























2)The ABAP Class has to implement the interface IF_MAPPING

SAP Developer Network SAP Weblogs: SAP Process Integration (PI)