Part 2: Development Environment – SAP Business ByDesign Studio
Here is my second post to the SAP Business ByDesign development environment.
But first some additional words to this series of posts…The posts should only give you an overview of the environment and then in next posts, I will give you more information about the functions and programming languages.
So I hope you like it…
1. ByDesign Studio
See previous post…
The UI-Designer is a WYSIWYG tool to design your Business ByDesign screens and it can only be started out of the ByDesign Studio. It provides its own script language (SAPRuby) to program UI logic. Here a screenshot…
On the right side, you see the “Designer” on which you can drag and drop UI elements from the “Toolbox” (left side).
In the above section is the toolbar where you see buttons for saving/activating screens, change between view and edit mode etc.
Honestly I have only used the first five buttons in my recent projects…
On the left side of the “DataModel” you can find the UI data structure with fields, structures and data lists. These can be bounded to elements, nodes and associations in business object (defined with ByDesign Studio). Fields are used for elements, data lists for 1-n/0-n associations and nodes. Structures are used for instances of objects (after searching or creating…more about in next posts…) and 1-1/0-1 associations. Furthermore, structures can be used to group elements.
There are some elements in “DataModel” are generated automatically by creating a new screen. The “$System” structure, fields like @ErrorOccured, @UIState etc.. These elements can be used in SAPRuby for e.g. consistency checks.
On the right side you see you see the “BOBrowser” where you can find all namespaces with business objects which are released by SAP (including your own namespaces/business objects).
The next important tab is the “Controller” tab.
Here you can define event handler, queries (database selects) and Inports/Outports/navigation rules for screen to screen navigation. In my opinion, the other options like “Controller Configurations” are less important.
In an event handler, you have the option between many operation types. The following screenshot shows you some of them:
I think the most important operation types are BOAction (execute business object actions, ABSL), Scripts (SAPRuby), FireOutport (screen to screen navigation) and ExecuteDefaultSet (database queries).
By Query definition, you have to select a query of a business object and bind it to an UI data list…finish.
To get navigations to work you have to do a lot more things…but I will describe the way to do in a later post…
This was a short overview of the development environment of SAP Business ByDesign. In my next post, I will begin to tell you more about the programming languages ABSL and BODL.