CDS and BOPF Admin Data (create/change user and time) Determination using Annotations

Using the SAP Netweaver Innovation Package 7.51 sp1 you can implement new data models easily with CDS including full CRUD support, where change operations are managed by the BOPF framework. The BOPF Object is generated based on the Object Model annotations you put in the CDS View at activation.

This solution using SADL shows a BOPF adoptation/consumption, but also demonstrates how-to create your own consumer / framework asking SADL for CDS entity metainformation (Annotations). You have no more boundaries, your only blocker is your own creativity 🙂

Read More

Domain Fixed Values as CDS Value Help in S/4HANA

“Fiori Elements” is a great opportunity for rapid application development for simple scenarios. In lot of cases ABAP developers maintain domain fixed values to have a drop-down list automatically generated by one of the UI technologies like GUI and WebDynpro. Domain fixed value often represent a Status or something like that, where we can say the values are static. In case of OData services and UI5 such control is not generated automatically, but you need to put annotations in your CDS View to make this working. We’ll use CDS Views in the below snippets, to retrive domain low fixed values and their description. The approach below is not the only one, which can lead to the same result. At the end the Object Page template in Fiori Elements ( or your app importing annotation file) will consider the annotations and display a proper value help.

Read More

SAP Transportation Management Message Handling

Believe or not, there is a fine graded Message Handling concept in SAP TM. Messages sent through BOPF – FBI- FPM Environment may have certain visibility settings. This is a control demand based on user experitse or area. Key users may want different level of message detailization than other users for example. You can setup the minimum severity, level of detail or problem class to display, such as to display errors only or even warnings raised by validations. You can activate to save an application log, which can become handy during troubleshooting.

TM Message Settings
Read More

Git with SAP Business Application Studio

This post is about initializing a local git repository for an existing SAP Business Application Studio project and connecting it to a new remote GitHub repository.

This is applicable when you create a new project from template and want to backup your changes done.

Differences comapring to SAP WebIDE FullStack Git Management:

  • No option in the menu for Rebase operation using built-in Git Source Code Management UI within Business Application Studio.
Read More