Skip to Content
Author's profile photo Former Member

SAP and Sencha Touch


On April 10th, SAP announced a partnership with Sencha ( that has several goals. The first goal was to deliver tools which make it easier for a Sencha Touch application to access SAP data using NetWeaver Gateway. The second goal is to provide tools that allow a Sencha Touch application to more easily interact with data (whether it be data from SAP or some other data source) and services via the SAP Mobile Platform.  The purpose of this post is to update you on the status of the partnerships and let you know what you can do with SAP and Sencha today.

OData connector

The SAP NetWeaver Gateway allows SAP developers to write code that exposes data from their implementation of SAP to mobile devices using an open protocol called OData. OData is essentially an Atom feed that exposes data in XML or JavaScript Object Notation (JSON) format. The protocol supports filtering a feed based on application or user-supplied criteria as well as the common CRUD (create, read, update, delete) operations expected from enterprise data sources.

SAP and Sencha have delivered on the first goal for the partnership – the creation of an OData connector for the Sencha Touch framework. The connector fits seamlessly into the Model-View-Controller (MVC) architecture provided by Sencha Touch and allows Sencha Touch applications to easily consume an OData feed – browsing a list of items, viewing details and even updating or deleting content from the feed (appropriate permissions required, of course).

The connector and sample application code leveraging the connector is available now at The connector is available free of charge and will be supported by the Sencha Community.

We recently published a CodeTalk session with Sencha – you can find the video here: (updated with new video link 08/13/2012). In this session, the folks from Sencha demonstrate how to use the OData connector within a Sencha Touch application.

Sencha Touch in the SUP HWC

If you’re already using (or thinking about using) the Sybase Unwired Platform (SUP), you can also use Sencha Touch for applications running within the SUP Hybrid Web Container (HWC). The HWC is a native application container for running HTML5 applications and as Sencha Touch is a leading HTML5 framework, it plugs in quite well. Essentially, a HWC application would leverage the authentication, data access and synchronization capabilities of SUP while relying upon Sencha Touch for its UI and MVC architecture.

A whitepaper containing information about how to use Sencha Touch in the HWC will be available online soon, I will update this post with the link as soon as it is available.

If you’re looking for some hands-on experience with this, be sure to attend the SAP TechEd conference ( in locations around the world this fall. Talk to the Experts and learn the latest and greatest things on enterprise mobility at TechEd. SAP offers more than 40 hours of training and lectures on mobility alone. Additionally you can test drive the latest developments from SAP and our Partners in the Mobility Zone and talk to the mobility experts. There are plans to offer a hand-on lab that will walk you through the process of updating a HWC application to use Sencha Touch.

Future Plans

To fulfill our long term goal of enabling Sencha Touch applications to connect to back-end data sources through SUP, we’re working to enhance the SUP server so it exposes its services (such as authentication, data access, synchronization, SSO and more) in a way that can be easily consumed by a Sencha Touch application. With this in place, a mobile application leverages the framework capabilities of Sencha plus the enterprise connectivity, security and performance of SUP. Best of both worlds!


So now you have an update on what we’re doing with Sencha. Once I’ve had some time to play with the connector, I’ll publish an article here highlighting how to use the connector to connect to SAP. When additional services are available through SUP, I’ll post additional articles here showing you how to leverage them for your applications.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Blog Post Author

      The Whitepaper and sample code I mentioned in the post were published yesterday. Here's the links to the content:

      Whitepaper: CRUD Operations using Sencha Touch 2.0 inside HWC 2.1.3

      Sample Code: CRUD Operations using Sencha Touch 2.0 inside HWC 2.1.3

      Video Demonstration:

      Author's profile photo Former Member
      Former Member

      Thanks John,

      Now if we just could get a step-by-step document on how to install Sencha plugin inside the SUP 2.1.3

      I have tried to followed several YouTube videos, but they are not how to install on a SUP. So we end up with various conflicts.

      Sencha says it could be the version of Eclipse we are using, but that is inside SUP, isn't it?

      I would love to test this before our 30 day trial is over to see if it is going to do what we want.




      Cannot complete the install because of a conflicting dependency.

      Software being installed: Sencha Eclipse Plugin - 30 day trial (

      Software currently installed: Eclipse Platform 3.7.0.I20110613-1736

      (org.eclipse.platform.ide 3.7.0.I20110613-1736)

      Only one of the following can be installed at once:

         Core Resource Management 3.7.101.v20120125-1505

      (org.eclipse.core.resources 3.7.101.v20120125-1505)

         Core Resource Management 3.7.100.v20110510-0712

      (org.eclipse.core.resources 3.7.100.v20110510-0712)

      Cannot satisfy dependency:

         From: License (com.sencha.vjet.extjs.ftp

         To: bundle org.eclipse.core.resources 3.7.101

      Cannot satisfy dependency:

         From: Sencha Eclipse Plugin - 30 day trial


         To: com.sencha.vjet.extjs.ftp []

      Cannot satisfy dependency:

         From: Eclipse Platform




         To: org.eclipse.core.resources [3.7.100.v20110510-0712]

      Cannot satisfy dependency:

         From: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide




      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Sencha is working on a fix for this - please stay tuned.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      I spoke with the folks at Sencha and they said that this is a known issue and will be fixed in the next 4 to 6 weeks via an update to the Sencha Eclipse Plugin.

      Author's profile photo Former Member
      Former Member

      How can we run this on safari 5 ?

      I am getting Cross Origin Request Error .

      Author's profile photo Syam Babu
      Syam Babu

      Nice information Blog for Sencha ,Thanks John.



      Author's profile photo Former Member
      Former Member

      i have downloaded sencha-touch-2.1.0-commercial. which sdk path do we have to point to through command prompt .i changed path to unzipped folder for 'sencha-touch-2.1.0-commercial' but it still says 'current working directory is not valid sdk directory.please cd into proper sdk directory ' 🙁

      Author's profile photo Former Member
      Former Member

      Hi Amit,

      Are you trying to generate an app structure for a new ST app with the Sencha Command tool? If so, please make sure you are using the latest version (Cmd v3) in combination with ST 2.1.0. You can download it here:

      Steps to create new app structure:

      • cd to your unzipped sencha-touch-2.1.0-commercial folder
      • use the following command: sencha generate app MyApp \path\to\MyApp

      Your app structure will be generated in \path\to\MyApp. It will also transfer over the framework parts you need for development and building.

      I hope this helps.

      Author's profile photo Nitesh Jain
      Nitesh Jain

      What is the current status of SAP partnership with Sencha?

      Are they still partners?