Archive | January 2009

From ABAP to Flex

After seeing my tweets(@RichHeilman) over the past several months, a few people have asked me about what I’ve been working on related to Flex.  Most of the readers here recognize me as an ABAP developer more than anything else, but for the last half of 2008, I took a break from ABAP and dove into the Flex world.  This was great for me, as I wanted to learn Flex anyway.   I was charged with the task of creating a suitable grid control for Xcelsius using the Xcelsius SDK and Flex 2.  Basically my team(SAP BPC Solution Management) wanted to create Xcelisus models and embed them into the SAP BPC(Business Planning and Consolidations) product, but the grid control which is delivered by Xcelisus is not quite what we wanted.  It is not very visually appealing.

I was the only one working on this piece of the project, so my first task was to actually learn Flex.  I would describe the learning experience as better than learning java and not as good as learning ABAP.  No surprises there, I guess.  I like Flex a lot, but found myself missing ABAP when it comes to simple things like internal tables.  I actually learned a lot by reading the book, Adobe Flex 3: Training from the Source.  If you are  looking into learning Flex, I would highly recommend this book.

So once I had a basic understanding of Flex ( MXML and ActionScript ), it  was time to start playing around with the Xcelsius SDK.  The SDK helps imagein making connections between the actual UI component, its property sheet, as well as enables cell binding to the excel spreadsheet in the Xcelsius designer.  You then create the components using Flex Builder. The Xcelisus Add-On Packager, which also comes with the SDK, allows you to package all these pieces into one component .xlx file.  This component .xlx is then added to Xcelsius using the Add-On Manager,  and as you can see in the image to the right,  you can then use them like any other component which Xcelsius supports.  The .xlx file is the only file that the end user requires to use the BPC Data Grid in an Xcelsius model.

After doing some prototyping, I started coding the actual development.  First, I had to create the actual grid UI component which will be the visible runtime component. Second, I had to create another flex component which would be the property sheet. which would allow the user to change attributes of the grid component at design time.  Here is where the Xcelsius SDK comes into play. Basically it consists of a handful of methods that you use to create the cell bindings in Xcelsius as well as connects the property sheet component to the actual UI component. It also contains documentation about how to use the SDK.  As you can see in the below image, this grid component looks a lot like the DataGrid component in Flex. The reason is that the BPC Data Grid extends from that component.  We plan on adding more features to the BPC Data Grid, but for right now, we just wanted to get the baseline grid working.  Some features that we get for free that the existing grid in Xcelsius does not support are things like, a true column header, sorting, re-arranging columns, and row selection. This grid is fairly simple and implements a lot of what the existing grid has, but at least it has a column header. On the right side is the property sheet which is the separate flex component.  It has four different tabs to work with, and allows you to set other properties of the grid as well. Mostly, the properties are the standard ones delivered with the Flex 2 DataGrid component.


Here is an example of an Xcelsius model which is using the BPC Data Grid as well as other standard UI elements which it also interacts with. For example, If a row of the grid is selected, the appropriates changes are made to the line chart below.


A How-To guide about how to consume BPC data using Xcelsius, as well as a demo video, have been published on SDN.  This How-To guide also contains the  BPC Data Grid component(.xlx file) which you can install into Xcelisus using the Add-On Manager.  This is NOT an official SAP development, hence the reason why it is released via SDN, and not the service market place.  Of course, this also means that it is not supported by SAP Global Support either, so don’t try it.

All-in-all, I think this project went pretty well, and I am happy with the results.  I learned a lot about Flex and also the fundamental concepts used in developing RIAs.  At some point, I will be adding new features to this component, and of course fixing bugs as well.  I also plan on doing a new release when/if Xcelsius starts supporting Flex 3.

Enterprise Geeks Episode 3 – The Guarantee Fairy

Is SAP the Guarantee Fairy?

Is SAP the Guarantee Fairy?

In this episode, Ed Herrmann, Thomas Jung, and guest host Dan McWeeney discuss some of the recent hot issues around the SAP development world. Topics range from early predictions about the recently announced SAP & IBM joint product Alloy to Dennis Howlett’s thought provoking topic on SAP certifications.

If you have questions, suggestions, or topic ideas for future episodes, give us a shout here. Enjoy!

Running Time: 46 minutes

Talking Points

Enterprise Geeks Podcast Now Available on iTunes

