Previewing Mobile Business Object Attributes

Configure load arguments and preview the results against the data source to which they are bound. Optionally create a reusable configuration for future previews.

  1. From the Mobile Application Diagram, select the mobile business object you want to test by clicking once anywhere in the mobile business object.
  2. Right-click the mobile business object and select Preview.
    Note: You can also access the Preview dialog when defining attributes for a newly created mobile business object. Or you can click the Definition tab of Attributes in the Properties view then click the Preview button to see the Preview dialog.
  3. From the Preview dialog, configure the attribute parameters used to test and preview the mobile business object and preview the results.
    Preview Dialog Instructions
    Field Description
    Load arguments
    • Argument name – (read-only) the name of the argument.
    • Datatype – (read-only) the parameter's datatype.
    • Nullable – (read-only) accepts NULL if selected.
    • Value – supply a value for the attribute's parameter compatible with the datatype, to pass to the data source. To select NULL as the value, click in the field next to the parameter, then click the down arrow on the right to select NULL as the value from the drop-down. If the datatype is binary, bigbinary, bigstring, date, datetime, or time, select the input dialog in which you can select a value.

      If the datatype is TABLE, click the Value field, then click the ellipsis (...) within the Value field to launch the Input Table Data dialog. The Input Table Data dialog contains columns that correspond to that of the selected parameter.

      The parameter displays only if you have defined it; otherwise the table is empty.

    You can order the load arguments by selecting the column heading by which you want to order.

    Existing Configurations Select either an existing configuration that contains attribute parameter value settings, or preview without using a configuration:
    • If you continue without a configuration, then the preview uses the parameter data you provided. Optionally, provide a configuration name then click Save to save your settings as a configuration. If you enter a name without clicking Save, the configuration is not created.
    • Select an existing configuration from which you preview the attributes.
    • Delete – deletes the selected configuration.
    • Delete all – deletes all saved configurations.
    • Load default – loads the default configuration.
    Preview Select Preview to pass the parameters to the data source and view the results in the Preview Result screen.
    Note:
    • If the MBO definition requires a default value, and you do not provide one, the data source returns an error which SAP Mobile WorkSpace displays, when you select Preview.
    • By default, 100 rows display at a time. You can change the default in the Miscellaneous Preferences dialog (Maximum rows to retrieve). But if this number is too high, the preview may take a long time to complete.
    Save as default values Saves the argument values during the preview as default values for the load argument, which are reflected in the Load Arguments tab in the Properties view.