cancel
Showing results for 
Search instead for 
Did you mean: 

XI Error NO_STREAM_TRANSFORMATION.MAPPING

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi

I have successfully mapped the output from SXMB_MONI locally.

The more research I do, I think I need to add the com.sap.aii.mapping.api.StreamTransformation; to the code somewhere....

I'll keep trying!

Thanks for the input!

Former Member
0 Kudos

Barry,

Sorry wrong answer

---Satish

Message was edited by:

Satish Reddy

Former Member
0 Kudos

Satish

I think you have a point... I think I need to incorporate the com.sap.aii.mapping.api.StreamTransformation;

into the JAR file.

Although I am not sure how... I don't know Java that well...

I have tried adding this to the UDF but the error remains the same...

Former Member
0 Kudos

Barry,

Dont need to add anycode for this. Just include this in your class and once again compile and reload into XI and give a try. Also just now I pinged alex(owner of the weblog) for the same. I am waiting for his reply also for your issue.

---Satish

Former Member
0 Kudos

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!

Former Member
0 Kudos

Barry,

See this document (page 6):

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0d97345-0801-0010-6595-fa5fd3a6...

He has added this in mapping. So you also try to add this in mapping in the imports section and give a try.

---Satish

moorthy
Active Contributor
0 Kudos

btw, you need to have that library files in the NWDS.. as mentioned in the other reply..

Compile/build complete project again in NWDS before using in XI.

rgds,

moorthy

Former Member
0 Kudos

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>&quot;SYSTEM FAILURE&quot; 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...