Developing Mobile Applications
Defining Data Objects and Distribution for Mobile Applications
Getting Started
Tutorial: Creating a Service Order Application
Introduction
Creating the SWCV
Defining Data Objects
Definitions of Data Objects
Modeling the Data Objects
Adding Associations Between Data Objects
Defining Distribution Logic
Distribution Logic
Customizing the Receiver Meta Model
Defining the Distribution Model
Defining a Data Completeness Group
Back-End Adapters
Creating a Back-End Adapter
Concepts
Data Orchestration Workbench
Data Object Concepts
What is a Data Object
Data Object Categories
Associations Between Data Objects
Dependency Scenarios
Correlation
Concepts of Distribution
Distribution Logic
Data Distribution Model
Distribution Rule
Effects of Distribution Rules
Distribution Dependency
Data Completeness Group
Line Item Filtering
Data Processing and Back-End Integration
Flow Definition
Available Flow Blueprints
Custom Service
Back-End Adapter
Keys Used in DOE
Key Mapping Between Associated Data Objects
Data Object-Internal Key Mapping
Automatic Key Mapping
Explicit Key Mapping
Conflict Detection Schemes
Classification of Messages
Back-End Gateways
WSDL Data Types and Signatures
Tasks
Creating a Software Component Version
Viewing Metadata for SWCV Objects
Creating References Between SWCVs
Deleting References Between SWCVs
Creating Data Objects
Creating a New Data Object
Creating a Copy of a Data Object Node
Creating a Data Object by Importing an MI SyncBO
Importing BAPI Wrappers as Data Objects
Processing Data Objects
Creating a Data Object Node
Creating a Copy of a Data Object
Defining Data Object Node Attributes
Processing Data Object Nodes
Maintaining the Mobile Application Attributes
Defining an Association Between Data Objects
Defining Correlation
Defining Explicit Key Mapping
Creating Distribution Models
Creating a Distribution Model
Processing a Distribution Model
Extending the DM in an SWCV
Creating a Distribution Dependency
Processing Distribution Dependencies
Defining a Data Completeness Group
Adding Rules to a Distribution Model
Operators Used in Defining Rules
Processing Distribution Rules
Adding a Bulk Rule to a Distribution Model
Filtering Line Items
Defining Filters at Data Object Nodes
Creating and Editing Gateway Rules
Creating a Standard-Based Interface for the DOE
Modeling a Mobile Entity Collection
Activating a Mobile Entity Collection
Generating a Mobile Entity Collection
Downloading the Generated WSDL Files
Overriding an Assigned DMSWCV
Creating a Back-End Integration
Creating BAPI Wrappers Using the Wizard
Maintaining Referential Integrity in BAPI Wrappers
Creating a Back-End Adapter
Comparing DOE and Back-End Field Mapping
Modifying a Back-End Adapter
Creating Web Service Back-End Adapters
Adjusting Web Service Adapters and Data Objects
Customizing the Data Processing Activities
Preparing Data Objects for Completeness Check
Displaying a Flow Definition
Adding a Custom Service to a Flow Blueprint
Modelling a Synchronous Association-Pull Scenario
Enabling Back-End Gateways
Extending the Gateway Metamodel
Creating Gateway Distribution Models
Creating and Editing Gateway Rules
Clearing the Application Model
Using APIS
Using the Software Component Version and Device Related APIs
Using the Completeness Check APIs in the Child Data Object
Using the Completeness Check APIs in the Parent Data Object
Using Completeness Check APIs
Reference
Sample Distribution Logic Scenarios
Distribution by Value Range
Distribution by Type and Dependency
Distribution by Type and Dependency - Scenario 2
Distribution by Static Value and Date Range
Function Modules for Obtaining SWCV-Related Information
Developing Mobile Applications for Handhelds
Getting Started
Installing Mobile-Specific Software Units
Downloading Mobile-Specific Software Units
Hardware and Software Requirements
Installing Mobile Plug-Ins in the IDE
Installing the Mobile Client
Uninstalling the Mobile Client
Starting the Simulator of Mobile Client for Handhelds
Using the Mobile Client for Handhelds
Starting and Logging onto the Mobile Client for Handhelds
Creating a New User
Changing the Logon Password
Changing DOE Password
Using Automatic Login
Configuring the Mobile Client for Handhelds
Configuring the Regional Settings
Configuring the Connection Settings
Configuring the Sync Settings
Synchronizing Applications and Data
Launching Applications
Troubleshooting
Concepts
Development Scenarios for Handheld Applications
Composite Development Scenario
Compact Development Scenario
Mobile Applications for Handhelds Perspective
NetWeaver Development Infrastructure Integration
Design Time Repository
Technical System Landscape
Mobile Client for Handhelds
Tasks
Configuring the Development Workstation
General Tasks
Creating Development Components
Defining Dependencies Between Components
Editing the Mobile Component Descriptor
Creating a Handheld Application Project
Creating a Mobile Service Component
Creating the Data Model
Creating Data Objects
Creating Data Structures
Including Value Help
Creating Queries and Custom Operations
Creating a Service
Modeling a Query
Modeling a Custom Operation
Handling Exceptions
Creating a Mobile UI Component
Creating a Web Dynpro Application
Applying Controller Templates
Creating a Web Dynpro Model
Using UI Elements
Positioning UI Elements
Composing and Testing the Mobile Application
Building the Mobile Application
Deploying the Mobile Application
Running the Mobile Application
Debugging the Mobile Application
Deploying Mobile Applications to physical device
Advanced Tasks
General Advanced Tasks
Collaborating on Handheld Application Development
Migrating Existing Components to the New Version of NW Mobile
Logging and Tracing
Configuring the Client
Setting Application Properties
Setting Configuration Properties
Controlling the SAP History Control
Internationalizing the Application
Managing the Application Lifecycle
Advanced Mobile Service Component Development
Editing Data Object Properties
Repairing Data Objects
Handling Events on Data Object Nodes
Using Database Indexes
Hand-Coding Mobile Components
Fixing Metadata Inconsistencies
Validating Dictionary Types
Advanced Mobile UI Component Development
Modifying the UI Dynamically
Integrating Custom UI Elements
Creating Custom Controls
Example: Creating Factory and Adapter Classes for Custom Control
Packaging Custom Controls
Adding Custom Controls to Mobile Applications for Handhelds
Binding Custom Controls to a Context
Programming User Messages
Using Function Keys
Tutorial: Creating a Service Order Application
Creating the Basic Application
Prerequisites for Developing the Mobile Application
Creating Database Tables
Creating BAPI Wrappers
Enhancing the BAPI Wrappers
Starting and Configuring SAP NetWeaver Developer Studio
Developing the Data Model and Business Logic
Creating an Empty Mobile Service Component for an Order
Creating a Data Object for the Order
Creating a Query that Returns the Orders
Generating Test Data
Developing the User Interface
Creating an Empty Mobile UI Component
Defining a Component Dependency
Creating a Web Dynpro Application
Applying the Component Controller Template
Mapping the View Context
Designing the View Layout
Adding Custom Code to Display All Order Headers
Adding Custom Code to Generate Test Data on Initialization
Testing the Application
Building, Deploying and Starting the Mobile Client Simulator
Running the Application on the Mobile Client Simulator
Synchronizing Data with the Application Back End (Optional)
Enhancing the Application to Display Order Items
Creating a Query that Returns All Items of an Order
Applying a Component Controller Template
Displaying Items When Order is Selected
Deploying and Testing Order Items Development
Enhancing the Application: Data Upload and UI Clean-Up
Adding Form Fields
Adding a Save Button and Saving Data
Adding Tabstrips to the UI Component
Deploying and Testing the Application
Reference
Handheld Applications Glossary
Supported UI Elements in the Developer Studio
BarcodeReader
Button and ButtonRow
Caption
CheckBox
DateNavigator
DropDownByIndex
DropDownByKey
FlowLayout API
GeoMap
GridLayout API
Image
Input Field
ItemListBox
Label
LinkToAction
LinkToURL
Menu
Page Header
ProgressIndicator
RadioButton
RadioButtonGroupByIndex
RadioButtonGroupByKey
RFIDReader
RowRepeater
Table Structure
TabStrip
TextEdit
TextView
TransparentContainer
Tree
API Overview
Query Editor Reference
Developing Mobile Applications for Laptops
Getting Started
Mobile-Specific Software Units
Installing Mobile-Specific Software Units
Downloading Mobile-Specific Software Units
Hardware and Software Requirements
Installing Mobile Plug-Ins in the IDE
Installing the Mobile Client
Uninstalling the Mobile Client
Configuring the Development Workstation
Configuring Connections to the DOE
Configuring Client Settings
Concepts
Mobile Applications for Laptop Perspective
Laptop UI Explorer
Data Object Model
Technical System Landscape
Tasks
Enabling the Laptop Perspective in NWDS
Creating a Mobile Development Component
Importing Data Objects
Creating an Authorization Definition File
Mapping an Authorization Object to a Business Object
Creating a Query Model Class
Modeling a Query Model Class
Modeling a Composite Model Class
Designing the Application
Creating a Component
Creating a View
Embedding a View in the View Set
Designing a View Layout
Defining Navigation Between Views
Creating an Action
Processing an Action
Sharing Data Between Views
Creating a Component Context
Mapping a Context
Creating a View Context
Binding UI Elements to a Context
Creating Mobile Applications for Laptop
Testing Mobile Applications for Laptop
Building Mobile Projects
Creating a Project Archive
Deploying Mobile Applications for Laptop
Running Mobile Applications for Laptop
Debugging Mobile Applications for Laptop
Deleting Mobile Projects
Enabling End-to-End Tracing Support
Implementing Security Interface on the Client
Tutorial: Creating a Service Order Application
Introduction
User Interfaces
Process Diagram
Defining Data Objects and Distribution
Creating Development Components
Importing Data Objects from the DOE
Defining the Model Classes as Public
Defining the Queries
Creating the Laptop Application
Defining Context Binding
Defining Supply Functions for the Node Elements
Defining the Method for Calling the Query
Specifying the Navigation Schema
Specifying Navigation Schema for the Exit Button
Customizing the Views
Customizing the Customer Details View
Customizing the Order Details View
Building, Deploying and Running the Application
Using Flexi Device APIs
Reference
Example: Data Object Mapping
Synchronizing Mobile Devices for Completeness Check
Generated Tables for the Completeness Check
Synchronizing Mobile Devices with Different Logins
Optimizing the Performance of a Mobile Application
Creating an XML File to Optimize Performance
Query Language Reference
API Reference
Developing Mobile Always Connected Applications
UI Elements for Mobile Always Connected Applications
Specifics of Nokia Series 80 and 60 Devices
Specifics of BlackBerry Wireless Handhelds
Specifics of Pocket PCs
Mobile Add-On Library
BarCodeReader
Using the BarCodeReader
FunctionKey
Using the FunctionKey
RFIDReader
Using the RFIDReader