Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

BizProcException: BPE027 Could not get an instance for 'Callable'-class

$
0
0

Hi Experts...

 

I have so much troubles with the implementation of the  "Java Class Atom"...

 

My Scenario doesn't work because i don't have any idea how to use this atom.

 

Can you help me to implement my Java class...i had read the documentation

 

but the atom does not work...put here mi java class code

 

package Hola;
import java.util.regex.Pattern;
import java.util.Enumeration;
import com.sap.b1i.bizprocessor.*;
import java.sql.Connection;
public abstract class Hola implements Callable{     public Hola(){ }     public boolean call(java.util.Properties inProps, BizProcMessage inMsg, java.util.Properties outProps, BizProcMessage outMsg, java.sql.Connection conn, java.lang.String jobID) throws Exception{       try{            String ret = null;            ret = "Call Response in outprop ";               outProps.setProperty("clsprop", ret);            return false;       }        catch (Exception e){            throw new Exception("Error");       }  }  public boolean isThreadSafe() {return false;}  public boolean usesJDBC() {return false;}  public void mustDestroy(){}       public static void main(String[] args){  }
}

I have the suspect of the error is on my code, but i'm not sure.

 

Thank you very much.

 

Best Regards.

 

Enrique


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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