Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

SUP 2.1.3 Result Checker for an OPERATION on a MBO

$
0
0

Hi Experts,

 

I have a scenario in which their is a MBO which connects to SAP back end and an operation on the MBO.

 

On executing the operation from the device I also need to retrieve its output.
For that I am trying to write a Java Result Checker in SUP.

 

For simplicity, I have kept the output of the operation a simple structure of the type BAPI RETURN.
Also, I am using the same code specified in Sybase Infocenter (http://infocenter.sybase.com/help/index.jsp) for implementing the Result Checker.

 

But on doing a Test Execute on the operation in SUP Workspace, I get an error : Execution failed: <name of my result checker>.

Also one point to note is, on doing a Test Execute the control reaches the back end.

The detailed error is as mentioned below:

 

java.lang.RuntimeException: Failed to execute EISOperation.

          at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:286)

          at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:168)

          at com.sybase.uep.tooling.eis.SapEISOperationImpl.execute(SapEISOperationImpl.java:461)

          at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection.getRecordSet(ExecuteSection.java:332)

          at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection.access$400(ExecuteSection.java:83)

          at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection$4.run(ExecuteSection.java:213)

          at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

 

Caused by: java.lang.RuntimeException: Failed to instantiate operation handler

          at com.sybase.vader.da.jca.JcaInteractionOperation.invokeOnError(JcaInteractionOperation.java:290)

          at com.sybase.vader.da.jca.JcaInteractionOperation.execute(JcaInteractionOperation.java:175)

          at com.sybase.vader.statistics.MonitoringOperation.execute(MonitoringOperation.java:72)

          at com.sybase.vader.service.interaction.PipelineCompositeInteractionOperation.execute(PipelineCompositeInteractionOperation.java:55)

          at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:268)

          ... 6 more

 

Caused by: java.lang.ClassNotFoundException: com.sup.CustomMyChecker

          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

          at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:247)

          at com.sybase.vader.da.jca.JcaInteractionOperation.invokeOnError(JcaInteractionOperation.java:276)

          ... 10 more

 

Please give your opinions if you have faced similar issue.

 

Thanks,

Dharmaraj Patil


Viewing all articles
Browse latest Browse all 5512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>