Product Updates for SAP Build Code – July 2024 Edition

Estimated read time 10 min read

Dear SAP Community,

In our continuous efforts to enhance your application development experience, we’re thrilled to introduce several new SAP Build Code features. Let me share with you some highlights of the latest releases.

 

Generative AI support for productivity tool

In SAP Build Code, our generative AI assistant Joule supports you with many developer tasks including generating data models and services, the application logic, and unit testing. We now allow you to use Joule where you need it: inside our productivity tools. You will find the little Joule icon is displayed besides the title of the Data Models and the Services tiles in the Storyboard. Opening Joule, you will see it supports you based on your current context. This means, when you are starting to create, for example, the data model Joule opens for exactly this purpose. You get an inline area, in which you can type your prompt. In addition, you will find a list of suggested prompts.

Joule icon in the data models and services tiles

Suggested prompts

 

Use Joule to enhance your already existing data models and services 

We got the request to allow developers to use Joule to modify their already generated SAP Cloud Application Programming Model (CAP) data model or service entities. I’m happy to tell you that it is now possible to modify either the data model (schema.cds) or the service entities (service.cds), or both, using a prompt, and get the enhanced cds content.

With this new feature, it is now possible to:

add or remove an entity,add, modify, or remove properties of entities,create or remove associations between entities,get more support on the service projection definition.

Step 1: Create your data model and services with the help of Joule

Step 2: Use Joule to enhance your data model

Result: Enhanced data model

Please read the documentation for further information about Generative AI-Powered Development in SAP Build Code.

 

Guided development for SAP Fiori app development

With SAP Fiori elements you can build your applications according to your specific requirements. It is one of the options available to develop SAP Fiori apps based on SAPUI5. In the guide center panel of your SAP Fiori Application project, you can now find an embedded tutorial for SAP Fiori app development. This tutorial describes step by step how to develop a custom page based on the flexible programming model.

Tutorial: Develop an SAP Fiori app on BTP

 

Graphical editor for hdbgrants files

When working with HDI hdbgrants files are used to define the permissions and access rights for users and roles within an HDI container in the SAP HANA database. In SAP Business Application Studio, the SAP HANA tools offer a graphical editor for hdbgrants files providing a convenient way of implementing cross-container or cross-schema scenarios. The syntax of hdbgrants files can be quite complex, hence this graphical editor can ease the development of such scenarios. Note that it is also possible to use the code editor or to toggle between code and graphical editor, depending on your personal preferences.

Graphical editor for hdbgrants files

The source of the privileges is a service instance containing information that can be used to grant privileges in the database. The editor lists the available service instances that are bound to the current project. A user can select which service instance should be used for the current file.

Privileges in hdbgrants files can be specified for two users: the HDI container’s object owner and the application user that is used by the application to connect to the database at runtime. The two tabs at the top of the editor allow selecting either user.

Individual privileges can be assigned on the available object types: global roles, schema-local roles, system privileges, schema privileges, object privileges, and global object privileges. The privileges can be granted either with grant option or without grant option. Grants with grant option are required for building database objects on top of other database objects. Since database objects in an HDI container should only be created by HDI (by means of the object owner user) the object owner should usually be granted privileges with grant option, while the application user only needs to perform DML operations on database objects and does not need the privileges with grant option.

For an easy way of keeping the privileges of the object owner and the application user in sync the editor allows copying the current privileges of the object owner to the application user via the “Copy properties to application user” button. When using this convenience feature all privileges that the object owner has with grant option are copied to the application user without grant option in order to set up the recommended permission model.

 

Further readings

You are still using SAP Business Application Studio and want to know, why you should change to SAP Build Code? Then I recommend reading this blog post written by my colleague Rupa Maity:  Why SAP Build Code? Read this blog post written by my colleague Marc Huber to find out how to migrate content from SAP Business Application Studio to SAP Build Code.

In addition, I want to draw you attention to two other great blog posts:

Collaborate on your SAP Build Code project with your teammates! written by Rupa Maity

How to Develop SAP MDK Applications in SAP Build Code written by Liat Borenstein

 

For further information on new features, please check our roadmaps: roadmap for SAP Build Code, SAPUI5 Road Map. And have a look at What’s New in SAP Build Code, the What’s New Viewer for SAPUI5 and the SAP Cloud Application Programming Model Release Notes. If you want to stay up-to-date with news, learning resources, and product and strategy updates for SAP Build Code: follow our tag.

We look forward to seeing how you use these new capabilities to create innovative solutions and drive your projects forward. Stay tuned for more updates and happy coding! ?

 

