What's New in 2402
Wait a minute, SAP BTP, ABAP Environment (aka Steampunk) is already on Release 2405, what do you mean that the Feature Showcase App (henceforth shortened to FSA) is only on release 2402?
Due to some unforeseen circumstances, we were unable to release FSA earlier according to schedule. So even though Steampunk is on 2405, the new features described here will only include those released with 2402. If you are new to the scene, read this blog post to find out what exactly is FSA.
At the risk of sounding cliché, better late than never. Let's begin!
Ignore the Folder Size in GB, it obviously doesn't tally up...
In RAP, it is possible to display a CDS Hierarchy as a readonly treeview in the object page. All you need is a database table, a base CDS view and a hierarchy. We show you this in the feature showcase app with a directory.
What's your Favourite Colour
After building your hierarchy, you can now also export it to PDF.
Lock Up your UI Components...
UI adaptation is a feature of SAPUI5 flexibility that allows key users without technical knowledge to easily make UI changes for all users of an app, end users to personalize controls, and developers to extend the UIs of SAPUI5 applications.
However if you do not want to allow users this flexibility, it is possible to exclude UI components via an annotation.
Protect your Upload from Being Edited
You can enable static or dynamic feature control for your stream properties at the list report or in the object page.
👆#StreamStaticFeatureCtrl-LR
👆#StreamDynamicFeatureCtrl-LR
👆#StreamStaticFeatureCtrl-OP
👆#StreamDynamicFeatureCtrl-OP
Now Default Values can be Filled In Programatically
With the annotation UI.defaultValue we were able to set a default value for our action parameters, but it was only either a constant or using an existing value from a reference value. Now with the new default functions, you can define in the behaviour implementation what the default values should be, calculated or otherwise. And this works for create, create-by-association and also actions.
👆#DefaultFunction-ForCreate, -ForAction, -ForCBA
Playing Hide and Seek
If you are showing data points in the sections of your object page, it is possible to hide them using annotation UI.dataPoint.hidden. Beware of the constraints though, as UI does not support this for Header facet yet.
Simple to Use
You can create user-defined data types in ABAP CDS, which work similarly to Data Elements in DDIC, with the added advantage of CDS annotations.
2 additional side effects possibility are showcased in one new example:
👆#SelfAffectsPermissionAssociation
Worka, workaround
One use case that we encountered was the possibility to change a field via side effect, after an instance of an associated entity was deleted. While there is currently no syntax to cater for this, a workaround was found.
More Structure means More to Click Through
The Guide that you are used to has now been updated into a new format, which 6 sections describing the different features, links available from README. If you are however used to the old format and search function, the Wiki is still updated with new contents.
If you already have the previous version of the app in your system, run the data generator after you have done the pull and activated the objects. Feedback and comments are as always very much welcomed. See you next release!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
25 | |
12 | |
9 | |
8 | |
7 | |
7 | |
7 | |
6 | |
6 | |
6 |