In response to our dear listeners on Twitter, the Enterprise Geeks podcast is now available on iTunes. You can access it directly using the link below, or search in the iTunes store.

EnterpriseGeeks Podcast on iTunes

ABAP Freak Show: January 21, 2009

Welcome to another edition of the ABAP Freakshow.  For January 21st, 2009 we examine how to default in values into Select-Options in Web Dynpro ABAP.  This forces us to discuss topics like Data References, Generic Data Types, and Casting via Field-Symbols.  I also bring up the topic of possibly doing a community project for an updated version of SE16. Be sure to leave comments for any suggestions you might have for features in this possible project. Finally we close out the show with a short discussion on how the ABAP Freakshow got its name.

Tune in on the first Wednesday of February for our next show.  We will be looking at the new Drag and Drop functionality of Web Dynpro ABAP in NetWeaver 7.01.

Enterprise Geeks Podcast Episode 2 – Brains N’ Roses

Charlie Rose Interview with Apotheker and McAfee

Charlie Rose Interview with Leo Apotheker and Andrew McAfee

In this episode, Thomas Jung and Ed Herrmann touch on both a couple of high level topics and, as always, some geeky SAP stuff for the eGheads. This episode ranges from topics about SAP executives all the way to details of upcoming Netweaver features for hard core ABAP geeks. If you have questions, suggestions, or topic ideas for future episodes, give us a shout here. Enjoy!

Running Time: 41 minutes

Talking Points

Intelligent Idiots

This comic from xkcd had me laughing, because this kind of situation has happened to the best of us.

Sometimes it’s easy for enterprise geeks to overlook the most simple solution, just because it’s not new, shiny, and challenging. Of course there’s always a proper time to research and play with the cool stuff, but keeping it as simple as possible is key to staying focused and accomplishing the real end goal. Don’t let yourself become an intelligent idiot.

ABAP Freak Show: January 7, 2009

In this episode of the ABAP Freak Show, we look at how to dynamically create Context Nodes, Map those nodes to a View Context, and finally how to bind them to dynamic UI elements.

The source code for this episode can be downloaded here:

Upcoming Webinar on ABAP Enhancement Framework

Next Thursday, January 22nd, my colleague Oliver Mayer and myself will host a free webinar on the usage of the ABAP Enhancement Framework.  We will actually cover a little bit on the history of all the enhancement technologies in ABAP as well as talk about how the Enhancement Framework is used in the Business Suite Enhancement Packages.

More importantly, we will go beyond past demos and learning materials on the Enhancement Framework. In the past we have mostly seen the source code enhancements or maybe the class pre and post method enhancements.  In this session we also want to show you how to get the full power out of the Enhancement Framework for your own applications.  We will demonstrate how to implement kernel badis (with filters) and how to attach any enhancement to a switch.  We will also look at the process for creating switches, attaching them to business functions and how to activate and deactivate switches.

Webinar Details:

Dial-in Information:
Date: Thursday, January 22, 2009
Time: 8 a.m. Pacific, 10 a.m. Central, 11 a.m. Eastern; 5 p.m. Central European Time
Tell the operator that you want to join the “SAP NetWeaver Customer Call”
From within the US, call: 1-866-269-9612
From outside the US, call: 1-651-291-0561

WebEx Information:
Meeting URL: and use the following meeting number and password:
Meeting number: 741402099
Meeting password: netweaver

Enterprise Geeks Podcast Episode 1 – Mallrats

Christmas Podcasting at the Mall

Christmas Podcasting at the Mall

After many attempts, Thomas Jung and I finally got our first podcast episode recorded for Enterprise Geeks. If you have questions, suggestions, or topic ideas for future episodes, give us a shout here. Enjoy!

Talking Points

Napkin Sketch Engineering

In the first enterpriseGeeks podcast episode, we mentioned that we sketched up the show outline on a napkin at the Cheesecake Factory. We talked about how many of the best designs begin from napkin sketches. If you have any cool stories or pictures of some of your napkin ingenuity, submit it below in the comments or send an email to:

You may not make it to any great engineering hall of fame, but you will surely have a special place in our hearts as an honorary enterpriseGeek head aka eGhead.

Look what we can do…
Enterprise Podcake – Thomas Jung & Ed Herrmann

The Famous ABAP Editor Backport – Thomas Jung