Configuring ABAP Mapping
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 Jain
Hi
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
Similar Messages
-
Hi everyone,
Would anyone let me know the complete steps for configuring ABAP Mapping.
Regards,
Varun Reddy.KHi,
Inorder to configure an ABAP mapping do the follwoing steps.
1) Goto SE24 tcode and createa custom object e.g. 'Z_TEST_ABAP_MAPPING''
2) Use the standard interface IF_MAPPING in your object.
3) Now write your piece of code in the method IF_MAPPING~EXECUTE .
METHOD IF_MAPPING~EXECUTE.
initialize iXML
TYPE-POOLS: IXML.
CLASS CL_IXML DEFINITION LOAD.
create main factory
DATA: IXMLFACTORY TYPE REF TO IF_IXML.
IXMLFACTORY = CL_IXML=>CREATE( ).
create stream factory
DATA: STREAMFACTORY TYPE REF TO IF_IXML_STREAM_FACTORY.
STREAMFACTORY = IXMLFACTORY->CREATE_STREAM_FACTORY( ).
create input stream
DATA: ISTREAM TYPE REF TO IF_IXML_ISTREAM.
ISTREAM = STREAMFACTORY->CREATE_ISTREAM_XSTRING( SOURCE ).
parse input document =================================================
initialize input document
DATA: IDOCUMENT TYPE REF TO IF_IXML_DOCUMENT.
IDOCUMENT = IXMLFACTORY->CREATE_DOCUMENT( ).
parse input document
DATA: IPARSER TYPE REF TO IF_IXML_PARSER.
IPARSER = IXMLFACTORY->CREATE_PARSER( STREAM_FACTORY = STREAMFACTORY
ISTREAM = ISTREAM
DOCUMENT = IDOCUMENT ).
IPARSER->PARSE( ).
get message content of tag <BookingCode>
DATA: INCODE TYPE REF TO IF_IXML_NODE_COLLECTION.
INCODE = IDOCUMENT->GET_ELEMENTS_BY_TAG_NAME( 'BookingCode' ).
get XI header data (here: "Sender Service")
DATA: L_SENDER_SERVICE TYPE STRING.
L_SENDER_SERVICE = PARAM->GET( IF_MAPPING_PARAM=>SENDER_SERVICE ).
add trace (appears in message monitoring)
DATA: L_TRACE TYPE STRING.
CONCATENATE 'Sender Service = ' L_SENDER_SERVICE INTO L_TRACE.
TRACE->TRACE( LEVEL = '1'
MESSAGE = L_TRACE ).
build up output document =============================================
create output document
DATA: ODOCUMENT TYPE REF TO IF_IXML_DOCUMENT.
ODOCUMENT = IXMLFACTORY->CREATE_DOCUMENT( ).
create element 'SenderService' and add it to the document
DATA: MSGTYPE TYPE REF TO IF_IXML_ELEMENT.
MSGTYPE = ODOCUMENT->CREATE_SIMPLE_ELEMENT(
NAME = 'MsgOut'
PARENT = ODOCUMENT ).
create element 'SenderService' and add it to the output document
DATA: ELEMENTSENDER TYPE REF TO IF_IXML_ELEMENT.
ELEMENTSENDER = ODOCUMENT->CREATE_SIMPLE_ELEMENT(
NAME = 'SenderService'
VALUE = L_SENDER_SERVICE
PARENT = MSGTYPE ).
add node to the output document
DATA: OUTCODE TYPE REF TO IF_IXML_NODE.
OUTCODE = INCODE->GET_ITEM( INDEX = 0 ).
DATA IRC TYPE I.
IRC = MSGTYPE->APPEND_CHILD( OUTCODE ).
render document ======================================================
create output stream
DATA: OSTREAM TYPE REF TO IF_IXML_OSTREAM.
OSTREAM = STREAMFACTORY->CREATE_OSTREAM_XSTRING( RESULT ).
create renderer
DATA: RENDERER TYPE REF TO IF_IXML_RENDERER.
RENDERER = IXMLFACTORY->CREATE_RENDERER( OSTREAM = OSTREAM
DOCUMENT = ODOCUMENT ).
IRC = RENDERER->RENDER( ).
ENDMETHOD.
Now Add additional mapping types in your Exchange Profile:
com.sap.aii.repository.mapping.additionaltypes
Create a new Interface Mapping
Select Mapping Type Abap-class
Enter the name of the ABAP-OO class
Rest of the mapping proceedure remains the same..
Reward points if found useful
Regds,
Sandeep -
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 -
Dynamic configuration in integration process using abap mapping
Hi everybody,
i have the following scenario:
file adapter -> integration process -> file adapter
The integration process uses an ABAP mapping and sets the filename in dynamic configuration as follows:
*-- Set Parameter
clear ls_dyn_record.
ls_dyn_record-name = gc_dyn_config_name.
ls_dyn_record-namespace = gc_dyn_config_ns.
ls_dyn_record-value = <new_file_name>
*-- Write configuration
ir_dyn_config->add_record( ls_dyn_record ).
But now the new filename is not reflected in the file adapter (receiver). In the integration monitor (SXMB_MONI) i still find the old filename.
Whats wrong?
ElkoThe ABAP mapping is more complex, setting filename in Dyn. Conf. is just one step in mapping.
If I check the Workflow protocol of the Integration Process, I find the following in the Trace of the ABAP-Mapping:
The filename has been set to 3233340.SWNF00HW.P10I. The Suffix P10I has been added in the ABAP mapping.
When I check the subsequent message in SXMB_MONI I find:
The added suffix is missing in the filename !!
Elko -
Dynamic configuration in ABAP Mapping
Dear All,
I have requirement to use the filename's name in the mapping to the target message.
e.g: Filename is Victor.303, i need to take this 303 and map it to the target message.
I understand i can get that value using dynamic configuration in Adapter-Specific Attributes.
But all the samples are using Java code used in UDF.
How to do the same in ABAP Mapping?
I tried:
record = dynamic_configuration->get_record( namespace = 'http://sap.com/xi/XI/System/File'
name = 'FileName').
But record-value return blank.
Best Regards,
Victor.Dear Prateek,
I changed my code with:
DATA: record TYPE mpp_dynamic.
CALL METHOD dynamic_configuration->get_record
EXPORTING
namespace = 'http://sap.com/xi/XI/System/File'
name = 'FileName'
RECEIVING
record = record.
but record-value still return as blank.
I have doubt in this, do i need to populate the FileName in the dynamic configuration (in the graphical mapping) first before i can get the value in the ABAP mapping? or System should filled it and i just can use it directly in the ABAP mapping?
How we know what is the available name and namespace in that dynamic configuration-->get record??
(e.g: my case is FileName, and in the link that you gave is ERROR.)
Any link for this?
Best Regards,
Victor. -
Dynamic Configuration - CC Receiver - Abap Mapping
How can I add info in the xml message in Dynamic Configuration from Abap Mapping ?
Thanks in advance.Hi,
The following should do the trick:
data: l_dyn_record type MPP_DYNAMIC.
l_dyn_record-namespace = 'http://sap.com/xi/XI/System/File'.
l_dyn_record-name = 'FileName'.
l_dyn_record-value = 'myFileName'.
CALL METHOD dynamic_configuration->add_record
EXPORTING
record = l_dyn_record.
Regards,
Daniel -
How to configure ABAP mappings in iterface mapping
Hi,
i am using PI 7.0 ,in interface mapping Abap Mapping will not display in dropdown list. can any one help me how to configure <b>ABAP mapping</b> in interface mapping screen.
thanx and reg,
sureshhi
Try this
How to use ABAP Mapping
https://wwwn.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
Some Blogs
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Some more on ABAP Mapping
https://websmp101.sap-ag.de/~sapdownload/011000358700003082332004E/HowToABAPMapping.pdf
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
/people/r.eijpe/blog
ABAP Mapping Vs Java Mapping.
Re: Message Mapping of type ABAP Class not being shown
Thanks -
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 -
Multi-Message-split with ABAP mapping and adapter specific attributes
Hi all,
With <b>ABAP-Mapping I split 1 message to n messages</b>.
So many files are generated in <b>file-Adapter</b>.
Everything fine.
But now I want the file names different using adapter specific attributes.
It is not possible to use variable substitution and write the file name in payload because of receiver restrictions.
I tried this with following similar coding in ABAP-Mapping:
data: lt_records TYPE MPP_DYNAMIC_TAB.
Loop.
l_file_name = "payload-Inbound"-information
ls_record-namespace = 'http://sap.com/xi/XI/System/File'.
ls_record-name = 'FileName'.
ls_record-value = l_file_name. "l_file_name comes from inbound-payload
append ls_record to lt_records.
Endloop.
CALL METHOD dynamic_configuration->set_all_records
EXPORTING
records = lt_records.
If I start the interface I see in the monitoring the dynamic configuration with many entries for file-name in the the SOAP-Header mapping of the request message (following extract):
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Mapping der Request-Message
-->
- <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">BPAADDRESS.XML</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">BPABROKERROLE.XML</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">BPACOMPANYSEGMENT.XML</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">BPACUSTOMERROLE.XML</SAP:Record>
The result is that <b>all files have the same file name</b> (last entry in dynamic configuration).
Is it possible to write the adapter specific configuration in ABAP-mapping <u>for every single result message</u>??
Thank you for your help,
FlorianHi Florian,
I've a different idea...I dont think its a "right solution" but just another work around..it involves a BPM...
In your ABAP mapping..set the dynamic config with as many variables as number of different messages...i.e. use the variables like 'FileName1', 'FileName2'...'FileName6' instead of 'FileName'. But use the same namespace 'http://sap.com/xi/XI/System/File'
Call the above mapping in a BPM and capture the individual messages and set the attribute 'FileName' from the values of 'FileName1' to 'FileName6' accordingly using Message Mapping and then send the message using the 'Send' step.
before you try this, try using the variable names 'FileName1' ...'FileName6' in the receiver adapters...enable the ASMS. <b>I know we need to select which variables from the dynamic config to be used by the adapter by specifically selecting 'FileName', 'Directory' etc...but just give it a try and see if it works..</b>
Or..instead of using a BPM..you can combine Henrique's idea...use Adapter module to set the value for 'FileName' from variables 'FileName1'...'FileName6' accordingly.
hope I'm clear..lemme know if you have any questions..
cheers
praveen -
ABAP Mapping for Error handling in Proxy to JDBC
Hi All,
I am working on a proxy to jdbc scenario in which we have to throw validation errors to NWPM(Net Weaver Process Monitor Tool)
I am following the below steps,
step 1 - In message mapping a UDF is created to catch errors and store them in a variable using dynamic configuration
step 2 - writing abap mapping for handling this thrown exception and im reading the dynamic configuration in the abap class and raising exception. The exception format expected is
SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
<SAP:P1>ZPI_THROW_EXCEPTION</SAP:P1>
<SAP:P2>001</SAP:P2/>
<SAP:P3>Mandatory field is missing[BUKRS] </SAP:P3>
<SAP:AdditionalText />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have written the following ABAP code to achieve this:
method IF_MAPPING~EXECUTE.
DATA l_record type mpp_dynamic.
DATA error type String.
getting dynamic configuration value
filled in by any previous mapping
CALL METHOD DYNAMIC_CONFIGURATION->GET_RECORD
EXPORTING
NAMESPACE = 'http://sap.com/xi/XI/System/ERROR'
NAME = 'ERROR'
RECEIVING
RECORD = l_record.
error = l_record-value.
*raising exception with our message
RAISE EXCEPTION TYPE CX_MAPPING_FAULT
EXPORTING
TEXTID =
PREVIOUS =
ERROR_CODE = '001'
ERROR_TEXT = error .
RAISE EXCEPTION TYPE CX_MAPPING_FAULT
EXPORTING
TEXTID =
PREVIOUS =
ERROR_CODE = '003'
ERROR_TEXT = error .
endmethod.
I am gettign the following message for our code:
SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Could you please help in finding the solution for getting currect error message from ABAP class?
Edited by: SwethaC on Jan 21, 2011 8:18 AMThe error is due to RFC Call fail from PI system to your ECC Application System.
Check your RFC Destination for ECC System type 3 in PI System.
When you are receiving data from ECC System using Proxies & again you are going to ECC System for Validation.
Why you are not doing this validation on ECC System only in your proxy code ?
In your proxy code, it will be much better for performance to check your data there on same system. -
Abap Mapping: error in accessing to DynamicConfiguration.
Hi All,
I have been trying to put a value into Dynamic Configuration repository with the following abap code.
DATA: l_record TYPE MPP_DYNAMIC.
l_record-namespace = 'http://name1/ca/result1'.
l_record-name = 'FileName'.
l_record-value = '/mydir/dir1/File01.xml'.
CALL METHOD dynamic_configuration->add_record
EXPORTING
record = l_record.
I receive the following dump.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Except. CX_SY_REF_IS_INITIAL
Date and Time 25.03.2009 11:06:10
Short text
Access using a 'ZERO' object reference is not possible.
What happened?
Error in the ABAP application program.
The current ABAP program "Z_XI_MAPPING_TEST_03==========CP" had to be
interrupted because it contains
a statement that cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was n
caught in
procedure "IF_MAPPING~EXECUTE" "(METHOD)", nor was it propagated by a R
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
An attempt was made to access a component with a 'ZERO' object
reference (points to 'nothing').
An object reference must point to an object (an instance of a class)
before it can be used to access a component.
Either the reference has not yet been set or it was set to 'ZERO' using
a CLEAR statement.
I am executing my test outside PI, by launching the report Z_MAPPING_TEST as explained in a blog.
In java evironment it is necessary to create an istance of a object for saving the value of the variable 'FileName' inside the Dynamic Configuration repository.
I do not know if it is necessary to create (before) an istance of the Dynamic Configuration in abap mapping or if the method add_record do this.
The meaning of my test is to get the name file from the Dynamic Configuration repository set in a previous step in a flow where the abap mapping will be launched.
Any suggestion will be well appreciated.
Many thanks in advance for your kind cooperation.
Regard,
GiovanniHi,
in your ABAP mapping code, instead of l_record-namespace = 'http://name1/ca/result1' use below:
l_record-namespace = 'http://sap.com/xi/XI/System'.
Then re-run your scenario.
Regards,
Rajeev Gupta -
Hi All,
I am receiving following while testin ABAP mapping through SXI_MAPPING_TEST. I have configured the data type,message type,service interface,operation mapping ( Abapclass) in ESR and sender/receiver communication channels in ID.
<?xml version="1.0" encoding="iso-8859-1" ?>
- <Top>
<First>BeginTrace</First>
<Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
<Trace level="2" type="T">......attachment XI_Context not found</Trace>
<Trace level="3" type="T">Mapping is determined</Trace>
<Trace level="1" type="T">No mapping configured</Trace>
<Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
</Top>
emp_node_collection = idocument->get_elements_by_tag_name_ns( name = 'MT_Emp_Det' ).
"MT_Emp_Det" is my source message type.
Below is the xml format,
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Emp_Det xmlns:ns0="http://xyztest.com">
<EMPLOYEE>
<PERSONAL>
<EMPID>103</EMPID>
<FIRSTNAME>sari</FIRSTNAME>
<MIDDLENAME>JK</MIDDLENAME>
<LASTNAME>kum</LASTNAME>
<AGE>25</AGE>
<GENDER>M</GENDER>
</PERSONAL>
<JOB>
<COMPANY>HPL</COMPANY>
<DEPARTMENT>PI</DEPARTMENT>
<DESIGNATION>JS</DESIGNATION>
<BEGINDATE>2010</BEGINDATE>
<ENDDATE>9999</ENDDATE>
<SALARY/>
</JOB>
</EMPLOYEE>
</ns0:MT_Emp_Det>
Let me know if I have missed anything.Hi Hari, today I created my first Abap mapping and I have obtained the same trace that you and I created the class as Local object.
Please verify the following:
Verify that all objects are activated, methods, class, etc
Test it with SXI_MAPPING_TEST
Regards. -
ABAP mapping Vs Graphical mapping
Hi
I have an inbound scenario to R/3 where the purchase requisition has 300 line items. I was wondering if it is easier to do ABAP mapping for such scenarios instead of Graphical mapping as it would be better performace as ABAP mapping is executed on ABAP engine?
I would appreciate valuable inputs.
Thanks,
Arjun.Hi Arjun
As mentioned above in the comparison Blog between 2 mappings, i dont think it gives clear picture, if you have some specific work which getting Dynamic Configuration stuff for example, then you will have to Look for ABAP mapping Class, my thinking is that it depends completely on the requirment.
For ABAP mapping you can go to
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
Let me know if you want any further clarifications
Piyush
Pl:reward points if found helpful. -
Receiver determintation using Abap Mapping
Hi,
I configured a scenario in which I'm using extended receiver determination to determine the receiver of an incoming message. (The reason for this is that there is only one XI system and two ECC systems - DEV and QAS. By means of the setting in a customizing table it can be determined whether the message is sent to DEV or QAS. The message can't be sent to both systems because it is a synchronous interface). The receiver determination calls an Interface Mapping which has target interface Receiver Determination. I made an Abap Mapping program in which the customize table is read and the output message is formed as follows (according to the structure of the Receivers message):
lrf_output_document = lrf_ixml_factory->create_document( ).
lrf_receivers = lrf_output_document->create_simple_element( name = 'Receivers'
parent = lrf_output_document ).
lrf_receiver = lrf_output_document->create_simple_element( name = 'Receiver'
parent = lrf_receivers ).
lrf_element = lrf_output_document->create_simple_element( name = 'Party'
value = ' '
parent = lrf_receiver ).
lrf_element->set_attribute( name = 'agency'
value = ' ' ).
lrf_element->set_attribute( name = 'scheme'
value = ' ' ).
lrf_element = lrf_output_document->create_simple_element( name = 'Service'
value = 'DEV'
parent = lrf_receiver ).
To fill the RESULT field a stream factory is instantiated and a XSTRING is created. When I send a message to the system, the receiver determination dumps: Error when parsing receiver listLength of XML document 129 Error when parsing receiver listLength of XML Document 129 System expected the element 'Receivers'
Looks like the XSTRING has not got the right structure and can not be parsed into the Receivers message. However, when I create a CSTRING, the message looks OK. I also changed the encoding (Codepage 4103).
When I replace the Abap mapping with a message mapping, the receiver determination works OK. However, in that case it is not possible to read the customizing table. I really need the Abap mapping.
Has anyone ever filled the Receivers massage by means of Abap mapping. Any feedback will be appreciated!Hi,
there is a easier way - totally based on my blogs
create an abap mapping that will feed the dynamicconfiguration in ABAP (with z "Z" namespace) - similar thing shown in my blog
/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
and you don't need to create the XML in ABAP mapping just parse it, fill DC and send the same source to the target
(so you don't change the XML)
then add a message mapping to your interface mapping in which you will only use dynamicconfig value
to populate the receiver segment
nice and clean way
Regards,
Michal Krawczyk -
ABAP Mapping for Large Messages
Hi Folks,
We are exploring different options for dealing with the fact that XI will choke on very large messages/files. One of the options that we are considering is a third party tool that bypasses XI. However, we've just learned that it may be possible to solve the large message problem by using ABAP Mapping, because supposedly, by doing so, one would bypass the large message being converted to XML as it comes into XI. The scenario involves messages coming into XI on their way to SAP R/3. Does the ABAP Mapping option appear to be viable to you experienced folks out there?
Thanks
NicHey
tunneling as per the term is used mainly for IDOC but we use the term bypass to implement the same concept but with other interfaces.
see if u have simple 1-1 mapping then u can do a bypass scenario in which u are not doing anything in IR,u simple do the configurations in ID.
you can not drastically increase the performance just by choosing some specific mapping.mappin is not made for this .
for best performance you can design a bypass JDBC to IDOC scenario(but then you wont be able to do any message mapping.
have a look at the following for bypass scenario
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
if u want to do message mapping then design a JDBC to Proxy scenario.
proxy is mainly used to enhance performance and would be the best bet for u i guess
Thanx
Aamir suhail
Message was edited by:
Aamir Suhail
Maybe you are looking for
-
Okay, so I just got my new 5s last weekend and the rear camera already does not work. Upon opening the camera app, the screen goes black and the app closes. When trying to get to the camera by sliding up from the lock screen, the apple logo appears a
-
Possible to adjust color/ contrast in this way?
The more I use Photoshop, the more often I come up with an image where everything is right, but something on one layer has two very similar colors, which are a little too close in either contrast or hue. But for me, using 'selective color' or 'bright
-
Dear All, attached is an NI that does the following. 1. The user inputs a frequency and amplitude range to drive a speaker. 2. A laser displacement sensor measure the speaker displacement, checks if it is in the desired range, and jumps on to the nex
-
How can I Replay an output type BA01 on VA02
Hi All, When a sales order V1 is created, OUTPUT type BA01 generates a smartform and in this code we fill in a table with spool data to generate a PDF. Yhis PDF is stored in specific table. Manually we can generate VA02 --> EXTRA --> OUTPUT --> Heade
-
How to Handle BatchUpdateException
Hi, I am using JSF, Spring and Hibernate with mysql as my db. I want to save pcode and pname,etc in the db. I used getHibernateTemplate.save(obj); I am facing an issue like when i add the same pcode and pname which is existing.... It is throwing Erro