Create mappings and bind data source content to mobile business object operations and attributes either when you create them, or later using the Properties view.
You must create a mobile business object before you can bind data sources, unless you have created the mobile business object by dragging and dropping a data source onto the Mobile Application Diagram, in which case the binding is performed automatically. The data source to which you are binding must be running and accessible. For example, a connection to the database is available through a connection profile.
The binding of data source information to mobile business object attributes and operations varies, depending on the data source to which you are binding. There are several places within SAP Mobile WorkSpace from which you can bind to a data source. Not all options are available from all locations. The Properties view offers the broadest support when binding/rebinding or editing MBO data sources.
Option | Description |
---|---|
New Mobile Business Object or New Operation wizard | Bind to a data source when adding operations and attributes to a new mobile business object. |
Properties view | For an existing mobile business object that you have created in a top-down fashion (in which you create attributes and/or operations without binding to a data source immediately), there are a number of places that you can create a data source binding depending on the context you are in (for example, selecting the Attributes tab), then selecting the Bind Data Source button. |