Use the Operation Creation wizard to create an Entity Read operation
for an existing mobile business object. Once created, you can edit Entity Read operations
from the Properties view.
See Immediate Refresh with Entity Read Data
Flow in Mobile Data Models: Using Mobile Business
Objects for additional
information about Entity Read operations.
- Either:
- Launch the New Operation wizard from the Mobile Application Diagram by
selecting the Operation icon from the palette,
then selecting the operation section of the mobile business object to
which you are adding the operation, or
- Select an existing MBO in the Mobile Application Diagram, select the
Operations tab in the Properties view, and
select Add.
- Name the operation and select ENTITY
READ as the operation type.
- Select Specify a data source and click
Next.
- Define the Entity Read operation.
The Definition screen varies depending on the type of data source to which
the operation is bound. See the corresponding binding topic for detailed
information.
- (Optional) Click Test Execute to verify the operation
against the data source to which it is bound. Click
Next.
- Configure the arguments and click Next.
All primary key attributes must be mapped into arguments. See Entity
Read Guidelines and Limitations for additional requirements.
- Map all attributes, except those propagated from load arguments, to the EIS
output results and click Finish.
You can now assign the "Apply output of ENTITY READ operation" cache policy option
to Update and Create operations that use the "Immediately update the cache" cache
policy.