on 02-03-2014 8:07 AM
Hi All,
I am using the NWDS 7.3 for the java mapping development and imported the JAR file com.sap.xpi.ib.mapping.lib.jar in the external jars
But when I am adding the interface StreamTransformation, it is not selecting the interface and I am not able to find it from the add interface option.
I used JRE 1.6 and project specific JRE also but no luck with both the types.
Please let me know your comments.
Hi,
I followed the normal procedure, I am on PI 7.3 and using NWDS 7.3 for java mapping.
I have added the external jar file to my project com.sap.xpi.ib.mapping.lib.jar but there is issue and I could not find the interface as stated above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Where exactly u are searching for "StreamTransformation" interface and why u want to do it?
I mean ur JM template would be as below, so u have to code ur logic inside Transform method and don't need to worry about "StreamTransformation", below signature will take care of everything.
public class ClassName extends AbstractTransformation {
private Map param;
public void setParameter (Map param)
{
this.param = param;
}
public void transform(TransformationInput transformationInput, TransformationOutput transformationOutput)
throws StreamTransformationException
{
//write ur code here
}
}
>>I am not able to find it from the add interface option.
Can u describe what excatly u are doing?
Thanks
Amit Srivastava
Hi ,
Make sure you imported below jar file .
com.sap.aii.mapping.api
Below is SAP PI documentation for StreamTransformation
Regards
Venkat
Hi ,
Here is the link for 7.31.
From 7.1 onwards StreamTransformation interface was replaced by AbstractTransformation
. Nevertheless this interface is still supported. So it is not necessary to change existing mappings that use this deprecated interface.
Why do you want to use this interface for 7.31?
Regards
Venkat
hi Rahul,
if you would have added the jars you simply implement the interface manually. After that if it shows error then there is some problem with while including the jars.
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.