Known Issues for SAP Mobile WorkSpace – Mobile Business Object Development

Learn about known issues and apply workarounds for SAP Mobile WorkSpace and mobile business object (MBO) development.

Issue #Description
SMPONP-5418
Unhandled event loop exceptions may be thrown when the MBO Developer deletes an operation from the mobile application diagram when the Input Mapping tab of the Operation Properties view is open.

Workaround: Do not open the Input Mapping tab of the Operation Properties view when deleting an operation from the mobile application diagram.

RTC-438
Cannot create an MBO operation when using a structure that contains LONG/BLOB fields.
When creating an MBO operation of type 'Other' from Properties > Operations > Add , where an SAP connection is used to create a BAPI parameter that contains a LONG/BLOB datatype, selecting Next or Finish to create the parameter has no effect. For example:
  1. In the Properties view of an MBO, navigate to the Operations tab.
  2. Select Add, provide a name for the operation, e.g. "MyBlobOperation", and select Other as the type.
  3. Select SAP as the data source type, select the SAP connection profile, and click Next.
  4. Select Browse and enter the BAPI that contains the LONG/BLOB parameter in the text box below the Refresh button, click Search....
  5. Select the BAPI and click Next.
  6. In the Parameter Definition select the LONG/BLOB parameter as "In Parameter".
  7. Click Next or Finish. Neither is working.
Workaround:
  1. Create the operation as before but check Bind data source later, and click Finish.
  2. From the Properties view of the created operation, navigate to the Data Source tab.
  3. Select Bind Data Source, select SAP as the type, and select an SAP connection profile, click Next.
  4. Click Browse and enter the BAPI that contains the LONG/BLOB in the text box below the "Refresh" button, and select Search.
  5. Select the BAPI, then click Finish in the dialog.
  6. In the "Parameter Definition" screen select the LONG/BLOB as the parameter type, click Next.
  7. In the "Input Mapping" tab, drag the argument containing the BLOB from the "Remote Operation Arguments" tree on the right side to the "Client Parameters" folder in the "Values" tree on the left side, and accept the informational pop-up dialog.
A client parameter is added and mapped to the argument.
RTC-429
SAP Mobile WorkSpace fails to start and returns the error "can not find the main class [..]" if the path has quotes in the PATH environment variable.

Workaround: Do not use a quoted path name when adding paths to the PATH environment variable.

RTC-425
In the Bind Data Source wizard for operations that have multiple outputs, the Output Mapping figure does not show any previously defined mappings, and validation may fail. However, the previously defined mappings prevent the user from adding the same mappings again.

Workaround: If the operation definition includes operation arguments, when the user reaches the Input Mapping page, the Finish button is enabled. The user can finish the wizard without visiting the Output Mapping page, then if necessary, make any changes to the Output Mapping property page.

N/A
When a cache group is defined with an "EIS managed" cache group policy with the "Notify EIS to fetch operation" option selected, if the EIS REST Web service requires authentication, define the credentials during package deployment or from SAP Control Center.
Workaround: If the Web service pointed to by the REST connection profile requires HTTP authentication, supply the credentials (technical user name and password) either:
  • During package deployment – when deploying the package to the SAP Mobile Server, select the REST Web service connection to which you are mapping, if one exists, or <New Server Connection...> to create a new one from the Server Mapping Connection screen and define the User and Password properties.
  • From SAP Control Center – any EIS connections defined here, display during package deployment.
RTC-411
SAP Mobile WorkSpace no longer automatically generates client parameter definitions and mappings to operation arguments.

Prior to SAP Mobile Platform version 2.2 SP02, SAP Mobile WorkSpace automatically generated client parameter definitions and mappings to operation arguments. In SAP Mobile Platform version 2.2 SP02 and later, when you create a new MBO operation, the client parameter is not automatically created, except for operations of type "Other".

Workaround: If the MBO developer wants to map the client parameters to operation arguments, drag and drop the operation argument to the Client Parameters folder in the Input Mapping page in the MBO Operation wizard or Input Mapping tab in the Properties view.

RTC-368
The internal default page size is used during Object API code generation if SAP Mobile Server is not selected, which can lead to code generation failure without a visible error from the code generation wizard.

If the MBO developer does not select SAP Mobile Server during code generation, the default page size is used. If the internal default page size is too small, code generation fails without creating object API code, and the page size error appears in the Error Log view, but not in the code generation wizard.

Workaround: Select an SAP Mobile Server connection profile to enable the Page size field, then select a proper page size. Also, as a common troubleshooting practice, open the Error Log view in SAP Mobile WorkSpace to find clues when the MBO developer detects any error symptoms.

