Creating a Mobile Business Object by Dragging and Dropping a Data Source
Create a mobile business object (MBO), define the attributes and operations, and bind directly to the data source
by dragging and dropping the data source onto the Mobile Application Diagram.
Prerequisites
You must have a Mobile Application project and a connection to the data source
before creating the MBO.
Note: When dragging and dropping a non-SAP database data
source, you must modify the SQL definition as indicated by the warning dialog to
create non-SAP MBOs or operations using the Mobile Application Diagram (where
you can manually enter the SQL definition).
Task
Drag a data source entry (for example, a database table from a connection
profile) and drop it onto the Mobile Application Diagram.
An
MBO is created and data source information is automatically filled in with
the appropriate operation and argument mappings, and/or
attribute
mappings.
Note:
If you drag-and-drop a data source that includes a
column with a computed default value,
arguments
for that column are not generated. You must manually modify the SQL
definition to add the column from the Properties view after creating
the MBO.
When dragging
and dropping an ASE database table with computed columns, or columns
that contain computed default values,
SAP Mobile WorkSpace does not generate operations
automatically. You must define them with the Operation Creation
Wizard.
Drag-and-drop may not generate correct MBOs for ASE/ASA views and
non-SAP databases.
Follow the wizard instructions to complete the MBO.
Attribute and operation information varies, depending on the data source to
which you bind.
Once defined, use the Properties view to modify if necessary.
Created September 30, 2013.To comment on this topic, go to:
DocCommentXchange.