ABAP Mapping Support in PI 7.1
Experts,
Will there be ABAP Mapping support going forward in PI 7.1 ? I have heard that ABAP mappings are "not recomended". Is there a reason/logic behind it ?
Any ideas will be of help.
Thanks,
AM
> Will there be ABAP Mapping support going forward in PI 7.1 ?
Yes PI7.1 will support ABAP Mapping.
>I have heard that ABAP mappings are "not recomended". Is there a reason/logic behind it ?
Performance point of view its not adviceble to implement ABAP Mapping.But if you follow best coding standards we can use ABAP mapping too..
Regards,
Raj
Similar Messages
-
ABAP mapping split messages and dynamic filename
Hello,
i have set up a IDOC to file scenario where the IDOC is split into several files, which works fine. In addition to this it is required to set a dynamic filename out of the ABAP mapping for each file. If only one file is created this works already as well but how do you set the dynamic configuration when the messages are split?
Regards,
Andreas
Edited by: Andreas on Feb 26, 2009 9:09 AMyou cannot do dynamic configuration for message splits. The below is from SAP help.
Adapter-Specific Attributes and Multi-Mappings
In multi-mappings, there are multiple message headers with adapter-specific attributes. The mapping API can only access one message header. This has the following consequences depending on whether there are multiple source or target messages:
u25CF 1:n Transformation
If there are multiple target messages, the header for the adapter-specific attributes is copied for each message. This means that you can only create one header for all adapter-specific attributes, and not individual headers.
u25CF n:1 Transformation
This variant is only possible for multi-mappings in integration processes. If there is more than one source message, read-access to the adapter-specific attributes of the various message headers is not possible at runtime.
u25CF m:n Transformation
All afore-mentioned restrictions apply here. Developers can at most write the same adapter-specific attributes for all target messages to the header, without read-access to the attributes of the source messages. m:n transformations are only supported within integration processes.
What i will suggest is to use BPM to have the message split i.e 1:N mapping and then after that have another mapping 1-1 to have the dynamic configuration -
I am working on SAP XI 3.0
As per documentation i add the entry in
http://<hostname>:<portid>/exchangeProfile
com.sap.aii.repository.mapping.additionaltypes
as e.g.
R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine)
but i.e. not seen in the
httP://<hostname>:<portid>/rep/support/index.html
All Properties options
so what else configuration required
because one of its sentence says that:
Technically, the Integration Server calls the ABAP function CALL_PARTNER_MAPPING with the additional mapping type name as destination. Therefore, the additional mapping type name must be registered as RFC-Destination in the Integration Server, too.
so where to define RFC-Destination and how.
Thanks & Regards,
Gaurav JainHi
HERE are steps for abap mapping
1. Add additional mapping types in your
exchange profile
Open
http://<host>:<port>/exchangeProfile/ind
ex.html
Choose IntegrationBuilder ->
IntegrationBuilder.Repository ->
com.sap.aii.repository.mapping.addition
altypes
Maintain the following entry:
R3_ABAP|Abapclass;
R3_XSLT|XSL (ABAP
Engine)
2. Check whether the data has been
successfully read from the exchange profile:
Open
http://<host>:<port>/rep/support/admin/in
dex.html
Choose Administration of Properties ->
All Properties
If the value associated to parameter
com.sap.aii.repository.mapping
.additionaltypes is not correct.
3 . Create a class and implement interface IF_Mapping in that.
4. implement ABAP mapping.
Hope this will help
thanx
Vinod ahir -
ABAP Mapping Vs Java Mapping.
We are implementing a project on XI.
We need to freeze on one mapping.
I feel ABAP Mapping provides the following advantages:
1.SXI_MAPPING_TEST is a very good transaction for debugging and testing mapping environment of XI.Iam not sure wether java mapping can be tested after deploying it on XI.
2.ABAP Mapping is well integrated with the XI and also version control becomes very easy as it is provided by the SAP transport system.
3.ABAP also provides user rich/simple API's as java.
4.Support of XI in ABAP would make sustanenace easy as it is going to be a more SAP product and ABAPers are more available in ERP background.
Java punters,Please provide inputs.Hi,
all of the step in the message flow after a message enter
the IS will be done by the abbap stack e.g. Receiver
determination, interface determination, ... The only one
step that is executed in J2EE-Stack is the mapping.
In the pipline the system jump from the abap stack to
Java stack to execute the mapping if the mapping is done
in Java (message mapping, java mapping, xslt,...).
But if the the mapping is done by abap the the runtime
has not to jump to the java stack to execute the mapping.
Because there is no java code to execute. To clarif: if
you have only abap-mapping the the compete process step
do not include the jump to the j2ee-stack of XI. So in
this case the abap mapping is more performant cause the
runtime stay in the abap stack through the complete
message processing.
But if you have mix mapping e.g. first step abap and
second step java then the j2ee-stack will be used as
well.
regards,
Ly-Na Phu -
When do we go for ABAP mapping and Java mapping
Hi friends,
At present I am working on graphical mapping in XI ,can you guys give me with an example or scenario when do we use ABAP mapping , Java mapping or XSLT mapping.
Thanks in advance
Sud<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/forums">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/forums</a>
I have standard XSLT mapping programs available for my scenarios, so use XSLT mapping. Similarly with Java mapping, For most scenarios, message mapping does the job too well. Abap mapping similarly is used to leverge existing ABAP base. If message mapping becomes confusing and hard to follow with too many functions, I go for Java mapping (just my way). I havent used ABAP mapping thus far.
Discussing ABAP mapping
ABAP mapping is developed in ABAP work bench. ABAP mapping needs to be transported to integration server and XI does not support this transport and have to do with ABAP transports.
Customers who can develop mapping program on SAP web AS and can transport them there can use ABAP mapping
*ABAP mapping programs cannot access the value table
*Since ABAP mappings are executed on ABAP stack SAP does not provide any ABAP mapping programs
*ABAP mapping programs must exists with one single version in IS, unlike JAva and XSLT mapping that can have multiple versions of mapping program
Regards,
Priya
priya k
null -
Abap Mapping: XML iterative parsing.
Hi All,
I am trying to parse an XML file which structure is the following.
<Order>
<BookingCode>AAAAA</BookingCode>
<F1>
<F1>
<F2>
<F2>
<BookingCode>BBBBBB</BookingCode>
<F1>
<F1>
<F2>
<F2>
</Order>
More exactly I try to check all values of tag name "BookingCode" up to the end of the XML file. The number of occurrences of "BookingCode" is not determinated.
Is it necessary a loop after collecting a list of occurrences of "BookingCode"?
I am trying to use:
data: node_iterator type ref to if_ixml_node_iterator.
node_iterator = incode->CREATE_ITERATOR( ).
data: emp_node type ref to if_ixml_node.
emp_node = node_iterator->GET_NEXT( ).
data: emp_node_list type ref to if_ixml_node_list.
emp_node_list = emp_node->GET_CHILDREN( ).
data: emp_node_list_lenth type I.
emp_node_list_lenth = emp_node_list->GET_LENGTH( ).
Using the debugging I can not find exactly the behaviour.
Any suggestion for solving my issue will be well appreciated.
Thanks in advance.
Regards,
GiovanniHi,
referring to a document in the net, I am trying to define the loop for understanding the behaviour but I receive the abend:
document: Understanding and working with ABAP Mapping (Steps to be followed in ABAP Mapping classes )
data: emp_node_list_iterator type ref to if_ixml_node_iterator.
data: emp_subnode type ref to if_ixml_node.
DO emp_node_list_lenth TIMES.
emp_subnode = emp_node_list_iterator->get_next( ).
Abend:
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Except. CX_SY_REF_IS_INITIAL
Thanks in advance for your kind support.
Regards,
Giovanni -
ABAP Mapping in RFC to SOAP Scenario
Hi Folks,
I have a scenario to send data from RFC to SOAP. I want to use the ABAP MApping for this case. Can anybody guide me how to do the ABAP Mapping for this case ? It will be real help if somebody can give a step by step guide ?
Regards,
SantoshHello Again,
HOW TO DO ABAP MAPPING:
Use this link and go to sec 3.1 Do exactly as mentioned in this link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
OR
1. Open http://<host>:<port>/exchangeProfile/index.html
2. Choose IntegrationBuilder -> IntegrationBuilder.Repository ->
com.sap.aii.repository.mapping.additionaltypes
3. Maintain the following entry:
R3_ABAP|Abapclass;R3_XSLT|XSL (ABAP Engine)
4. Open http://<host>:<port>/rep/support/admin/index.html
5. Choose Administration of Properties -> All Properties
6. If the value associated to parameter com.sap.aii.repository.mapping.additionaltypes is not correct, choose REFRESH at the top of the page.
How to call XI ABAP Mapping via RFC:
/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
XI: ABAP mapping blogs
/people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
/people/rahul.nawale2/blog/2006/11/01/dynamically-sending-a-mail-to-the-po-creator-using-xslt-abap-mapping
PART 1
/people/r.eijpe/blog/2005/11/10/xml-dom-processing-in-abap-part-i--convert-an-abap-table-into-xml-file-using-sap-dom-approach
PART 2
/people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach
PART 3
Convert an ABAP table into XML file using SAP DOM Approach
/people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
Testing ABAP Mapping
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Regards,
Madan Agrawal -
How to get ABAP mapping option in Interface Mapping
Hi
experts
How to get ABAP mapping option in Interface Mapping . i need to do abap mapping . i didnt find the option
plz help meHi,
If u2018ABAP-classu2019 and u2018XSL(ABAP ENGINE)u2019 does not appear under the u2018Mapping Program Typeu2019 in Interface Mapping, one has to make an additional entry in the Exchange Profile.
Only a user with the J2EE security role (administrator) can make the following settings in the Exchange Profile.
It is achieved in the following manner:
1) Open http://<host>:<port>/exchangeProfile/index.html
2)Choose IntegrationBuilder ->IntegrationBuilder.Repository -> com.sap.aii.repository.mapping.additionaltypes
Add: R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine)
To check whether the data has been successfully read from the exchange profile:
1- Open http://<host>:<port>/rep/support/admin/index.html
2- Choose Administration of Properties -> All Properties
3- If the value associated to parameter com.sap.aii.repository.mapping.additionaltypes is not visible, press REFRESH button
After doing above check in IR, if still don't find the option for ABAP mapping then refresh the cache.
Award points if useful. -
I am using Abap mapping and a value mapping is already maintained in j2ee stack.i want to use the same value mapping in my abap mapping.Does any body have idea how to do this .
Thanks in advance,
AnandHi,
referring to the sap-help it says under restrictions for ABAP Mappings:
"Access to the value mapping table is not supported for mapping programs developed using the ABAP Workbench."
Regards,
Andi -
Creating a PDF-Mail-Attachment via Abap Mapping possible ?
Hi folks,
I am trying to build a szenario like: Getting an Idoc -> sending it to abap mapping -> map a pdf from smartforms in abap -> map the from/to for the mail payload -> come back from abap mapping -> send it with the mail adapter .
But now I am stuck at the point "coming back from abap mapping", because the pdf -data seems to become unreadable because of conversion. I am using Ixml and trying to attach the create pdf (looks hex-right at that point) by method create_simple_element as content-tag of the mail. But after rendering and coming back out of mapping, it seams that that data is not converted from xstring back in the right way. Can someone give a hint ? Is that way by IXML not possible for data including binary-data ? Have I to go another way?
Thanks in advance
Detlef> as content-tag of the mail.
Sometimes I have to read the request several times to find the issue:
No you cannot put a binary as part of an XML element.
You can only send a plain binary as payload, so the whole mail would be nothing besides the PDF.
In PI 7.1 you can create also an additional attachment out of mapping, but I do not know if this works for ABAP mapping also.
The whole "I want to send an email with attachment out of PI" topic is not supported from PI development in any way.
So you have to write a lot of code (especially Java code) to achieve this.
> Regarding your opinion. Its based on customer requirements to have central focal point in dezentral landscape.
The PI expert has to advise the customer for the scenarios. That is part of the job. -
Hi,
I'm trying to understand the ABAP mapping in order to create a mapping from an IDoc (supplier) to a flat file...
Could you just explain me (in simple words) what is a:
- main factory
- stream factory
- parser
- renderer
P.S: Graphical mapping is not enough smart!
regards.
Mickaelvinod,
<b>You develop these development objects in the Object Navigator (transaction SE80) and transport them using ABAP transports.XI does not support these transports</b>
we create ABAP mapping in R/3 ...in transaction SE80...ABAP class will be created...Now when u gonna transport ur objects from say DEV to QA.. u cant trnsport this abap mapping from XI....u have to trnsport it from ABAP DEV to ABAP QA using abap transport mechanism....
<b>They must be available on the Integration Server at runtime. .</b>
yes when u choos the <b>ABAP_class</b> as mapping in interface mapping it should be there in IR. i,.e abap mappings are first imported into XI ..
but get the option for ABAP mapping in XI u have to do some setting in Exchange profile..
check here
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
hope u r clear!!!
regards
biplab -
Hi , friends pls explain abap mapping and message mapping
1) pls explain abap mapping and message mapping
send me screen shorts also.Hi
Mapping Techniques
XI provides 3 standard ways of interface mapping between source and target.
Graphical mapping
Java Mapping
XSLT Mapping
Two more additional mapping types can be activated in XI by making changes to the exchange profile. Those two mappings are
ABAP mapping
XSLT mapping with ABAP Extensions
Graphical Mapping
Graphical mapping is a common approach followed by everyone for generating desired target structure. It involves simple drag-n-drop to correlate respective nodes (fields) from source and target structure. It hardly involves coding. (Exception - User defined functions). But sometimes with graphical mapping it is difficult to produce required output. For example ... text/html output, namespace change, sorting or grouping of records etc.
ABAP Mapping
A person comfortable with Object Oriented ABAP can go for ABAP mapping instead.
Java Mapping
Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but , DOM is very processor intensive.
SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exaclty easy to develop either.
XSLT Mapping
One can also think of Java mapping as another option but it is a bit complex and required knowledge of Java. In such cases, XSLT mapping can be the best approach to meet the requirements.
A few example cases 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.
Different types of Mappings
MAPPING SUPPORTED BY XI
Message Mapping -> Graphical Design and testing environment. Default Provided By XI. Queue based modelling allow handling or large documents. Extensible via user defined functions
XSLT Mapping - > Based on openstandard, Portable across application platform, Extensible using user defined functions kewl but disadvantage is Memory overload while handling large documents.
SAX -> Simple Api For XML. -> Allows you to parse through a XML document. Doesn't consume any memory. But the message can be parsed only once from top to bottom. It Has evolved by contributions made by group of ppl itz a open architecture.
DOM -> Document Object Model -> Itz designed by W3C. Consumes Memory as the message will be loaded. Allows parsing of document in both way top down and bottom up.
Send me your email id.Shall send you very good docs for both ABAP Mapping and message mapping.
Thanks -
Hi,
What are the different types of mappings supported by SAP XI 3.0
Thanks ,
SomenathHi
Different types of mapping available in XI are:
1. Graphical mapping
2. Java mapping
3. XSLT Mapping
4. ABAP Mapping
Details are present here:
http://help.sap.com/saphelp_nw04/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/content.htm
1.Message Mapping Simplified - Part I
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
2.Message Mapping Simplified - Part II
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
3. New functions in the Graphical Mapping Tool SP13
/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
4. The Use of "suppress" in the XI 3.0 Graphical Mapping Tool
/people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool
ABAP MApping: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
XSLT Mapping
/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
Java Mapping:
Pls check
/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
Link:
Please provide Java Mapping example
Regards,
Ram -
ABAP Dictionary structure for use in ABAP Mapping
Hello, I'm creating an ABAP mapping class which requires me to use standard ABAP dictionary (table) structures (ex.MARA, KNA1 etc) for the mapping as the data coming into the mapping is in that format. I'm creating the ABAP class in the PI server and do not have table structures (MARA, KNA1 etc) in the dictionary in the PI server. What is the efficient way to create these structures (as Z elements) in the PI server's dictionary?
I have the XSD of these table structures. Can I import those XSDs into the ABAP dictionary in PI servers? If yes, how can it be done? Please help!Yes you can import it as an external definition data and create the data type based on this XSD. Go through the link below for more information on the steps to import and how to use it.
http://help.sap.com/saphelp_nwpi71/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/frameset.htm -
Acces dynamic configuration variable (e.g. filename) in ABAP mapping class
Hi experts
I am searching for a possibility to acces a dynamic configuration variable (DCV) in an ABAP mapping class. Since I could not find a solution in SDN and other sources, I hope somebody in this forum can help me.
What I already found is the following code which can be used to set a DCV, but what I would be interested in is how to read a DCV.
Any help is appreciated.
Markus
METHOD if_mapping~execute.
DATA l_record type mpp_dynamic.
* copy payload
result = source.
* add an adapter specific attribute
l_record-namespace = 'http://sap.com/xi/XI/System/File'.
l_record-name = 'FileName'.
l_record-value = 'test.xml'.
dynamic_configuration->add_record( l_record ).
ENDMETHOD.Hi Markus,
you can find everything in my blogs
/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
Regards,
michal
Maybe you are looking for
-
HT204053 I have two Apple ids, how can I get all music I have purchased in one library?
I have used two Apple IDs to purchase music. I want to consolidate the music to one library. How can I do this?
-
Problem in line items(text elements printing) in smartform
Hi all Here iam printing line item data in invoice form around 7 fields(text elements) iam having the fileds are displaying one by one I need to diplay all 7 fields one after another with some gaps in the same line can u please let me know how to do
-
I changed my password, now can't get my Mail!
Oh help. I couldn't remember my password when I logged into the community, so I had an e-mail sent to me and re-set it. I made sure to copy down the password. I successfully changed it and was able to post my question (in another topic than this). Th
-
Burning to disk from play list
I'm having some trouble burning play list from Itunes to CD. I get the message "insert correct media", however, I am sure the blank disc is fine. I had been able to burn to CD in the past. I dowloaded new version of Itunes without any success. I trie
-
Ideas for making code faster?
OK, I'm tryig to make a random move generator for a chess game. I want the move to be legit. It's kind of a first step to making an AI I guess. It works but unfortunately it brings my system to it's knees, and my system is pretty good. Here's the gen