RTC-355
When a cache group with an "EIS managed" policy and "Notify EIS to fetch operation" option selected does not have a REST Web Service endpoint specified, deployment fails with the error IllegalArgumentException: httpEndpoint is required when notify is enabled, even though there is no error indication when configuring the MBOs in the cache group.

Workaround: Add the REST Web Service endpoint for the EIS-managed cache group, and redeploy the mobile application project.

RTC-350
An MBO that is modeled and bound to a data source, then has all attributes deleted from the MBO at a later point, fails to deploy to SAP Mobile Server.

Workaround: Use the Bind data source later option to create an MBO that has no attributes.

RTC-343
SAP Mobile WorkSpace reports an error when a synchronization parameter is mapped to more than one load argument after migrating from a previous release.

Workaround: Remove redundant synchronization parameter to load argument mappings.

RTC-337
Deployment fails with unknown issue error when an MBO with custom object queries is renamed. 

Workaround: Modify the object query definition to reference the new MBO name.

RTC-151
When the MBO developer adds load arguments that map to personalization keys, selecting Refresh may fail due to missing default values for the load arguments. The default values of the personalization keys are not used when performing the refresh. 

Workaround: Unmap the personalization key field, which allows you to specify the necessary default values so that the execution to the EIS successfully retrieves MBO metadata.

CR-713043
Foreign key constraint violation error message.

You see a foreign key constraint violation error message if you create an MBO by dragging and dropping a table in which the foreign key and the primary key are both "identity" types.

Workaround: The MBO is created, and you can safely ignore these error messages.

CR-705643
SAP Mobile WorkSpace does not refresh the attributes of a MBO based on a stored procedure after the stored procedure definition has been changed in the EIS.

Workaround: After changing the stored procedure definition in the EIS, re-create the JDBC MBO.

CR-703200
MBO operations that include old value arguments that use large object types should be ignored, but SQL clauses still include the old value arguments.

SAP Mobile WorkSpace automatically creates an MBO with old value arguments for operations. If the datasource includes operation arguments with large object types (BigString/BigBinary), SAP Mobile WorkSpace shows a warning message that says the old value argument with large object types are ignored, but the SQL definition generated still includes the old value argument with the large object type.

Workaround: Manually remove any SQL clauses that include old value arguments with large object types.

CR-689859
The SAP Mobile WorkSpace Welcome page moves to standby mode after Eclipse is started.

This is due to a known Eclipse 3.7 bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=355560). In standby mode, the Welcome page is docked to the right as a view in the Mobile Development perspective, since the Problem view is part of the Mobile Development perspective.

Workaround: Double-click the docked Welcome page to extend it to full screen.

CR-689707
Default runtime values requirements.

For an MBO operation, a non-nullable argument must get its runtime value from one of the following: client parameter, personalization key, default value, or fill-from-attribute. If a non-nullable argument already uses a fill-from-attribute or client parameter, its default value is ignored. SAP Mobile WorkSpace still allows the user to input a default value.

Workaround: In this case, you need not set the default value, because it is not used during runtime.

CR-688576
The Oracle datatype NCLOB is not supported.
Workaround: Convert the CLOBS datatype to a varchar datatype. There are two ways to do this:
  • Create a stored procedure and call it from the MBO. In the stored procedure, convert the CLOBS to varchar:
  • Create this Transact-SQL® statement, which fetches 4000 bytes of the CLOB: select dbms_lob.substr( x, 4000, 1 ) from T.

    The maximum varchar length allowed in Transact-SQL statements is 4000 bytes. You can increase this to 32KB. SAP recommends that you use a stored procedure to process the BLOB in this way. For example:

    declare 
      my_var long; 
    begin 
      for x in ( select X from t ) 
      loop 
        my_var := dbms_lob.substr( x.X, 32000, 1 );
CR-676634
For Web Service and other data sources with complex structures and deeply nested element trees, StackOverflow or OutOfMemory messages may occur, or some of the operation input parameters may not be generated properly.
In some cases, you see this error:
The assigned stack size and/or heap size is 
not sufficient for the attempted operation.

Workaround: Increase the stack and heap size of the Eclipse runtime parameter in UnwiredWorkSpace.bat with -Xmx, -Xms, -Xss arguments, or reduce the complexity or nested level of the Web Service definition of the MBO operation.

CR-642942
Cannot generate code with Javadoc option enabled to a folder containing Chinese characters.

When using the Code Generation wizard, if you enable the option to generate Javadoc, you cannot generate the code to a folder containing Chinese characters without first changing the language for non-Unicode programs to Chinese.

Workaround:
  1. Select Start > Settings > Control Panel.
  2. Double-click Regional and Language Options, then click the Advanced tab.
  3. From the drop-down list, select Chinese, and click Apply.
  4. Click OK.