Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
JessieCheah
Product and Topic Expert
Product and Topic Expert

What's New in 2402What'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!

RAP Treeview

Ignore the Folder Size in GB, it obviously doesn't tally up...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.

👆#RAPTreeview

Export RAP Treeview

What's your Favourite ColourWhat's your Favourite Colour

 After building your hierarchy, you can now also export it to PDF.

👆#ExportTreeview

UI.adaptationHidden

Lock Up your UI Components...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.

👆#UI.adaptationHidden

RAP Streams as Read-Only

Protect your Upload from Being EditedProtect 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 

RAP Default Value Functions

Now Default Values can be Filled In ProgramaticallyNow 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

Hiding Datapoints

Playing Hide and SeekPlaying 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.

👆#DatapointHidden

RAP Simple Types

Simple to UseSimple 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.

👆#SimpleType

Additional Side Effects

se-self-a-entity.gif

2 additional side effects possibility are showcased in one new example:

  • $self as Source
  • permission of association as Target

👆#SelfAffectsPermissionAssociation

Bonus - Entity affects Field

Worka, workaroundWorka, 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.

👆#SideEffectWorkaround

What else is new?

More Structure means More to Click ThroughMore 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.

👆#README

A gentle reminder

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!

3 Comments