on 06-23-2007 12:09 PM
I am running PI7.0 SP10.
I have added an exception message - if a value is not found in fixed value mapping provide a descriptive error - I have followed the attached link, /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
when I execute the mapping locally it works successfully, but when I run the process from end to end, I get the following error:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">NO_STREAM_TRANSFORMATION</SAP:Code>
<SAP:P1>com/guarneri/xi/mapping/udf/CustomMappingExceptio~</SAP:P1>
<SAP:P2>urn:com.server.system.function</SAP:P2>
<SAP:P3>8c51b220-9f3c-11db-94ce-eb180ddf0074</SAP:P3>
<SAP:P4>-1</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Java class com/guarneri/xi/mapping/udf/CustomMappingExceptio~ does not implement the required interface "StreamTransformation"</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have deployed the jar files and added them in Interface Mapping.
Has anyone come across the error?
Hi,
When u test locally did u use the message from SXMB_MONI.. if not try it out.
Probably the java code u used is not able to execute the methods used.
Check out the syntax, class implementation etc.
Rgds,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are too kind!
There's nothing worse than working weekends!
I wonder if it is due to the fact I am on PI7.0 and a dodgy SP10 (see other stressed out posts by me - I've been beta testing some patches for SAP!!)
This might seem a basic question...
Where should I add this?
I have tried using
import com.sap.aii.mapping.api.StreamTransformation;
but this errors in NWDS!
Barry,
See this document (page 6):
He has added this in mapping. So you also try to add this in mapping in the imports section and give a try.
---Satish
I don't know if I am doing something wrong but when I use the import, I get a JCO Mapping Error. I have temporarily removed the code until I can get this working.
Do I need to include the actual com.sap.aii.mapping.api.StreamTransformation into the jar files, as well as the include statement?
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
<SAP:P1>Exception in method processFunction.</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>"SYSTEM FAILURE" during JCo call. Exception in method processFunction.</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
I will get this working - but I need to carry on testing otherwise I'll never get this signed off!
Again, thanks for your input...
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.