Create or add an SAP result checker when you edit Attribute or Operation properties for a mobile business object derived from an SAP data source under the Definitions tab. You can also configure SAP result checkers when you create an object. You can choose a predefined or a custom SAP result checker, if you have created one.
Option | Description |
---|---|
Default | If there is a RETURN parameter found in the currently selected BAPI operation, this option is automatically selected. This option uses the com.sybase.sap.DefaultSAPResultCheck result checker. |
None | If there is not a RETURN field found in the currently selected BAPI operation, this option is automatically selected. This option uses the com.sybase.sap.NoOpSAPResultCheck result checker. |
Custom | Select this option to specify a custom SAP result checker. |
Option | Description |
---|---|
Source Folder | By default, this is the Filters folder from your project. Click Browse to locate the source folder for the Java class. |
Package | Click Browse to locate the package for the new Java class. Note: Sybase recommends that you specify the package and do not leave this field blank as the JDK 1.4 Java class in the default package cannot be resolved in other packages.
|
Enclosing type | Select to choose a type in which to enclose the new class. You can select either this option or the Package option, above. Either enter a valid name or click Browse. |
Name | Enter a name for the SAP result checker class. |
Modifiers | Select the Java class modifiers. |
Superclass |
By default, this is filled in with java.lang.Object.
|
Interfaces | By default, this is populated with the com.sybase.sap.SAPResultChecker interface. Click Add to select interfaces implemented by the new class. |
Which Method Stubs Would You Like to Create |
|
Do You Want to Add Comments | Select Generate Comments to add comments. Note: If you set the Java project compiler compliance level to later than 1.4, you receive comments about missing classes. Set the Java project compiler compliance level to 1.4 or earlier.
Java projects that are configured to compile with a compiler compliance level later than 1.4, have a known issue, where Java files referring to the RIM API have missing class errors.
|