Known Issues for SAP Mobile WorkSpace – Hybrid App Package Development

Learn about known issues and apply workarounds for SAP Mobile WorkSpace and Hybrid App development.

Issue #Description
SMPONP-3552
64-bit packaging tool cannot be launched on 64-bit Windows.

By default, SAP Mobile SDK installer configures the system to use the 32-bit packaging tool. If you try to run the 64-bit packaging tool (PackagingTool64.bat) after completing a new or upgrade installation of SAP Mobile SDK on a 64-bit Windows system, launching the tool fails with this message:

Cannot load 64-bit SWT libraries on 32-bit JVM
Workaround: Set up a 64-bit JDK to work with the 64-bit packaging tool.
  1. Set system environment variables CLASSPATH, JAVA_HOME, and Path to point to the 64-bit JDK installed by SAP Mobile Platform at SAP_HOME\MobilePlatform\JDK1.6.0_31-x64.
  2. Verify that the SAP_HOME\ObjectAPI\Utils\bin\set-java-home.bat has been modified to point to the installed 64-bit JDK (where SAP_HOME is the installation directory for SAP Mobile SDK on the 64-bit system).
  3. Launch PackagingTool64.bat.
RTC-333
Updating null values to non-null not supported on Windows Mobile.

Null values are not supported for the Windows Mobile platform. For example, the Allows null property in Designer has no effect on a Hybrid Apps running on Windows Mobile devices.

Workaround: None.

CR-707123
Cannot upload large image files using the File Manager application on some Android devices.
Although image previews and uploads continue to work, you may see this message after selecting an image in a Hybrid App:
File type is not supported! 
Workaround: Use a different gallery application by resetting the default:
  1. Open the Settings application.
  2. Click Applications > Manage applications.
  3. Click All.
  4. Select the current default gallery application.
  5. For the Launch by default setting, click Clear defaults.
CR-699341
BlackBerry 7 form labels do not use specified theme.

On BlackBerry 7 devices, in a form that uses labels on the left, if the first field is editable, the second label does not initially use the theme set in the form.

Workaround: Type in the field to change the label to the appropriate theme.

CR-698779
DatePicker control does not reopen in BlackBerry 7+.

In a BlackBerry 7 or later device, if you invoke the DatePicker control in a Hybrid App by clicking in a date field, click Cancel in the DatePicker, and then click again in the same field, the DatePicker control does not reopen.

Workaround: After clicking Cancel in the DatePicker, click in another field that is not of type DATETIME or TIME. You can then click in the original date field to open the DatePicker.

CR-694665
AsyncRequestErrorLogs key not generated in a migrated project.

If you migrated a Hybrid App project that previously contained a submit Hybrid App action, setting its error screen property does not generate the AsyncRequestErrorLogs list key.

Workaround: Create a new Submit Hybrid App action, or click the Generate Error Screen button.

CR-690438
A workflow does not initiate an operation.

This might happen if the workflow is not constructed correctly.

On a Listview details screen, you cannot invoke a submit workflow to invoke an MBO operation that uses child keys of the list key that is bound to that listview. To prevent developers from performing an illegal operation, the keys are removed from the list. However, you can see those keys before making the workflow type operation a Listview details screen because it is not illegal in that circumstance; it is only illegal once you make it a Listview details screen. If you use those keys when it is not a Listview details screen and then make it a Listview details screen, the workflow operation fails without any indication of the problem.

Workaround:

Client-initiated workflow: verify that no online request operations (such as findall) precede the submit workflow type operation. If there are such operations, remove them.

Server-initiated workflow: verify that no links (between the start point and the first screen saved) precede the submit workflow operation. If there are such links, remove them.

CR-684635
Choice controls with a large number of rows do not behave as expected on some platforms.

Workaround: For best performance, keep the number of rows in choice controls smaller than 200.

CR-682741
"Validate controls as soon as the user tries to change focus away from them" option in Hybrid App Package generation wizard is not supported on Windows Mobile.

Workaround: None.

CR-681918
When you click the Hybrid App icon on iOS devices, you see the message Hybrid App please go to the settings application and enter your configuration....

This happens if you attempt to open a version 2.0 workflow on the iOS device and connect to version 2.1 of SAP Mobile Server.

Workaround: In SAP Control Center, use the HWC template to create an application connection, and leave the application identifier empty.

CR-677684
Locale properties file is not updated if screens, controls, menu items and so on are removed.

During Hybrid App package generation, you see a warning that validation keys are missing from the <locale>.properties file if the number of screens, controls, or menu items, have changed, for example, if you deleted a menu item. Resource strings associated with screens, controls, and menu items do not correctly update the sequence.

Workaround: Either do not remove screens, controls, menu items and so on after localizing, or manually correct the localization .properties file after making the changes.

CR-675904
Object queries in the Online cache group are case-sensitive.
If the enterprise information system (EIS) to which an object query is associated with has case-sensitive parameters, the client must pass matching parameters or no data is returned. For example, if the Customer MBO is in an Online cache group, has a load parameter "state" that is propagated to the attribute "state," and a findByParameter object query defined as:
SELECT x.* FROM Customer x WHERE x.state = :state 
No data is returned to the client if the user enters state=Ca, since the database parameter is case-sensitive (requiring "CA"). This is not an issue for object queries in other types of cache groups.

Workaround: None.

CR-674149
Exception received with large amounts of data.
When the amount of data is too large to download to the Hybrid App client device, you may get an exception similar to:
"iAnywhere.MobileOffice.AMP.ResponseRetryException" on device, and following error in WorkflowClient.log: 

20110616T110249.554|4|My:1 -- ExecuteRequest- > Out 
20110616T110249.694|1|iAnywhere.MobileOffice.AMP.ResponseRetryException: Exception of type 
'iAnywhere.MobileOffice.AMP.ResponseRetryException' was thrown. 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Utils.CheckMessageSize
(String serializedMessage, ContextData oContextData, Boolean fromResponder) 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Responder.ProcessMessageFromDevice
(ContextData oContextData, String sData, Boolean isSynchronous) 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Responder.ProcessSyncRequest
(ContextData oContextData, String sData) 
20110616T110249.694|4|My:1 -- ProcessSyncRequest- > Out

Workaround: Increase the allowed maximum message size (SupMaximumMessageLength). From SAP Control Center, expand Hybrid Apps and select the Hybrid App. Select the Context Variables tab. Modify the property.

CR-673572
Hybrid Apps do not work with Android simulators version 2.3.3.

See http://code.google.com/p/android/issues/detail?id=12987 for a description of this issue.

Workaround: Use an earlier version of the Android simulator. Alternatively, use Android simulator version 4.0 or later.

CR-671242
If a Hybrid App uses a Web Service that takes a structure as its input, submit operation is empty.

While you can add items to a listview and save the list, when you submit the operation, it is empty. Array/list fields in structure parameters are not supported. You can have a top-level parameter that is an array/list, and you can have a top-level parameter that is a structure that has non-array/list fields and substructures.

Workaround: None.

CR-667187
The BlackBerry Bold 9700 device simulator sometimes does not allow the user to have full control of the screen for an application, and may perform the incorrect operations, and return the wrong results. Physical devices work correctly.

Workaround: None.