Understanding and working with ABAP Mapping


SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

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_ABAPAbapclass;R3_XSLTXSL (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, 

SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

 

2.
The ABAP Class has to implement the interface IF_MAPPING

3.
The method EXECUTE of this interface needs to be developed, this method will be called from during mapping, the method has the following parameters:

The SOURCE parameter contains the input XML structure in XSTRING format.
The mapping program needs to construct the RESULT xstring, which will be used for the construction of output XML structure.

4. The explanation of the ABAP Mapping is provided later in the document in the section Steps to be followed in the ABAP Mapping Class.

SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter
en.pdf24.org    Send article as PDF   
This entry was posted in sap pi 7.1 tutorials, SAP PI Mappings. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *