Skip to Content
Part 1 Part 2 Part 3 Part 4

Download the project


This blog helps the newbies to develop a native mobile app from scratch using Sybase Unwired Platform’s MBO approach. This approach has been discouraged by SAP, eventhough the MBO based apps are supported in SMP 3 version using the SMP 2.3 runtime. I am not getting into detail on the future plans of SAP in this blog. Hope this blog can answer a lot of repeated basic questions on a native application development using SUP.

The mobile app was developed in this blog based on SUP 2.2 SP02 and Andriod mobile OS with SAP as backend.

To set up a development read this blog, Setup mobile development environment. Apart from this installation of Android SDK is needed.

Creating MBOs

In this part the MBOs are developed and deployed to SUP server. There is only one MBO called Customers_List in this project.

Create a new mobile application project by right clicking in a free space under WorkSpace Navigator > New> Mobile Application Project.

new project.jpg

Give a name for the project “Customers”.

/wp-content/uploads/2014/02/1_385016.png

It will create a new project in the Workspace.  Create an MBO called Customers_List  by right clicking on the folder Mobile Business Objects.

Give name for the MBO.

/wp-content/uploads/2014/02/2_385018.png

Specify a database from the choice bar. The Sybase SDK is configured with SAP connection details, hence it appears in the list. Select SAP and click Next.

SAP connection selection.jpg

Click on browse to fetch the RFCs/BAPIs. Give the name of the RFC (BAPI_CUSTOMER_GETLIST) and click on “Search BAPIs/RFCs” button that will get the list of RFCs. Select the RFC and click OK. The RFC used is present in SAP system by default.

/wp-content/uploads/2014/02/3_385034.png

Select “IDRANGE” as input and “ADDRESSDATA” as output. Click on next button.

/wp-content/uploads/2014/02/4_385035.png

Click next.

/wp-content/uploads/2014/02/5_385036.png

Click the Next button and click Finish. It will create the MBO.

/wp-content/uploads/2014/02/6_385040.png

/wp-content/uploads/2014/02/7_385041.png

/wp-content/uploads/2014/02/8_385042.png

Note that the MBO Customers_List is linked to BAPI_CUSTOMERGETLIST_IDRANGE structure, since the input of the RFC is a structure.

Next

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply