Experiences with SAP Gateway

"My foots always in my mouth i just can't stomach defeet" – Hilltop Hoods

SAPUI5 data binding master slave with Gateway services

with 6 comments

Spent the day trying out the SAPUI5 framework, of all the new products and initiatives I saw at SAP TechEd last year, this library (collection) sparked my interest the most, mainly because over the years I have used reluctantly JQuery, DOJO, Prototype, YUI, ExtJS etc. on SAP projects, now there is something supported by SAP I can imagine a lot of that reluctance will disappear .

There is a lot in SAPUI5,  it will take me some time to get familiar and comfortable enough to start using on customer sites, I hope they don’t stop here and there is a lot more features and functionality to come. My first impressions are very positive, for some reason the data binding takes me back to a time before WD4A and after HTMLB, reminding me of the flexibility and freedom of BSP or an early WD4J.

It seems appropriate the first thing I developed with SAPUI5 was a data binding master slave solution, it was the first thing I learnt with WD4J and WD4A , it gives a good perspective of what is possible, next up will be MVC.

I have shared on google code a simple example of master slave data binding, it uses the ODATA.org Northwind service (see pic below) , I got it working with an association, but I also show in the code how it is possible using filters.


Written by rsol1

February 16, 2012 at 3:32 pm

Posted in Uncategorized

Tagged with , , , ,

6 Responses

Subscribe to comments with RSS.

  1. Whats the best way to get sapui5 to run on an abap stack? Is it meant to be somehow loaded in as a sicf service or bsp? Or is it meant to be run on a separate web server? Can it be run on the Portal?


    February 17, 2012 at 1:05 am

    • Thanks for reminding me, I followed DJ’s example
      http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28659 and used the ICM.

      I believe this release is meant to be installed in a Java container, you would have multiple options if you had a Portal.


      February 17, 2012 at 3:45 am

      • Yep saw DJ’s blog… I was confused about how he embedded it into the ICM. Something I’d have to get a basis guy to do on our playpen abap system as I don’t have a trial abap box or gateway (I would if you could make it run on a mac easily 😉 ).

        If you have it installed in the ICM as DJ did then where do you put the html files that you write for your app? In his bog it looks like its just sitting on his local filesystem.
        I wonder how you could integrate it into BSP.

        I see that they provide a war file so once you develop in eclipse you coul deploy to any java stack like the portal I assume.

        What I’m really wanting to be able to do is to use sapui5 for workflow decision steps in the portal uwl. It would be perfect for this as using web dynpro just seems like overkill…


        February 17, 2012 at 4:07 am

  2. “I wonder how you could integrate it into BSP.”

    Just deploy sapui5-static/resources folder into the MIME repository of your BSP and you can start developing. I have done a sample DataTable app using this method.

    Alternatively you could place the resources folder in a common MIME folder and reference it in you BSP apps.


    February 20, 2012 at 6:45 am

  3. […] a SAP mobile app with Sencha Touch 2, I was keen on having an hands-on with SAPUI5. These helpful posts helped me to get […]

  4. Thanks for your article! I helped me to get started with SAPUI. I made a similar master/details demo, but with 2 different OData sources: SAP Gateway and SharePoint. You can find it here: http://allthatjs.com/2012/02/23/getting-started-with-sapui5/


    February 23, 2012 at 7:36 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: