Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member184247
Participant

Hello Everyone.

In this blog series, we will go through how to start developing a simple mobile application with Sybase Unwired Platform.

For the sample application, we will use SAP Mobile Platform Version 2.2 SP2.

The information provided in this blog can be found in the online help on SyBooks Online infocenter.

Thanks to SAP for providing 30 days trial of SAP Mobile Platform.

In this trail connection to SAP System, sample database and unwired server is already done.

Summary

In this sample application I have used the standard flight data application components to search for flights, display the results and show the details of a particular flight in online and offline mode.

This blog contains

1.  Creation of Mobile Application Project

2.  Create Mobile Business Object

3.  Create Personalization Key

4.  Assign Load Arguments

5.  Deploying Project

6.  Create UI using Hybrid App Designer

7.  Registering the mobile device in Sybase Control Center

8.  Generating Hybrid App

9.  Testing App in Online Scenario

10.Testing App in Offline Scenario

Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform...

Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform...

Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform...

Just follow the following steps to create sample application.

Double click on Start Sybase Unwired Platform Services to start Sybase Unwired Platform.

Double click on Sybase Unwired Workspace 2.2 to create mobile application.

To create Mobile Application Project, Click on File -> New -> Mobile Application Project

Provide Project Name

After creating project we will add Mobile Business Object ( MBO ) to defining object data models with back-end EIS connections, attributes, operations and relationships that allow filtered data sets to be synchronized to the device.

Give proper name

Select data source type "SAP"

Click on "Browse" to search BAPI

Specify BAPI name (BAPI_FLIGHT_GETLIST)  and click on "Search BAPIs/RFCs".

It will return list of BAPI method/s (operation/s).

Click on "Get List" and click on "OK".

Select Input and Output parameters.

For our application AIRLINE is the input parameter and FLIGHT_LIST is the output parameter.

Click on  "Finish" complete the wizard.

Create Personalization Keys to get "Airline Name" from the user and retrieve only those fields/records that satisfy a condition.

Specify Type to "STRING(3)" as of "AirlineID".

and storage as "Transient" to store value of the personalization key in process, when the process ends, value will be lost.

Now click on MBO "FlightList" click on "Properties".

Select "Attributes" tab and "Load Argumets" Tab.

Select Personalization Key which we have created earlier.

Right-click on Mobile Application Diagram and Click on "Deploy Project".

Select Deploy Mode, Click on Next.

Select MBO, Click on Next.

Click on Next.

Double click on Available Target Server. Click on Next.

Click on Next.

Select Server Connection.

After selecting Server Connection, we can see Server Connection Properties.

Click on Finish.

Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform...

7 Comments
Labels in this area