Mapping Techniques determines Runtime Performance
What mapping technique offers the best performance at runtime (i.e. graphical, ABAP, Java, XSLT)? I have the ability to use anyone of these techniques, but I want to ensure I am using the one that offers the best performance at runtime, not the quickest/easiest to implement at design time.
Hi..
imo mapping performance does only partially depend on technique used, another important influence is the developer himself. You can develop highly performant graphical mappings, java mappings and also XSLT mappings but you have to focus on performance, know the concepts and maybe have someone else look at the mapping after it is finished I'm not sure about ABAP mapping, but i would say graphical and custom java have the same performance. XSLT is indeed slower, but there are some problems which can not be solved in graphical mapping (e.g. recursion) which can be solved rather easily in XSLT. Also SAP uses XSLT extensively in their standard content (e.g. MDM 3.0) where we have not encountered serious performance problems so far.
best regards
Christine
Similar Messages
-
Hi,
types of Mapping Technigues in PI 7.0/PI7.1These links provided below will deal with various techniques that are handled in mappings.
Simple java code in graphical mapping - XI
The specified item was not found.
GlobalContainer - in graphical mapping (XI)
The specified item was not found.
XI: How to test your mapping (in real life scenarios)
The specified item was not found.
XI: XML node into a string with graphical mapping?
The specified item was not found.
Sending Java code as payload to do mapping in XI
Sending Java code as payload to do mapping in XI
Skelton of Mapping Runtime in SAP XI Did we bother to understand why the RFC Destination AI_RUNTIME_JCOSERVER is very important
Skelton of Mapping Runtime in SAP XI
Accessing System Parameters in Mapping Runtime
Accessing System Parameters in Mapping Runtime
Message Mapping Simplified - Part II NODE FUNCTIONS
Message Mapping Simplified - Part I
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Limitations of Message Mapping Editor in XI-Can we make it user-friendlier?
Limitations of Message Mapping Editor in XI-Can we make it user-friendlier?
The Use of "suppress" in the XI 3.0 Graphical Mapping Tool
The Use of "suppress" in the XI 3.0 Graphical Mapping Tool
New functions in the Graphical Mapping Tool SP13
New functions in the Graphical Mapping Tool XI 3.0 SP13
SAP PI 7.1 Mapping Enhancements Series: Correct Structural Inconsistencies
SAP PI 7.1 Mapping Enhancements Series: Correct Structural Inconsistencies
SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings
SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings
SAP NetWeaver Process Integration 7.1: Mapping Enhancements Blog Series
SAP NetWeaver Process Integration 7.1: Mapping Enhancements Blog Series
SAP PI 7.1 Mapping Enhancements Series: Mapping Enhancements Demo
SAP PI 7.1 Mapping Enhancements Series: Mapping Enhancements Demo
SAP PI 7.1 Mapping Enhancements Series: Copy XML Subtree
SAP PI 7.1 Mapping Enhancements Series: Copy XML Subtree
SAP PI 7.1 Mapping Enhancements Series: Using Graphical Variable
SAP PI 7.1 Mapping Enhancements Series: Using Graphical Variable
SAP PI 7.1 Mapping Enhancements Series: Share User-Defined Functions
SAP PI 7.1 Mapping Enhancements Series: Share User-Defined Functions
SAP PI 7.1 Mapping Enhancements Series: Import SQL Table's Metadata
SAP PI 7.1 Mapping Enhancements Series: Import SQL Table's Metadata
Using Folders in PI 7.1
Using Folders in PI 7.1
TechEd 2006: EPI351 - Graphical Mapping Tool-Advanced Message Mapping
TechEd 2006: EPI351 - Graphical Mapping ToolAdvanced Message Mapping
Minimize memory usage during Message Mapping when replicating an element
Minimize memory usage during Message Mapping when replicating an element
New Arithmetic and Statistical Functions in Message Mappings in SP18
New Arithmetic and Statistical Functions in Message Mappings in SP18
Never, ever use XI's built-in arithmetic functions
Never, ever use XI's built-in arithmetic functions
Sequence Number Generation: Mapping Pattern in PI
Sequence Number Generation : Mapping Pattern in PI
Summarization: Mapping Pattern in PI
Summarization : Mapping Pattern in PI
Message Mapping - using of E1BPPAREX => experience in the aspect of maintenance and customer usability
Message Mapping - using of E1BPPAREX => experience in the aspect of maintenance and customer usability
Duplicating Sub trees and Numbering Them Using the Graphical Mapping Tool
Duplicating Subtrees and Numbering Them Using the Graphical Mapping Tool
Message Splitting Using the Graphical Mapping Tool
Message Splitting Using the Graphical Mapping Tool
Replication of Nodes Using the Graphical Mapping Tool
Replication of Nodes Using the Graphical Mapping Tool
Standard functions in message mapping
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
New Arithmetic and Statistical Functions in Message Mappings in SP18
New Arithmetic and Statistical Functions in Message Mappings in SP18
Hack: Using XPATH in XI Message Mappings
Hack: Using XPATH in XI Message Mappings
Message mapping verification
Message mapping verification
Mapping Context Changes in XI
Mapping Context Changes in XI
Mapping trouble shooting
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e01e9400-9e81-2910-20a5-a862945a5e98
Mapping Context Changes in XI
Mapping Context Changes in XI
File Content Conversion for Multi Hierarchical Structure
File Content Conversion for Multi Hierarchical Structure
Number formatting to handle LARGE Numbers
Number formatting to handle LARGE Numbers
Optimizing Lookup's in XI
Optimizing Lookup's in XI
Data Mining using APriori Algorithm in XI - Part I, II & III
/people/jeyakumar.muthu2/blog/2005/12/19/data-mining-using-apriori-algorithm-in-xi-150-part-ii
/people/jeyakumar.muthu2/blog/2005/12/30/data-mining-using-apriori-algorithm-in-xi-150-part-iii
/people/jeyakumar.muthu2/blog/2005/11/23/data-mining-using-apriori-algorithm-in-xi-150-part-i
Java Mapping to handle flat files in SAP XI
Java Mapping to handle flat files in SAP XI
xpath functions in xslt mapping
xpath functions in xslt mapping
"JAVA MAPPING", an alternate way of reading a CSV file
"JAVA MAPPING", an alternate way of reading a CSV file
B2B Mapping Techniques Using the Graphical Mapping Tool
B2B Mapping Techniques Using the Graphical Mapping Tool
How to parse "XX/YY/ZZ;AA/BB/CC;11/22/33" in message mapping
How to parse "XX/YY/ZZ;AA/BB/CC;11/22/33" in message mapping.
Introduction to queues in message mapping
Introduction to queues in message mapping
ValueMapping using the Graphical Mapping Tool
ValueMapping using the Graphical Mapping Tool
Accessing Value Mapping defined in Directory using Java functions
Accessing Value Mapping defined in Directory using Java functions
Multi-Mapping without BPM - Yes, it's possible!
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Designing Mapping:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/58cd3b11571962e10000000a11402f/content.htm
User-Defined Functions
http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
Standard Functions
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
Runtime Procedure
http://help.sap.com/saphelp_nw04/helpdata/en/3d/24e15bf9d79243b45d49b13b03de8f/content.htm
Mapping Fields Within a Context
http://help.sap.com/saphelp_nw04/helpdata/en/e4/82cf0ec8b9494db92e27e2be69524f/content.htm
Structure Mapping by Setting the Context
http://help.sap.com/saphelp_nw04/helpdata/en/bd/ca1105c81c6742a0f8c8d49f8834bf/content.htm
Comparing Performance of Mapping Programs
Comparing Performance of Mapping Programs
Mapping examples:
New functions in the Graphical Mapping Tool XI 3.0 SP13
All mapping concepts:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/mappingConceptsinSAPXI
Comparison of various Mappings:
Comparing Performance of Mapping Programs
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/mapping%2btechniques
How to test mapping:
The specified item was not found.
Mappings:
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
Message Mapping:
http://help.sap.com/saphelp_erp2004/helpdata/en/3d/24e15bf9d79243b45d49b13b03de8f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm
Message Mapping Simplified - Part I - Sravya Talanki
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii - Sravya Talanki
Java Mapping:
Testing and Debugging Java Mapping in Developer Studio
Java Mapping (Part I)
http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/09b16006526e72e10000000a422035/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a08e8c15-682d-2b10-7798-c4592a417074 - by Santhosh
XSLT Mapping:
Step By Step Simple Approach for XSLT Mapping
File to Multiple IDocs (XSLT Mapping)
The specified item was not found.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ac53f2-21d7-2a10-afa2-ce1a0577ca18
Excellent PDF Document on Mapping
http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
Mapping Development with the ABAP Workbench
http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
ABAP Mappings
http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
Generic XSLT Mapping for SAP XI,Part I
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
Generic XSLT Mapping for SAP XI,Part II
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
XSLT: Recursive Templates
XSLT: Recursive Templates
Easy RFC lookup from XSLT mappings using a Java helper class
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
ABAP Mapping:
http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm -
Can anyone tell me why maps cannot determine my location over wifi?
can anyone tell me why maps cannot determine my location over wifi?
If you only have the wifi only version iPad then the location is derived from the router that you are connected to - if it's not in the database that Apple use then your location can't be determined. Only the 3G iPad has a built-in GPS chip. If you have another wifi-only iOS device that does get a location then you could try this https://discussions.apple.com/message/15446656#15446656
-
No batches/stocks were found - determination is performed online MFBF
Hi Gurus,
Can anybody please help me why we are getting this message in MFBF.
When the user is trying to turn in production for material A in MFBF, and when they hit post with correction in the home screen of MFBF, in the next screen the system gives a message "No batches/stocks were found - (Batch) determination is performed online" . In this screen we have the component B under the material A which was entered in the first screen. Part B is batch managed, and there are batches also in the system, but the system is not automatically picking up the batches for part B. Why is this happening?
Thanks
Anushadear Anusha
please look here:
http://help.sap.com/saphelp_47x200/helpdata/en/25/283aac4f7811d18a150000e816ae6e/frameset.htm
focus your attention into Production (PP/PP-PI) - Batch Determination in Production/Manufacturing
just click on that link -
No batches/stocks were found (Batch) determination is performed online erro
Hi Gurus,
Can anybody please help me with this. When the user is trying to turn in production for material A in MFBF, and when they hit post with backflush, the system gives a message No batches/stocks were found - (Batch) determination is performed online in the next screen. In this screen we have the component B under the materia lA which was entered in the first screen. Part B is batch managed, and there are batched also in the system, but the dettermination is not occuring.
Thanks
Anushadear Anusha
please look here:
http://help.sap.com/saphelp_47x200/helpdata/en/25/283aac4f7811d18a150000e816ae6e/frameset.htm
focus your attention into Production (PP/PP-PI) - Batch Determination in Production/Manufacturing
just click on that link -
Getting processflow and mapping names at runtime
how can I indenfy at runtime in a generic way the name of my actual process flow or mapping so that I can refer to this (maybe for error logging aspects)?
Hi,
within a mapping, use an expression operator. For an output attribute, use the expression get_model_name
It returns the mapping name at runtime.
Regards,
Carsten. -
Compiling with debug and runtime performance degradation
Just a quick question: Does including debug information in class files degrade runtime performance in any way?
Thanks!Quick answer: it depends on what your application does.
Mostly, it shouldn't matter but you should always profile and time your
application to find the truth. -
Since updating the recent OS on my iPad my location services do not work. Maps "Cannot determine location" and "Find Me" is running in circles. How can I delete the update on my iPad???
You can't delete the update and your problem probably is not in the Update.
Check to see if Location Services is turned ON. (Settings > Privacy > Location Services)
What model iPad Mini do you have? WiFi or WiFi + Cellular
Have you recently changed WiFi routers? -
Runtime performance with the debug flag enabled?
Does anyone know when I enable the debug flag, does it impact the runtime performance of my application? I assume when I use the "-g" option, only line number and source file information is generated. Any feedback appreciated.... thanks!
Since the only way to performance tune an application is with an automated preformance tool, I presume you have already done that and so are just trying to squeak that last bit of performance out of the app.
So just fire up the tool and see which one is faster. -
Faster Mapping methodology at Runtime
Hi,
Can anyone please tell me which of the XI mapping methodology is faster at runtime in which scenarios?
I mean e.g. converting SAP data extracted using ABAP proxy to HTML, graphical or XSLT or ABAP mapping is faster?
thanks for any help
KPHi KP,
Have alook at the following comments and decide...
1)Using the XSLT mapping with Java enhancement, you can implement mappings quicker and more flexibly.
2)Java mapping programs are not permitted to be stateful. You are therefore not permitted to perform actions such as writing data to a database table during a Java mapping. The Integration Server cannot track such side effects. Therefore, if an attempt is made to resend a message that has not been received by the receiver, the data may inadvertently be written to the database twice in a Java mapping.
Note the following points when using static variables in Java mappings:...
1. Mappings can be executed in parallel. Therefore, several instances of a mapping may access a static field for read or write purposes at the same time.
2. If mapping programs are executed more than once, the content of the static field may be lost. The reasons for this are as follows:
i) The content of a static field is lost if the Java class in question is reloaded. This happens after a cache refresh, for example.
ii) If the mapping runtime consists of a cluster, the mapping classes on each node of the cluster are loaded separately. Each node has its own static fields.
Static fields can be used for constants and as a buffer, taking the above-mentioned points into consideration.
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
For your scenario I think you can go for ABAP mapping
Regards
Suraj -
How to determine runtime of SNP optimizer
Hi Experts,
I am new to SNP optimizer, i would like to know the factors that determine the runtime of SNP optimizer,
for example if i have 100 product-loc combination, what should be my runtime?
Thanks in Advance
Raja kiran RHello Raja
Following details are based on my recent experience/learning's while working Optimizer runtime(it was a nightmare)
SNP Optimizer varies regardless of number of location products or demands.
SNP Optimizer runtime is split into following 3 main steps -
Runtime 1. Reading input data
Runtime 2. Solution Calculation and
Runtime 3. Order Creation.
Runtime 2 is usually varies depends on degree of problem complexity and number of iteration optimizer has to go through before finding cost effective/optimal solution.
Analyzing the optimizer logs/trace file and collect various statistics/facts for couple of weeks can give you some idea on optimizer runtimes. Use below Tcodes - /SAPAPO/OPT11 and /SAPAPO/SNPOPLOG for collection such statistics on following criteria's -
Please keep a watch on inputs like - Number of products, locations, location products, transportation lanes and demands.
and Output like Total Fulfilled Demands, Total Un-Filled Demands and Total number of stock transfers.
and Result Indicators like how many ProdDeco iteration, Solution Quality/ Cost iterations and what is the Service Level achieved.
Besides, you can control the Optimizer runtime by setting up the Maximum Runtime(in Minutes) in Optimizer profile. Also use Parallel profile process for improving the performance of the optimizer run.
Also ask you basis team to watch system performance when it is reading data from livecache, solving the problem or creating orders in livecache, if there are any memory issue etc.
Hope this will help.
Thank you
Satish Waghmare -
I recently experienced an issue on my ipad2 related to location services. While connected to a wifi network, I found that apps requiring location services would not work properly and I would receive a pop up notice asking me to turn on location services. For example, the maps app would display a pop up stating "cannot determine location". My NHL gamecenter app would not allow me to watch live feeds; a pop up advised me to turn on location services. In each case, location services was in fact on.
I checked my settings, shut down the apps, restarted them, shut down the iPad and rebooted it to no avail. The internet connection was working fine as best as I could determine. The wifi network was at a guest home and the router was recently replaced. I returned to my home wifi and everything worked fine. The next day, I returned to the guest Internet connection and everything seemed to work once again. However, while watching a NHL game, during the last seconds of an overtime shoot out, I lost video and it was attributed once again to location services being disabled. Of course I checked and nothing in my settings had been altered. I went to my iPhone (3GS) and pulled up the gamecenter app and was able to watch the end of the game( via wifi connection...same network).
So, I am puzzled as to what could be causing this problem. If anyone else is having similar issues, I would like to know as well as if there are any solutions or feedback from Apple regarding this type of problem.....Dave.As the King says, if your friends wifi router was relatively new, it likely has not been picked up by Apple's location based information database system and thus there is no location information associated with it. So your iPad had no way of getting its location.
The wifi location databases are traditionally updated by wardriving - literally companies employ people to drive around sniffing out active wifi signals and associating an approximate location to it. Some companies also have web sites to submit that information if owners wish to (Apple does not seem to have one though), and the various companies with wifi location databases buy and sell their information. Bottom line is though, it can take weeks, months or sometimes even longer for a residential router to get picked up - depends on where you live (more rural, likely the longer time it takes).
When I moved from VA to NC it took up to 6 months for mine to reflect my new location (I checked it once the week I moved in, and then periodically thereafter, and it finally was getting it right after about 6 months) and I live in a pretty densley populated area (triangle NC). -
Message Mapping : Testing at Runtime
Hi all,
I am doing scenario File XI IDoc...
I was encountering error.. Runtime exception in Mapping...
So i tried the testing step described by michal.
if i paste the payload of the data obtained from SXMB_MONI in test tab of message mapping editor i will get error
<i>Cannot produce target element /WGSREQ02/IDOC/E1WGRK1. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd </i>
but for the same paylod in "src" of testing tab if i add namespace the testing is working fine.
Kindly can anybody give me suggestion
Regards,
Ramesh P
Message was edited by:
Ramesh ParashivamurthyMessage Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm
User Defined Functions:
http://help.sap.com/saphelp_erp2004/helpdata/en/22/e127f28b572243b4324879c6bf05a0/frameset.htm
Advanced Graphical Mapping:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/b9af5e71-0701-0010-d0b8-f612fb6593dd
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/be05e290-0201-0010-e997-b6e55f9548dd -
Hi,
I have scenario like JDBC sender and file receiver.
I am able to poll with JDBC sender adapter and message has success in adapter engine.
but i am getting following error while mapping runtime.In sxmb_moni status error during mapping runtime.
Below i am giving the trace file:
<Trace level="1" type="T">Interface Mapping urn:iwaysoftware:adapter:iworacle:tablerequest jdbc_im</Trace>
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_jdbc_mp_</Trace>
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:PO_HEADER/PO_HEADERS_INTERFACE/INTERFACE_HEADER_ID. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:303) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:94) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:67) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor414.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy153.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7650) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2275) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1614) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8009) at com.sap.mw.jco.JCO$Server.work(JCO.java:8129) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8076) at com.sap.mw.jco.JCO$Server.run(JCO.java:7992) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns0:PO_HEADER/PO_HEADERS_INTERFACE/INTERFACE_HEADER_ID. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:178) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:94) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:67) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor414.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy153.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7650) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2275) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1614) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8009) at com.sap.mw.jco.JCO$Server.work(JCO.java:8129) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8076) at com.sap.mw.jco.JCO$Server.run(JCO.java:7992) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</Trace>
I tried with all options using mapping functions.But the same eror is coming.
When i tested my mapping program its successfully running in map bulider without any errors.
The error occuring at runtime.
Source strcture :
<?xml version="1.0" encoding="UTF-8"?>
<ns0:resultset xmlns:ns0="urn:iwaysoftware:adapter:iworacle:tablerequest">
<row>
<interface_header_id>928822</interface_header_id>
</row>
</ns0:resultset>
Target structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:PO_HEADER xmlns:ns0="urn:iwaysoftware:adapter:iworacle:tablerequest"><PO_HEADERS_INTERFACE><INTERFACE_HEADER_ID>928822</INTERFACE_HEADER_ID></PO_HEADERS_INTERFACE></ns0:PO_HEADER>
Can any body suggest what causing the problem.
Regards
UsmanHi Usman,
Test your mapping in IR with the payload from SXMB_MONI. You can refer michal's weblog on <a href="/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios to test your mapping (in real life scenarios)</a>
In other words you copy the XML message from monitoring and exectute the mapping in Integration Builder with maximal trace to get the reason.
So what you can do is check ur runtime payload in sxmb_moni with,
IR>message mapping>test tab>give values>test-->source xml
Also i thought i will give you some details on what ur doing, so maybe you can compare it with what uhave done and see where you have gone wrong.
A JDBC sender adapter has 2 essential fields,
1. SQL Statement
2. Update Statement
Your SQL statement will contain your SELECT statement and once your SQL statement is executed, UPDATE statement is executed. This is done so that records that have been selected by the SQL statement should not be selected again as the JDBC sender adapter will poll over the database for every poll interval.
If you want to SELECT something from your Database, then you will have to go for a JDBC sender adapter.
This is how a SENDER JDBC Adapter works,
When you are using your JDBC as a sender, then your JDBC will poll over your database and select the rows that satisfy your Select Query.
In your case, as you are dealing with multiple tables, you can write a stored proceudre for your Database, and call this stored procedure in your Sender JDBC adapter in the SELECT field of your JDBC adapter.
Go through this blog for stored procedures.
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
For Configuring the Sender JDBC Adapter refer go through <a href="http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm">Configuring the Sender JDBC Adapter</a>
Also go through this blog and see if it helps you.
/people/prasadbabu.nemalikanti3/blog/2006/02/27/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-2
To access any Database from XI, you will have to install the corresponding Driver on your XI server.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
I hope this helps...
Regards,
Abhy
Message was edited by: Abhy Thomas -
How to determine who performed the last full database dump before cumulative dump
Hello,
ASE 15.7 SP100 allows cumulative backups, and if cumulative dump is tried before a full dump, ASE shows this error:
You cannot execute an incremental dump before a full database dump.
From my experiments, it seems that it does not matter how the full dump is performed (by native isql, or by a 3rd party API). As long as a full dump is done on a database, ASE seems to be keeping track of all the changed pages since the last full dump. So this means that you can perform a full dump using a 3rd party API, and then on isql, if you run a cumulative dump command, the cumulative dump succeeds, which is based on the last full dump by another library!
So, my question is: is there any way to programmatically determine how (by native isql or 3rd party) the last full backup was performed? I believe $SYBASE_HOME/ASE-15_0/dumphist contains this info, but it requires 'enable dump history' to be set first, and I am looking for a solution which does not involve checking a disk file.
Thanks,
AliDear Mr Razib,
I have not explored the feature but ASE autiding might provide you the possibility to access information on past database dumps via SQL.
Apart from that - I am not aware of an SQL interface to the dumphist file (would be nice to have, I agree)
Enabling dump history is definitley highly recommended (in my opinion) .
There is yet another feature which might help you to prevent an DBA from dumping databases and transactions to various locations.
When you create a DUMP CONFIGURATION and additionally set parameter
enforce dump configuration
ASE will prevent normal (free style) DUMP commands but enforce the use of an existing dump configuration. The mechanism is not fool proof (nothing prevents from creating yet another dump configuration on the fly) - but at least something.
With kind regards
Tilman Model-Bosch
Maybe you are looking for
-
Change default stroke/fill in existing doc
We have several existing large documents that are part of a book and we are unable to change default settings for stroke and fill. Whatever we try as soon as we draw an object the line and fill revert back to the same setting of stroke weight: 0, col
-
I am using a GPIB card to send a pulse to data logger to control a firing system
I need to be able to fire my linear accelerator from the computer, by sending a negative pulse and I need to be able to control the pulse duration, and also its voltage, I am using an HP34970A data logger with a HP34907A module.
-
Anyone ever had the "landscape" screen fail on you ?
You might know that just when I am ready to acquire the iPhone 5S my iPhone 4's landscape screen feature has suddenly lost this feature . What would it cost to restore this feature so I can sell it full featured 100% ? Thanks.
-
Stop Video when moving to another "state"?
Hello, I am not sure if this is a Flash Builder topic or a Flash Catalyst topic or I am guessing it is both. I have a Catalyst that contains multiple flv clips. I am discovering that when you play a video and then you decide to navigate to another
-
Hi, My SQL Query is: select RECORD_CREATED_DATE FROM ITEM_DETAIL WHERE BARCODE = '09010001638001'; This gives me the result: 29-APR-08 How do I retrieve date with complete year. Is there some conversion done by Oracle when I do the select or this is