Testing mapping program
hi all.
i want to clear one thing that.
i have defined graphical mapping in design.
i.f a file to bapi.
so i created a graphical mapping program and in that i just need to check no of records in body witn trailer and sum of individaul amounts in body with trailer info .
if they both match then i need to set BAPI flag in reciever side as Y Otherwise N.
so just created my mapping program and tested it with only one record in body.
in this case it is sucess but when i tested the mapping program by putting two records in body (by duplicate subtree option in design mapping) .
in this case even the checking matches the flag in reciver side i.e BAPI is set to N.
so i just nee d to conform what is the way for testing mapping program in design.
waiting for u r response.
bye.
regards.
seeta ram.
Hi Ram,
your this way of testing msg mapping is okay.......just check the logic of your mapping and correct it, then you will get correct output in your this scenario.....
Thanks,
Rajeev Gupta
Similar Messages
-
How can we test XSL mapping program
Hi Experts,
I have XSL mapping program. How can I test this program.
Please tell me how can I test this file.
Thanks
BalaprasadPlease download xml tools like XML SPY/ALTOVA/ COOKTOP.
YOu can test your XSL mapping using these tools.
Alternatively, you have to create a Interface mapping in XI, using your XSL mapping.
Then you can test using test TAB in the interface mapping.
cooktop download:
http://www.xmlcooktop.com/update/
Regards,
Ravi -
Hi friends,
I am tryin java mapping for first time.. and created one java program using link https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/wholePayloadtoaXML+field
But when I am compiling it using JAVAC, I am getting following error message that
package com.sap.aii.mapping.api does not exist . How can I solve this error.
Complete error is as follows:
C:j2sdk1.4.2_16-x64 in>javac PayloadToXMLField.java
PayloadToXMLField.java:1: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.StreamTransformation;
^
PayloadToXMLField.java:2: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.AbstractTrace;
^
PayloadToXMLField.java:3: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.StreamTransformationConstants;
^
PayloadToXMLField.java:8: cannot resolve symbol
symbol : class StreamTransformation
location: class PayloadToXMLField
public class PayloadToXMLField implements StreamTransformation {
^
PayloadToXMLField.java:16: cannot resolve symbol
symbol : class AbstractTrace
location: class PayloadToXMLField
AbstractTrace trace;
^
PayloadToXMLField.java:27: cannot resolve symbol
symbol : class AbstractTrace
location: class PayloadToXMLField
(AbstractTrace) param.get(
^
PayloadToXMLField.java:28: cannot resolve symbol
symbol : variable StreamTransformationConstants
location: class PayloadToXMLField
StreamTransformationConstants.MAPPING_TRACE);
^
PayloadToXMLField.java:43: cannot resolve symbol
symbol : variable outputPayload
location: class PayloadToXMLField
outputPayload =
^
PayloadToXMLField.java:50: cannot resolve symbol
symbol : variable outputPayload
location: class PayloadToXMLField
out.write(outputPayload.getBytes());
^
9 errors
Thanks,
Brijesh Sonithanks , it is done now..
the program is compiled properly and class file is generated.
but m gettin error in mapping.
in IR i created two message type with data type as string.
and i had imported the class file and java program using Imported archives.
now in interface mapping mapping program i had selected type as Java Class.and name of java program.
but when i tested it, it is giving error as Linkage error occurred when loading class zip/PayloadToXMLField
Please suggest, M i doing some thing wrong?is any thing missing?
Program tht i had used in java
from link (https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/wholePayloadtoaXML+field):
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import java.util.Map;
import java.io.*;
public class PayloadToXMLField implements StreamTransformation {
String strXML = new String();
String outputPayload = new String();
//Declare the XML tag for your XML message
String StartXMLTag = "<Payload>";
String EndXMLTag = "</Payload>";
AbstractTrace trace;
private Map param = null;
public void setParameter(Map param) {
this.param = param;
public void execute(InputStream in, OutputStream out) {
trace =
(AbstractTrace) param.get(
StreamTransformationConstants.MAPPING_TRACE);
trace.addInfo("Process Started");
try {
StringBuffer strbuffer = new StringBuffer();
byte[] b = new byte[4096];
for (int n;(n = in.read(b)) != -1;) {
strbuffer.append(new String(b, 0, n));
strXML = strbuffer.toString();
} catch (Exception e) {
System.out.println("Exception Occurred");
outputPayload =
"<?xml version="1.0" encoding="UTF-8"?>"
+ StartXMLTag
+ strXML
+ EndXMLTag;
try {
out.write(outputPayload.getBytes());
trace.addInfo("Process Completed");;
} catch (Exception e) {
trace.addInfo("Process Terminated: Error in writing out payload");;
and detailed trace of error is:
11:34:21 Start of test
LinkageError at JavaMapping.load(): Could not load class: zip/PayloadToXMLField
java.lang.NoClassDefFoundError: zip/PayloadToXMLField (wrong name: PayloadToXMLField) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.lang.ClassLoader.defineClass(ClassLoader.java:448) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingLoader.findClass(RepMappingLoader.java:175) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at com.sap.aii.ibrep.server.mapping.ibrun.RepJavaMapping.load(RepJavaMapping.java:136) at com.sap.aii.ibrep.server.mapping.ibrun.RepJavaMapping.execute(RepJavaMapping.java:50) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.transform(MapServiceRemoteObjectImpl0_0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) 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:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
11:34:21 End of test -
Hi Expets,
We know that there are different mapping programs are available in XI environment like Graphical Mapping, Java Mapping, ABAP Mapping and XSLT Mapping. But on what basis we will choose one of these mapping programs?
I mean, which constraints would make me to choose specific mapping program?
Thanks,
Vijay Kumar T.Hi Vijay,
This is a very good question!!!
We need to decide mapping based on performance ,response time and complexity.It is found that, one should try Graphical mapping first, and if its not possible by this,then go for other mappings.
see here for more detalis of mapping
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
At what situations we will go for ABAP mapping?
See these threads of similer discussion
ABAP Mapping
when we wil go for abap mapping ??
abap mapping
ABAP Mapping
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.
see these also .. u might need this some day!!
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
Some scenarios
/people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
JAVA mapping
How is JAVA mapping different from Graphical, XSLT and ABAP mapping?
Graphical mapping is an easiest and 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 may involve Java UDFs as a part of the mapping program. But sometimes with graphical mapping it is difficult or it may seem impossible to produce required output; for example text/html output, namespace change, sorting or grouping of records etc. A person comfortable with Object Oriented ABAP can go for ABAP mapping instead. One can also think of XSLT mapping as another option. In such cases, when java mapping is used the developer has full control over the message content and could manipulate it based on the output requirement. Hence, java mapping can prove to be an efficient approach.
A few example cases in which Java mapping can be used:-
When the required output is other than XML like Text, Html or XHTML (html displayed as XML).
When the data is to be extracted from input which is in text format.
When default namespace coming from graphical mapping is not required or is to be changed as per requirements.
When data is to be filtered, sorted or grouped based on certain fields (considering File as source)
Advantages of using Java mapping
Java program itself defines its own target structure.
File content conversion at sender side can be avoided in case of text or html input.
File content conversion at receiver side can be avoided in case of text or html output.
Java can be used in combination with graphical mapping.
Multi-mapping is also possible using Java mapping.
Using Mapping Runtime constants we can determine all message related information such as Message ID, sender service etc.
Disadvantages of using Java mapping
Once the java mapping has been imported into XI, to incorporate any further changes one has to compile the java program and import the class file again into XI.
Thanqs
Biplab -
Error in mapping program in scenario
Hi all,
here i am facing an issue which is to be fixed very urgently. please help me masters.
here i am having a single source structure and multiple receiver structures. after confirming many sources i finally started my work with the help of this blog.
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
But now i am facing a problem that my mapping program and interface mapping are executing the file successfully when i tested in the test tab of both of them.
When i tried to test my scenario in TOOLS-----TEST CONFIGURATION . there it is showing error in the interface determination/mapping step.
here on the receiver side we are going to use proxies. for that we used XI adapter.
please check the above blog and let me know whether my total procedure is perfect or not
THANKS in advance to all .
HELPFUL ANSWERS WILL BE REWARDED.Hi Ramana !
Could you take a screenshot of your error and put it in www.imageshack.us, then give us the link to see exactly which error are you getting. Please expand the node of the error message.
Does the scenario works actually?? I've noticed some cases where the test tool gives errors but once the scenario is running everything works fine.
Regards,
Matias
Message was edited by:
Matias Denker -
One mapping program for three diferent enviroments
Hello there,
I have developed a scenario in which an rfc requests a web service trough XI. In the process a BPM is involved together with some XSLT mappings.
R3->XI->WebService
The Web service request message looks like follows:
<?xml version="1.0" encoding="UTF-8"?>
<cem:Z_ORDER_SEARCH xmlns:cem="http://XXXXXXXX/yyyyyyyyyyyy">
<messageStructure/>
</cem:Z_ORDER_SEARCH>
Where "http://XXXXXXXX/yyyyyyyyyyyy" Is the web service destination.
Everything works fine, but as I have to manage three different environments for Development, Quality and Production I need three different versions of the XSL mapping since destinations are not the same for Dev, Qlty and Production environments.
I found out that I can get information of the sender using runtime parameters as follows:
<xsl:param name="SenderSystem">
I would like to evaluate this information to determine the target URL destination.
If the sender is the development sender then the URL target is the development destination and so on.
I tried the following code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:cemDev="http://developmentDestination"
xmlns:cemQlty="http://qualityDestination"
xmlns:cemPrd="http://productionDestination"
xmlns:cem=""
<xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
<xsl:template match="/">
<cem:mappingProgram/>
</xsl:template>
</xsl:stylesheet>
This works all right, but I cannot insert code to evaluate the destination.
On the other hand, this code is not valid:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:cemDev="http://developmentDestination"
xmlns:cemQlty="http://qualityDestination"
xmlns:cemPrd="http://productionDestination"
xmlns:cem="">
<xsl:param name="SenderSystem"/>
<xsl:choose>
<xsl:when test="string($SenderSystem) = 'PRODUCTION'">
<xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemPrd"/>
</xsl:when>
<xsl:when test="string($SenderSystem) = 'QUALITY'">
<xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemQlty"/>
</xsl:when>
<xsl:otherwise>
<xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
</xsl:otherwise>
</xsl:choose>
<xsl:template match="/">
<cem:mappingProgram/>
</xsl:template>
</xsl:stylesheet>
Neither this one:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:cemDev="http://developmentDestination"
xmlns:cemQlty="http://qualityDestination"
xmlns:cemPrd="http://productionDestination"
xmlns:cem="">
<xsl:param name="SenderSystem"/>
<xsl:template match="/">
<xsl:choose>
<xsl:when test="string($SenderSystem) = 'PRODUCTION'">
<xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemPrd"/>
</xsl:when>
<xsl:when test="string($SenderSystem) = 'QUALITY'">
<xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemQlty"/>
</xsl:when>
<xsl:otherwise>
<xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
</xsl:otherwise>
</xsl:choose>
<cem:mappingProgram/>
</xsl:template>
</xsl:stylesheet>
I tried this other code, which is obviously not valid:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:param name="SenderSystem"/>
<xsl:choose>
<xsl:when test="string($SenderSystem) = 'PRODUCTION'">
<cem:Z_ORDER_SEARCH xmlns:cem="http://productionDestination">
</xsl:when>
<xsl:when test="string($SenderSystem) = 'QUALITY'">
<cem:Z_ORDER_SEARCH xmlns:cem="http://qualityDestination">
</xsl:when>
<xsl:otherwise>
<cem:Z_ORDER_SEARCH xmlns:cem="http://developmentDestination">
</xsl:otherwise>
</xsl:choose>
<cem:mappingProgram/>
</cem:Z_ORDER_SEARCH>
</xsl:template>
</xsl:stylesheet>
So the only way I found to make it works is like this:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:param name="SenderSystem"/>
<xsl:choose>
<xsl:when test="string($SenderSystem) = 'PRODUCTION'">
<cem:Z_ORDER_SEARCH xmlns:cem="http://productionDestination">
<cem:mappingProgram/>
</cem:Z_ORDER_SEARCH>
</xsl:when>
<xsl:when test="string($SenderSystem) = 'QUALITY'">
<cem:Z_ORDER_SEARCH xmlns:cem="http://qualityDestination">
<cem:mappingProgram/>
</cem:Z_ORDER_SEARCH>
</xsl:when>
<xsl:otherwise>
<cem:Z_ORDER_SEARCH xmlns:cem="http://developmentDestination">
<cem:mappingProgram/>
</cem:Z_ORDER_SEARCH>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
Unfortunately this doesnt solve my problem, because I need to reproduce the mapping program three times in the document.
Any ideas, or suggestions how to manage one mapping program for the three different environments?
Thanks a lot in advance, RaúHi there,
I just found one way of getting this done. It may not be the better waw, but I post it in case it is helpfull.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!-- Sender System at runtime-->
<xsl:param name="senderSystem"/>
<!-- SenderSystem constants (development addressed by default)-->
<xsl:variable name="qualitySenderSystem" select="'WHATEVERTHENAMEOFTHEQUALITYSENDERSYSTEM'"/>
<xsl:variable name="productionSenderSystem" select="'WHATEVERTHENAMEOFTHEPRODUCTIONSENDERSYSTEM'"/>
<!-- Mapping program template to be called-->
<xsl:template name="mappingProgram" match="/">
<!-- MAPPING PROGRAM-->
<UNIQUE_MAPPING_PROGRAM/>
<!-- END OF MAPPING PROGRAM-->
</xsl:template>
<!Receiver determination depending on senderSystem>
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$senderSystem=$productionSenderSystem">
<xxx:Z_ORDER_SEARCH xmlns:xxx="http://production">
<xsl:call-template name="mappingProgram"/>
</xxx:Z_ORDER_SEARCH>
</xsl:when>
<xsl:when test="$senderSystem=$qualitySenderSystem">
<xxx:Z_ORDER_SEARCH xmlns:xxx="http://quality">
<xsl:call-template name="mappingProgram"/>
</xxx:Z_ORDER_SEARCH>
</xsl:when>
<xsl:otherwise>
<xxx:Z_ORDER_SEARCH xmlns:xxx="http://development">
<xsl:call-template name="mappingProgram"/>
</xxx:Z_ORDER_SEARCH>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet> -
XI 2.0 Mapping Program Archive not imported
Hi,
I am working on XI 2.0 and using XSLT programs within a WinZip archive. I have tested the mapping program outside of XI and all is OK/Well formed etc, but when I try to import the ZIP file containing the xsl template the imported archive is empty so that I do not see any mapping programs in the list of files within the archive. I have tried then exporting the imported archive as a new zip file on the o/s and it contains the correct mapping programs.
I have re-started the XI box and still have nothing working.
Please help..
MarkHi Theo,
yes the mapping program is xsl. I have sorted it out now, by simply re-starting XI and the local pc running the Java WebStart.
Dont understand what the problem was, as I cannot now replicate it.. but thanks anyway..
Cheers,
Mark -
RuntimeException when executing application mapping program
Dear Friends
I am trying to send an Idoc from R3 system to an SCMTM system.
I have imported the idoc, message mapping is preconfigured from SAP and requisite configurations in ID have been completed.
I am getting this error in test of Interface mapping (operation mapping).
RuntimeException when executing application mapping program com/sap/xi/tf/_DESADVDELVRY03_to_ShipmentRequestRequest_; Details: com.sap.aii.mappingtool.tf7.IllegalInstanceException; Cannot create target element /ns0:ShipmentRequestRequest. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD.
Please help.
Thank You
Warm Regards
Arjun GhoseHi,
it seems that per your XSD the element "/ns0:ShipmentRequestRequest" needs to be created and filled with a value (occurance min 1). But appearently within your mapping you do not create or fill this element. So the validation of the XML against the XSD fails.
Please check your mapping regarding the element "/ns0:ShipmentRequestRequest".
Reagrds,
Kai -
Hi Experts,
is it possible to analyze a specific UDF written in Graphical-Mapping program? like in abap we use F5,F6 and F7 for step by step analysis... (i.e what is the input entering into perticular field and at each step we can see what the value that is getting populated into each field)????
What is the difference between setting different trace levels in message mapping (in the test tab)... please tell me the exact difference..._please don't give the normal definitions of using trace levels_...Hi,
Consider the below piece of code
for(int i=0;i<LineItem.length;i++)
for(int j=0;j<Record.length;j++)
result.addValue(Record[j]);
result.addContextChange();
You want to know what's the value for Record[j] or LineItem<i> in the loop, so you can write the code as
MappingTrace trace = container.getTrace();
for(int i=0;i<LineItem.length;i++)
trace.addInfo("LineItem["+i+"] ="+LineItem<i>);
for(int j=0;j<Record.length;j++)
trace.addInfo("Record["+j+"] ="+Record[j]);
result.addValue(Record[j]);
result.addContextChange();
Then you can use Display Queue or execute the mapping program to see what value is being populated.
raj. -
NO_MAPPINGPROGRAM_FOUND : Mapping program is not available in runtime cache
Hi,
I have a SOAP to RFC scenario. Where the source is a service interface and target is ZBAPI. When I test this interface I get
'NO_MAPPINGPROGRAM_FOUND : Mapping program is not available in runtime cache' error.
I have tried the following things but none worked.
1. Checked the Message Mappings and reimported it in the Operation Mapping.
2. Deleted and created the Operation Mapping again.
3. Cleared the SLD Cache.
4. Performed the Complete Cache Refresh from SXI_CACHE.
5. Reimported the ZBAPI.
6. Deleted all the IR and ID objects and created it once again after performing the Cache refresh.
Note: I had one observation that the newly created Operation Mapping object had the same object ID as that of the deleted one.Hi experts,
I have a SOAP to RFC scenario. Where the source is a service interface and target is ZBAPI. When I test this interface I get
'NO_MAPPINGPROGRAM_FOUND : Mapping program is not available in runtime cache : Object ID <ID of Operation Mapping>' error.
I have tried the following things but none worked.
1. Checked the Message Mappings and reimported it in the Operation Mapping.
2. Deleted and created the Operation Mapping again.
3. Cleared the SLD Cache.
4. Performed the Complete Cache Refresh from SXI_CACHE.
5. Reimported the ZBAPI.
6. Deleted all the IR and ID objects and created it once again after performing the Cache refresh.
Note: I had one observation that the newly created Operation Mapping object had the same object ID as that of the deleted one.
The ZBAPI is a wrapper for a standard BAPI with Request, Response and Exception as a structure.
Can anyone please highlight on the above issue also please consider the note above.
Regards,
Rohit. -
Error while Test Map in Biztalk 2010
Hello,
I have made some changes to the existing map and tried to test the map.The Changes I made is adding a scripting functoid with the following code
public string Code(string recode, string amount)
{ double k = Convert.ToDouble(amount);
if(k>0)
{ return " ";
else return recode;
also added the logical functoid and value mapping in another field like
When I clicked the Test Map option, I am getting an error message like this
I am not sure what is going wrong. Can anybody help me with this.
ThanksHello,
I have made some changes to the existing map and tried to test the map.The Changes I made is adding a scripting functoid with the following code
public string Code(string recode, string amount)
{ double k = Convert.ToDouble(amount);
if(k>0)
{ return " ";
else return recode;
Here's the problem.
You can't convert a null value
to a meaningful value through Convert.
Your best option is to check for null first
and then assign a value of 0 (or whatever) to the result.
Rachit -
Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a blur.
Do you have a question? This is a user to user help forum. Apple is not here only other users like yourself. You don't report problems to Apple here.
By the way, it might help if you indicated where you are located.
To complain to Apple use http://www.apple.com/feedback/ipad.html -
Hi Microsoft Excel Power Map program team!
I looked @ your Excel Power Map program add on, and it’s great.
However everyone is looking for the ability for the user to create polygon (boundary) maps.
It should not be that hard to add this functionality onto such a great map program you already have.
For example: let’s say one has 10 latitude & longitude coordinates and he wants to see the polygon (boundary) of them on your great map. One should be able to just put those 10 latitude & longitude coordinates in an Excel sheet, fire up your Power
Map, select that it should be plotted as a polygon (boundary) and it will display on the map.
Does Microsoft have any plans to add user polygon (boundary) map creation ability to your great Excel Power Map program?
I would also like to see Excel Power map have USA census tracts built into it just like is has USA zip codes built into it. Census data is also very important as thousands and thousands of people need to display polygon (boundary) for census tracts.
Please let me know if Microsoft has any plans to add user polygon (boundary) creation ability to its great Excel Power Map program?
Thank you very much!Hi,
Thanks for your feedback, based on your feature required, I'll move your thread to Power Map forum, there might be give us some light.
https://social.technet.microsoft.com/Forums/en-US/home?forum=powermap&filter=alltypes&sort=lastpostdesc
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
ABAP MAPPING PROGRAM TRANSPORTATION ISSUE
Hi Experts,
Our issue is as following:
Already one ABAP mapping program is there in our DEV and in QA also.
Now we have changes the code according to some requirement.
Now we need to reflect the same in QA also.
For that I have certain doubts.
1) after releasing the request number in R/3, will it effect there in integration builder of the QA?
2) Is there any need to do in ADMINISTRATION to reflect the same?
Please revert urgenly.
Regards
sreenihi barry,
thanks a lot . we have released it into integration it is working fine.
thanks once again and i wll reward points also.
I think you can tell my one more doubt is as:
I have one new ABAP mapping program which is not used till now in any interface mapping in ID of XI.
now want use this my integration builder ID in as mapping program.
in this case is any requirement to enable the same in Integration ADMINISTRATION tab.
plz clarify me.
regards
sreeni -
XI 3.0: Additional libraries for mapping program
Hello,
I got the scenario that the program within my Interface Mapping is making use of additional custom java resources (jar's).
I know that in XI 2.0 I had to put these additional libraries into the directory:
..\j2ee\cluster\server\additional-lib
and register them in the files:
..\j2ee\cluster\server\managers\library.txt and
..\j2ee\cluster\server\managers\reference.txt
Now in XI 3.0 I don't have these folders and files anymore. Therefore I simply imported the jar files into the repository...But I do neiter know wether that is the right way at all for registering additional libs in XI 3.0 nor I don't know if I have to import them into the same software component or namespace then the mapping program.
Does anybody know how to make use of additional libraries within a XI 3.0 Stack 5 landscape? I would very much appreciate any recommendations on that!
Kind regards,
Sven LattermannHi Advait,
From the below what I understand is that you are not able to do value mapping for the follwoing
1 A
2 A
3 B
As value mapping allow one to one mapping only. Please do it like as mentioned below
1 1*A
2 2*A
3 3*B
Then in the graphical mapping of Integration Repository do the mapping for the same as shown below
source field > VALUEMAPPING> UDF--> TARGET Field
In UDF suppress the value of 1* , 2* , 3* which can be done as follows
create one UDF with one input field
//write the code as below to suppress the field
return input.substring(2);
Here the davantage of using 1* , 2* , 3* etc is that you have the option to use value mapping for 100 values which I think is not normally the case for any Interface.
If you have same source you can do the same thing for that.
Hope this helps you to resolve your query.
Thanks & Regards
Prabhat
Maybe you are looking for
-
Apple Remote Desktop and Bluetooth
Hi, does anyone know if Apple Remote Desktop can be connected between two computers over a bluetooth equipped Mac computers. Thank you very much.
-
Has anyone tried to trade in the their iphone5 for the gift card that can be used to buy iphone6?
-
Hi there, Everytime I plug an external drive conky automatically creates this new line at the end of conkyrc file, something like: ${color slate grey}HTS72108:${fs_size /media/HTS72108} ${color orange}U:${fs_used /media/HTS72108} ${color}F:${fs_free
-
Custom Personas! I have just spent some time getting an image to wrap round the search box.....will this look the same on another browser of a differing resolution?????
-
I'm working on a sms application and was wondering if there is a port which is available (not used by phone software or app) on mobile phones of all brands?