Upgrading Applications that Use a Custom SAP Result Checker

SAP custom result checkers must be upgraded to use JCo version 3.

  1. In your test environment, install or upgrade to Unwired Server version 2.1 and install Sybase Mobile SDK.
  2. Copy onto this system the mobile application project that contains the source code below for the custom SAP result checker.
    import com.sap.mw.jco.JCO.Function;
    import com.sybase.sup.sap.SAPResultChecker;
    public class jcov2checker implements SAPResultChecker {
         public Entry<Boolean, String> checkReturn(Function arg0) {
         ...;
    	    }
    }
    
  3. Modify the source code for the custom SAP result checker to use JCo version 3, as shown below.
    import com.sap.conn.jco.JCoFunction;
    import com.sybase.sup.sap3.SAPOperationHandler;
    public class jco3Rcheck extends SAPOperationHandler {
    	    public void resultCheck(JCoFunction f) {
         ...;
    	    }
    }
    
  4. Package and deploy the project, and verify that the custom SAP result checker updated to use JCo version 3 works correctly.
Next
If the mobile application is to go into production, provide the Unwired Platform system administrator with the package lib\jar file that you upgraded to use JCo version 3.