​ Dear SAP Community,In our continuous efforts to enhance your application development experience, we’re thrilled to introduce several new SAP Build Code features. Let me share with you some highlights of the latest releases. Generative AI support for productivity toolIn SAP Build Code, our generative AI assistant Joule supports you with many developer tasks including generating data models and services, the application logic, and unit testing. We now allow you to use Joule where you need it: inside our productivity tools. You will find the little Joule icon is displayed besides the title of the Data Models and the Services tiles in the Storyboard. Opening Joule, you will see it supports you based on your current context. This means, when you are starting to create, for example, the data model Joule opens for exactly this purpose. You get an inline area, in which you can type your prompt. In addition, you will find a list of suggested prompts.Joule icon in the data models and services tilesSuggested prompts Use Joule to enhance your already existing data models and services We got the request to allow developers to use Joule to modify their already generated SAP Cloud Application Programming Model (CAP) data model or service entities. I’m happy to tell you that it is now possible to modify either the data model (schema.cds) or the service entities (service.cds), or both, using a prompt, and get the enhanced cds content.With this new feature, it is now possible to:add or remove an entity,add, modify, or remove properties of entities,create or remove associations between entities,get more support on the service projection definition.Step 1: Create your data model and services with the help of JouleStep 2: Use Joule to enhance your data modelResult: Enhanced data modelPlease read the documentation for further information about Generative AI-Powered Development in SAP Build Code. Guided development for SAP Fiori app developmentWith SAP Fiori elements you can build your applications according to your specific requirements. It is one of the options available to develop SAP Fiori apps based on SAPUI5. In the guide center panel of your SAP Fiori Application project, you can now find an embedded tutorial for SAP Fiori app development. This tutorial describes step by step how to develop a custom page based on the flexible programming model.Tutorial: Develop an SAP Fiori app on BTP Graphical editor for hdbgrants files When working with HDI hdbgrants files are used to define the permissions and access rights for users and roles within an HDI container in the SAP HANA database. In SAP Business Application Studio, the SAP HANA tools offer a graphical editor for hdbgrants files providing a convenient way of implementing cross-container or cross-schema scenarios. The syntax of hdbgrants files can be quite complex, hence this graphical editor can ease the development of such scenarios. Note that it is also possible to use the code editor or to toggle between code and graphical editor, depending on your personal preferences.Graphical editor for hdbgrants filesThe source of the privileges is a service instance containing information that can be used to grant privileges in the database. The editor lists the available service instances that are bound to the current project. A user can select which service instance should be used for the current file.Privileges in hdbgrants files can be specified for two users: the HDI container’s object owner and the application user that is used by the application to connect to the database at runtime. The two tabs at the top of the editor allow selecting either user.Individual privileges can be assigned on the available object types: global roles, schema-local roles, system privileges, schema privileges, object privileges, and global object privileges. The privileges can be granted either with grant option or without grant option. Grants with grant option are required for building database objects on top of other database objects. Since database objects in an HDI container should only be created by HDI (by means of the object owner user) the object owner should usually be granted privileges with grant option, while the application user only needs to perform DML operations on database objects and does not need the privileges with grant option.For an easy way of keeping the privileges of the object owner and the application user in sync the editor allows copying the current privileges of the object owner to the application user via the “Copy properties to application user” button. When using this convenience feature all privileges that the object owner has with grant option are copied to the application user without grant option in order to set up the recommended permission model. Further readingsYou are still using SAP Business Application Studio and want to know, why you should change to SAP Build Code? Then I recommend reading this blog post written by my colleague Rupa Maity:  Why SAP Build Code? Read this blog post written by my colleague Marc Huber to find out how to migrate content from SAP Business Application Studio to SAP Build Code.In addition, I want to draw you attention to two other great blog posts:Collaborate on your SAP Build Code project with your teammates! written by Rupa MaityHow to Develop SAP MDK Applications in SAP Build Code written by Liat Borenstein For further information on new features, please check our roadmaps: roadmap for SAP Build Code, SAPUI5 Road Map. And have a look at What’s New in SAP Build Code, the What’s New Viewer for SAPUI5 and the SAP Cloud Application Programming Model Release Notes. If you want to stay up-to-date with news, learning resources, and product and strategy updates for SAP Build Code: follow our tag.We look forward to seeing how you use these new capabilities to create innovative solutions and drive your projects forward. Stay tuned for more updates and happy coding! ?   Read More Technology Blogs by SAP articles 

#SAP

#SAPTechnologyblog

You May Also Like

More From Author

+ There are no comments

Add yours