Normal view

There are new articles available, click to refresh the page.
Today — 5 February 2026zapyard.com / SAP BTP

SAP BTP CAPM Application Development and Deployment – Part 6

In this article, we’ll develop a CAP application using the SAP Build Code – Joule available in BAS.
So, let’s start…

DEVELOPING CAP APPLICATION USING JOULE

Step 1: Create a Build Code Application

Login to your SAP Free Trial account and make sure you have subscribed to the SAP Build Code then open the SAP Build Code from the Service Instance & Subscriptions.

Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 35 groups and more than 1850 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 35 groups from different topics like Generative AI, SAP Joule, CAPM, BTP, RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Join ZAPYard’s WhatsApp Community – Ask, Answer, Propose & Defend SAP Topics

Now, let’s create a new Build Code project. Please click on the Create button.

Click on Build an Application

Select SAP Build Code

Select Full-stack Application

Enter the project details, make sure you have selected the right dev-space and then click on create.

It will take sometime to generate the application. Once ready it will looks like this:

Click the project to open in the SAP Business Application Studio.

Step 2: Generating the Data Model & Service using Joule

Now the application will look like below in the Business Application Studio (BAS).

You can see the Joule icon available in the left pane, click on that.

The screen will appear like this below, click on Open Guide

You will find the below functionalities of Generative AI where you can use prompt to generate/build application data model, data, logic, UI etc.
Now click on the Open Joule, select the CAP application Generation

Now copy the below prompt and paste under the Joule

Prompt:
/cap-gen-app Design a School and Student detail application. Namespace is StudentDetails. Define 2 data entities: School and Student. Both the entities have managed aspect derived from @sap/cds/common Each Student must have the following fields: student_id, firstName, lastName, dateOfBirth, dateOfJoining ,email, phoneNumber. for each student, field student_id is the key field. for each student, field student_id will be Integer. for each student, fields firstName, lastName, email and phoneNumber will be String. for each student, fields dateOfBirth and dateOfJoining will be Date type. for each student, fields student_id, firstName and phoneNumber will have mandatory annotation. Each student will have association to one school and association is called school and it is readonly.
Each school should have a school_id, SchoolName, Principal, SchoolStrength, Curriculum and rating. for each school, field school_id is the key field. All fields for each school should be String except school_id and SchoolStrength that will be stored as Integer. for each school, fields school_id, SchoolName, Principal and Curriculum have mandatory validation. for each school, field SchoolStrength is readonly and field rating has range of enum in A , B and C Each school will have composition of many students and composition is called students and it is readonly.

Now Joule is thinking & generating the application.

Click on Accept

You can see your storyboard is filled with the data models for school & students and the services are also created.

Step 3: Generating the App Logic using Joule

In the Storyboard, click on the School entity under Services, and select Open in Graphical Modeler.

Then select the entity and click on Add Logic.

Click on Add

Select Phase as Before and standard event as Create & Update
Then click on Open Code Editor with Application Logic.

Provide the below prompt in the Joule to generate the Logic Code for you.
Prompt:
Assign the length of students array in that school to the schoolstength field of school. If email field of student is blank then add firstname , lastname and @gmail.com and assign to email.

Accept the code generated by Joule.

Step 4: Generating the UI

Go to the Storyboard and click + button in the UI section.

Provide the application details and click on Next.

Select the Application Type as Template Based and click on Next.

Select the List Report Template. Click on Next.

Select the Data Object as below:
Main Entity: School
Navigation Entity: Students.
Click on Finish.

To preview your application, once the files have been generated, go to the upper-right corner, and click preview (Run and Debug). The preview will be as:

Click on the application.

Your application is ready. Now you can add some sample data to view in the application.
In this assignment we have generated the same CAP application we developed in the last assignment using SAP Build Code, Joule.
Now you can compare the effort required to develop a CAP application using the visual tool available in BAS versus building the same application using Joule.
Joule is really helpful for effectiveness in code reduction.”

Share your thoughts, questions, or experiences in the comments below—your feedback is always welcome and helps us craft even more valuable content for you.
Happy Learning!

𝑃𝑙𝑒𝑎𝑠𝑒 𝐺𝑖𝑣𝑒 🕊𝐖𝐢𝐧𝐠𝐬🕊 𝑡𝑜 𝑡ℎ𝑖𝑠 𝐅𝐑𝐄𝐄 𝐶𝑜𝑛𝑡𝑒𝑛𝑡 𝑤𝑖𝑡ℎ 𝑎 𝗥𝗲𝗣𝗢𝗦𝗧 ❤❤

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter & Instagram.

Do not forget to SUBSCRIBE to our YouTube Channel for Free Courses and Unconventional Interesting Videos.

Do join ZAPYard’s Learning Community.

By: ZAPYard
19 January 2026 at 06:00

SAP BTP CAPM Application Development and Deployment – Part 5

In this article, we’ll develop a CAP application using the low code & no code visual tool available in BAS.
So, let’s start…

DEVELOPING CAP APPLICATION USING VISUAL TOOLS

Step 1: Open SAP Business Application Studio in the Trial Account

Login to your SAP Free Trial account and open the SAP Business Application Studio

It took me to the SAP Build screen, because I have subscribed to the SAP Build Code in my subaccount.

If you haven’t subscribed to the SAP Build Code, you will find the below screen to continue in BAS.

Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 35 groups and more than 1850 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 35 groups from different topics like Generative AI, SAP Joule, CAPM, BTP, RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Join ZAPYard’s WhatsApp Community – Ask, Answer, Propose & Defend SAP Topics

Now from the SAP Build App page, we can navigate to the BAS Dev Space section by click on the Product Switch icon.

Now we have to create a dev space.

Enter the space name, select Full-stack Application Using Productivity Tools, and click on Create.

Once you have created the Dev Space it will take a few seconds to start, you will find the below screen when your Dev Space is in Running state.

Click to go inside the Dev Space.

Step 2: Create a new Full-stack Project


Click on the Create Project

Note: If you want to change the theme to different color, you can click on the Settings button.

Select your favorite theme.

So, let’s continue to create the project.

Under the Project from Template, select the Full-stack Project.

Click on Start.

Fill the Project Details like below. Click on Finish.

It will take a few seconds to generate the project.
And it will look like below:

Step 3: Create a Data Model


Click on “Data models” and choose + icon and click on “create“.

Click on “entity” and click on “show details“.

Change entity name to “School“.

Change fields of this entity as below:

Again, follow the above steps to create entity for Student.

Now we have to create a relationship between the School & Student entities.
Let’s drag the relationship arrow from the School to the Student, you will find a Pop-up opens, pass below values.

Select the target entity as Student. Click on Create.

If you want to check what got created in folder. You can click on “Explorer” and open file schema.cds in db folder.

Step 4: Create a Service

Go to “storyboard” and click on “service” and “add service entity

Below screen appears.

Select capm.studentdetails.School from the dropdown.

Click on Save Icon.

Repeat the steps to create service entity for Student.
The storyboard will look like this:

Check service.cds file

Step 5: Create an UI

Go to the Storyboard and click on + icon on UI applications.

Pass the display name, application name and description as “School“, Click Next

Choose “Template based” UI application type. Choose “List Report” page.

Choose main entity as “School” and navigation entity as “students“. Click Finish.

Finally, your storyboard will be as below:

Click on School UI and click on “Open in page map“.

Click on “Configure page” of the List Report.

Add field for filter

Add a new filter: school_id

Go back to “Page map” & Click “configure page” for the object page.
Click on Add Section.
Then click on Add Table Selection.

Expand the Student Section, go to the Toolbar.
Now click on Add Columns.
Select Add Basics Column

Click on Add.
Go back to storyboard

Step 6: Test the application

Click on “Debug & Run” button.

You can find the UI application.

Now, let’s add some sample data.
Go to the Storyboard, and add sample data in the School data model

Now run the app to display the data.

In the next article we will generate the same application using SAP Build Code, Joule. We’ll compare the effort required to develop a CAP application using the visual tool available in BAS versus building the same application using Joule. It promises to be an interesting exploration of Joule’s effectiveness in code reduction.” 🚀
Happy learning!

If you found this article helpful, we’d love to hear from you! Share your thoughts, questions, or experiences in the comments below—your feedback is always welcome and helps us craft even more valuable content. Stay tuned for the next part in the series, where we’ll continue exploring essential tools and techniques to level up your SAP development skills.

Please note: This CAPM Series is the learning material from our ZAPcademy.com Instructor Led Live Online Training on the topic SAP BTP CAPM – Basic to Advanced. You may avail the recordings, notes and assignments of this training from here.

𝑃𝑙𝑒𝑎𝑠𝑒 𝐺𝑖𝑣𝑒 🕊𝐖𝐢𝐧𝐠𝐬🕊 𝑡𝑜 𝑡ℎ𝑖𝑠 𝐅𝐑𝐄𝐄 𝐶𝑜𝑛𝑡𝑒𝑛𝑡 𝑤𝑖𝑡ℎ 𝑎 𝗥𝗲𝗣𝗢𝗦𝗧 ❤❤

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter & Instagram.

Do not forget to SUBSCRIBE to our YouTube Channel for Free Courses and Unconventional Interesting Videos.

Do join ZAPYard’s Learning Community.

By: ZAPYard
17 December 2025 at 06:00

SAP BTP CAPM Application Development and Deployment – Part 4

Welcome to Part 4 of our SAP BTP Application Development series! 👋
In the previous parts, we explored how to set up our environment in SAP Business Application Studio (BAS), understand the project structure, and prepare for multi-target applications (MTAs) deployment.
In this article, we’ll take our learning a step further by developing a basic CAPM (Cloud Application Programming Model) application and integrating it with SAP HANA Cloud Database. This hands-on guide will walk you through the key steps — from creating the project structure to deploying it to the SAP BTP environment.

Perquisites:

  1. You have a BTP Trial account created.
  2. You have subscribed to SAP Business Application Studio.
  3. You have subscribed to the SAP HANA Cloud and created an instance.
  4. Your HANA Cloud DB instance must be in running condition.

Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 35 groups and more than 1850 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 35 groups from different topics like Generative AI, SAP Joule, CAPM, BTP, RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Join ZAPYard’s WhatsApp Community – Ask, Answer, Propose & Defend SAP Topics

Step 1: Create a new CAPM project from template

1. Return to the Explorer view. From the SAP Business Application Studio Welcome tab, click New Project from Template.

2. Choose CAP Project and click Start

3. Use the following name for your project and click Next

This name will be used in different steps. It is recommended that you do not change it unless you remember to replace it in future tasks.

Choose Node.js as the runtime. Select SAP HANA Cloud from the database for your application section. Choose Cloud Foundry:MTA Deployment and CI/CD Pipeline Integration under which way to deploy your project. Choose SAP BTP Authorization and Trust Management Service (XSUAA) and SAP Application Router from the productive runtime capabilities for your application section. Press Finish

The new project should be added to your workspace automatically.

Step 2: Install dependencies We are using several dependent Node.js modules in our project.

They are referenced in the dependencies section of the package.json file we were just editing. These dependencies need to be installed into your project before we can do any testing.

1. Open a new terminal

2. The terminal will open in the bottom right of the Business Application Studio

3. From the terminal run the command npm install

4. We will use an open source sample utility called hana-cli to help with development tasks. From this same terminal window run the command npm install -g hana-cli in order to install it for later usage.
npm install -g hana-cli

Step 3: Creating Database Entities for CAPM

Let’s start with the DB Folder: It contains the Database Entity which is based on CDS Model. The design-time artefacts declared in this file will be converted to run-time, physical artefacts in the database. In this example, the entities will become tables.
Right Click on db folder & create a New File.

Name the file as data-model.cds

Now, let’s create an entity, you can copy the below code and paste it into the created file.

Step 4: Creating a Service for CAPM using the Data-Model

Now go to the srv folder. We will be declaring services to expose the database entities we declared in the previous step.
Create a new file in srv folder by right-clicking on the same.

Name the file as cat-service.cds

Copy & Paste the below code in the created file.

Step 5: Connect to the HANA Cloud Instance & deploy the app
You will now deploy those objects into the HANA Database creating tables and views. We will use the SAP HANA Projects view to do this. Please expand this view and you will see the following:

1. We need to bind our project to a Database Connection and HDI container instance. Press the bind icon to being the process.

2. If you receive either of these two following warning dialogs, please just choose Continue (nothing will be deleted because we are creating a new HDI Container Instance) and Enable (automatic undeployed is quite helpful during the development process for the reasons described in this dialog)

3. The bind process will start a wizard where you will be prompted for values via the command pallet at the top of the SAP Business Application Studio screen. You might be asked to confirm your Cloud Foundry endpoint and credentials depending upon how long it has been since you last login.

4. Your first choice will be for the binding option. Choose Bind to an HDI container.

You might be presented with options for existing service instances (if you’ve completed other tutorials or have performed other HANA development). But for this exercise we want to choose Create a new service instance

6. To make subsequent steps easier, shorten the generated name to MyHANAApp-dev + a group number or your initials if you are doing this tutorial as part of a group workshop/shared environment. This makes sure that everything remains unique per participant. Remember the value you used here and adjust the name in the subsequent steps. The remaining screenshots will always just show the base name.

7. It will take a minute or two for the service to be created in HANA. A progress bar will be shown in the message dialog

8. Sometimes the binding step fails due to a timing issue. If so simply repeat the binding but this time do not create a new container name but select the existing HDI container that has been created from the previous attempt MyHANAApp-dev

9. Upon completion, the Database Connections will now show the service bound to the instance the wizard just created.

10. We are now ready to deploy the development content into the database. Before you go ahead, we recommend that you increase the default number of scrollback lines in the integrated terminal, if you’re using a Dev Space in SAP Business Application Studio. This is because there are many lines of log output about to be generated and you will want to see them all. So use menu path File -> Preferences -> Settings and search for the “Terminal › Integrated: Scrollback” setting. Set the value to 10000. Now, once you’ve done that, you’re ready to deploy. Press the Deploy button (which looks like a rocket) at the db folder level in the SAP HANA Projects view.

Click the below icon to open the HANA Database Explorer

Go to the tables, you can find the table

You can find the tables in the SAP HANA Database Explorer.

You can right click on the table and import Data.

You can have a .csv file with some sample data to import.

Step 6: Check data loaded into the tables

1. We can use this same configuration information from Cloud Foundry to start the CAP service layer and connect it to SAP HANA as well. Use the command cds bind -2 MyHANAApp-dev-00:SharedDevKey to tell CAP to bind to this same HANA Cloud HDI service instance that we bound to earlier in the SAP HANA Projects view.

2. Run the command npm install to install any Node.js dependent modules needed by the Cloud Application Programming Model.

3. Our project is setup for real XSUAA security and we will use that later in this tutorial. But for now we want to test without configuration of the necessary authentication and authorization setup. To do so, open the package.json file in the root of your project. Change the cds.requires.auth property from xsuaa to mocked so we can test with mock authentication.

4. Now issue the command cds watch –profile hybrid. This will start the CAP service locally and use the binding configuration to connect to our remote HANA database instance. Once started you will see a dialog with a button that says Open in New Tab. Press this button to test the CAP service in a new browser tab.

If you accidentally close this dialog, you can always open the running services via View > Command Pallette and then choosing Ports: Preview and choosing the running service from the list

Click on SalesOrder

If you found this article helpful, we’d love to hear from you! Share your thoughts, questions, or experiences in the comments below—your feedback is always welcome and helps us craft even more valuable content for your ABAP on Cloud journey. Stay tuned for the next part in the series, where we’ll continue exploring essential tools and techniques to level up your SAP development skills.

Please note: This CAPM Series is the learning material from our ZAPcademy.com Instructor Led Live Online Training on the topic SAP BTP CAPM – Basic to Advanced. You may avail the recordings, notes and assignments of this training from here.

𝑃𝑙𝑒𝑎𝑠𝑒 𝐺𝑖𝑣𝑒 🕊𝐖𝐢𝐧𝐠𝐬🕊 𝑡𝑜 𝑡ℎ𝑖𝑠 𝐅𝐑𝐄𝐄 𝐶𝑜𝑛𝑡𝑒𝑛𝑡 𝑤𝑖𝑡ℎ 𝑎 𝗥𝗲𝗣𝗢𝗦𝗧 ❤❤

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter & Instagram.

Do not forget to SUBSCRIBE to our YouTube Channel for Free Courses and Unconventional Interesting Videos.

Do join ZAPYard’s Learning Community.

By: ZAPYard
15 December 2025 at 16:50
Before yesterdayzapyard.com / SAP BTP

SAP BTP CAPM Application Development and Deployment – Part 2

In Part 2 of our SAP BTP CAPM (Cloud Application Programming Model) series, we move from theory to practice by building a fully functional CAPM application and integrating its services into a UI5 freestyle basic application.
This guide is designed for beginners who want to understand the CAPM development workflow in SAP Business Application Studio (BAS) from setting up the development space, creating database entities, and exposing them as services, to consuming these services in a UI5 application with basic Create, Read, Update, and Delete (CRUD) operations.

By following this step-by-step walkthrough, you’ll gain hands-on experience in:

  • Setting up a Full-Stack Cloud Application Dev Space in BAS with required SAP extensions
  • Creating a CAPM project with database models and service definitions
  • Loading sample data into your application
  • Building and previewing the application in Fiori Preview
  • Developing a custom UI5 freestyle app to consume CAPM services
  • Implementing Create and Delete operations directly from the UI

This part serves as the practical foundation for future installments, where we’ll connect CAPM to SAP HANA Cloud DB and explore low-code/no-code development in BAS.

NEW INSTRUCTOR LED LIVE TRAINING ANNOUNCEMENT

Course Break up – A to Z of SAP CPI with BTP Integration Suite
Enrollment Link – A to Z of SAP CPI with BTP Integration Suite


Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 35 groups and more than 1850 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 35 groups from different topics like Generative AI, SAP Joule, CAPM, BTP, RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Join ZAPYard’s WhatsApp Community – Ask, Answer, Propose & Defend SAP Topics

Lets start with creating a basic CAPM application for a beginner and use the CAPM service in a UI5 freestyle basic application

Perquisites:

  1. You have a BTP Trial account created.
  2. You have subscribed to SAP Business Application Studio

Step 1: Setting Up Project in Development Space on BAS for CAPM Full Stack UI5 Development

Open the Business Application Studio from your SAP BTP Trial account.

Create a new Dev Space, make sure you select Full-Stack Cloud Application and check the additional SAP Extensions:

  1. SAP HANA Calculation View Editor
  2. SAP HANA Performance Tools
  3. SAP HANA Tools
  4. SAP HANA XS Advanced Tools
  5. SAP HANA Smart Data Integration Tools

The Dev Space is always in stopped space; you can think of it as a Virtual Machine. When it’s not in use it automatically stops & you will have to start the same to get going. Click on the play to start your Development Space

It will go to the running phase again.

Finally, it opened, you can bookmark this as well to directly access your Specific Development Space.

Now let’s navigate to Project Work Space. Click on file & choose Open Workspace from the drop-down list.

You will get the below screen. Choose projects & click open.

Now we are in the project workspace. Let’s open a terminal and proceed further. Click on Terminal & choose New Terminal.

You will get the below terminal screen. Now copy the below command & run it in your terminal. This will create a Project with the name: cap_tutorial.
You can put the command like: mkdir cap_tutorial

You will see that a new project folder is created with the name cap_tutorial. You the below command to navigate to this new folder in the terminal.

cd cap_tutorial

You will be switched to the created project folder cap_tutorial. Copy the below command to create the CAPM project.

cds init

The creation will start in our project folder & let’s wait for the build.

Cool, now you have your project ready. The structure should be like the below screen.

As you can see, we have 3 major folders

  • db
  • srv
  • app

Here the db is the database where you can define any data models, and the data model will be exposed as a service in the srv folder and then the service can be consumed in the application generated in the app folder.

Step 2: Creating Database Entities for CAPM

Let’s start with the DB Folder: It contains the Database Entity which is based on CDS Model. The design-time artefacts declared in this file will be converted to run-time, physical artefacts in the database. In this example, the entities will become tables.
Right Click on db folder & create a New File.

Name the file as data-model.cds

data-model.cds


Now, let’s create an entity, you can copy the below code and paste it into the created file.

Step 3: Creating a Service for CAPM using the Data-Model

Now go to the srv folder. We will be declaring services to expose the database entities we declared in the previous step.
Create a new file in srv folder by right-clicking on the same.

Name the file as cat-service.cds

cat-service.cds

Copy & Paste the below code in the created file.

Let’s build the project now once. For that do cds build

cds build

Now, let’s finally see what we have built. Let’s do cds watch it will run your project built till now.

cds watch

You will a server is running with a localhost port 4004, and you have click on Open in a New Tab

You can click the $metadata to find the all the fields and the entity set.

Now click on the Products Service, you will see it loaded with no values.

So, you got an idea how to create a very simple data model and expose that into a service.
Now let’s a new data-model and do the same steps again for a Sales Order Scenario.

Step 4: Adding a new Entity in the CAPM application Data-Model

Go to the cat-service.cds file add the below code.

Step 5: Modify the Service file with the new data-model

Now ae we added a new entity in the data model, we have to modify the service file as well.
The whole service file looks like the below:

Now, let’s do again cds build and then cds watch.

You can see the both the end points are available. Similarly, you can test the metadata and the service.

Step 6: Create sample date to load in the service.

So, let’s create a folder in db folder. Right-click on db folder and select New Folder

Name your folder as data.

Now create a new file in the created data folder.

Name your file as cap_tutorial-SalesOrders.csv. Here cap_tutorial is

the namespace – SalesOrders is our entity. It’s a nomenclature that needs to be followed for mapping the data.

cap_tutorial-SalesOrders.csv

Now, it’s time to create actual data. So, in CAPM we use .csv files to create local data. You can easily create them in Excel or Libre or even in Notepad. For now, you can copy-paste it from below.

Your final Project Structure should look something like this:

First let’s save everything and then we will proceed.

We will have to do a cds build.

Now let’s do cds watch, this time when we navigate to the Entity SalesOrders.

We will be able to see the added data.

Now you can click on Fiori preview.

You will see the below screen, with No Data. No need to worry, just click on Setting Icon.

Choose all the columns for which you want to see the data and click OK.

We can see the Data is populated now in our fiori preview.

Fiori Preview is a fully you can get a feel of the final Integration here. Like we can also use the Filter Feature.

In this part of our SAP BTP CAPM series, we walked through the process of setting up a full-stack CAPM project in SAP Business Application Studio, defining database entities, and exposing them as services. You now have a working backend with sample data that can be accessed and tested in Fiori Preview—a solid foundation for building real-world applications.

But a backend service alone isn’t enough—applications become truly powerful when their data is accessible and manageable through a user-friendly interface.

📢 Coming up next in Part 3– We’ll take this CAPM service you just built and integrate it into a UI5 freestyle application. You’ll learn how to connect to your CAPM service, display live data in a table, and implement Create and Delete operations directly from the UI. This will bring your application to life and set the stage for more advanced features in the later parts of the series.

If you found this guide useful, share your thoughts, challenges, or success stories in the comments. Your feedback helps us create more targeted and valuable content for your ABAP on Cloud and CAPM learning journey.

Please note: This CAPM Series is the learning material from our ZAPcademy.com Instructor Led Live Online Training on the topic SAP BTP CAPM – Basic to Advanced. You may avail the recordings, notes and assignments of this training from here.

𝑃𝑙𝑒𝑎𝑠𝑒 𝐺𝑖𝑣𝑒 🕊𝐖𝐢𝐧𝐠𝐬🕊 𝑡𝑜 𝑡ℎ𝑖𝑠 𝐅𝐑𝐄𝐄 𝐶𝑜𝑛𝑡𝑒𝑛𝑡 𝑤𝑖𝑡ℎ 𝑎 𝗥𝗲𝗣𝗢𝗦𝗧 ❤❤

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter & Instagram.

Do not forget to SUBSCRIBE to our YouTube Channel for Free Courses and Unconventional Interesting Videos.

Do join ZAPYard’s Learning Community.

A to Z of SAP BTP CAPM Learning Series

By: Asha_03
25 August 2025 at 04:45

Mastering SAP BTP Technical Interview Guide Part – 2

Mastering SAP BTP Technical Interview Guide Part – 2 continues where the first part left off, diving deeper into the essential concepts of SAP Business Technology Platform (SAP BTP), offering advanced insights and preparation for technical interviews. In today’s rapidly evolving technology landscape, SAP BTP has become an essential solution for businesses looking to integrate and extend their SAP applications. Whether you’re an aspiring SAP professional or looking to enhance your existing skills, this article is designed to help you prepare effectively for SAP BTP interviews by exploring advanced questions, hands-on scenarios, and real-world challenges.

Check HereThe first 10 Questions on SAP Business Technology Platform Interview Guide

Q11: How does SAP BTP facilitate application development and deployment?

SAP BTP facilitates application development and deployment through tools like SAP Business Application Studio (BAS), SAP Build, SAP Build Code which streamline the creation of applications. Additionally, the BTP ABAP environment allows developers to use ABAP in the cloud for building custom extensions while leveraging existing ABAP skills. This combination of tools supports rapid development, integration, and deployment, enabling businesses to innovate quickly while maintaining stability in their SAP landscapes. For instance, a logistics company can quickly build a custom app to track shipments in real-time, integrating it seamlessly with their existing SAP systems.


Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 32 groups and more than 1300 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 32 groups from different topics like RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Join ZAPYard’s WhatsApp Community

Now, lets move on to the next question.

Q12: Can you explain the concept of microservices in SAP BTP?

Microservices in SAP BTP involve breaking down applications into small, independent services that handle specific functions. Each microservice can be developed, deployed, and scaled individually. For example, an online retailer might have separate microservices for inventory management, payment processing, and customer reviews, allowing each to be updated independently without disrupting the entire system. This architecture enhances flexibility, scalability, and resilience.

Q13: What is the SAP BTP SDK for iOS, and what are its use cases?

The SAP BTP SDK for iOS is a software development kit that allows developers to create native iOS applications integrated with SAP systems. It provides pre-built components, libraries, and tools to streamline the development of mobile apps that can access SAP data and services. Use cases include creating custom mobile apps for field service management, sales order processing, or employee self-service, where users need to interact with SAP data on their iPhones or iPads.

Q14: How does SAP BTP handle data privacy and compliance?

SAP BTP ensures data privacy and compliance through robust encryption, Identity and Access Management (IAM), and adherence to global standards like GDPR. For example, a healthcare provider using SAP BTP can securely store and manage patient data, ensuring compliance with regulations and protecting sensitive information from unauthorized access, while also managing user consent effectively.

Q15: Explain the role of SAP Cloud Platform Identity Authentication Service in SAP BTP.

The SAP Cloud Platform Identity Authentication Service (IAS) is a key security component in SAP BTP, providing secure user authentication and single sign-on (SSO) capabilities. It ensures that only authorized users can access SAP BTP applications and services, leveraging industry-standard protocols like SAML 2.0 and OpenID Connect. IAS also supports multi-factor authentication (MFA), enhancing security by requiring users to verify their identity through multiple methods. This service plays a crucial role in protecting applications and data within the SAP ecosystem.

Did you hear this News?

Q16: What is SAP Fiori, and how is it utilized in SAP BTP?

SAP Fiori is a user experience (UX) design system that provides a consistent and intuitive interface for SAP applications. In SAP BTP, Fiori is used to build and extend user-friendly web and mobile applications that provide a seamless experience across devices. Developers can use SAP Business Application Studio (BAS) to create Fiori apps, ensuring that they align with SAP’s design principles. Fiori enhances user productivity by offering role-based, responsive, and easy-to-use applications tailored to specific business processes.

Q17: How does SAP BTP support mobile application development?

SAP BTP supports mobile app development through SAP BTP SDKs for iOS and Android, enabling the creation of native apps that integrate with SAP systems. For instance, a sales team can use a mobile app built on SAP BTP to access customer data, track sales activities, and manage orders while on the road, ensuring they have the information they need at their fingertips. These SDKs provide pre-built UI components, data synchronization, and offline capabilities, allowing developers to build apps that work seamlessly with SAP services. Additionally, SAP BTP offers backend services like mobile services for push notifications, authentication, and data integration, ensuring that mobile apps are robust and enterprise-ready.

Q18: Can you discuss the SAP Cloud Platform Integration Suite?

The SAP Cloud Platform Integration Suite (now part of SAP Integration Suite) is a comprehensive toolset that enables seamless integration between SAP and non-SAP systems, whether they are on-premise or in the cloud. It supports various integration scenarios, including API management, data integration, and process orchestration. The suite includes pre-built connectors and adapters for popular applications and protocols, simplifying the integration process. It is essential for connecting disparate systems, enabling smooth data flow, and supporting end-to-end business processes across different platforms.

Q19: What are the benefits of using SAP BTP for cloud-native development?

SAP BTP offers numerous benefits for cloud-native development, including scalability, flexibility, and agility. For example, a startup can quickly build and deploy a new e-commerce platform using SAP BTP, scaling resources up or down based on demand. The platform’s DevOps tools support continuous integration and deployment, enabling rapid iteration and innovation while maintaining high availability and resilience.

Q20: How does SAP BTP manage and analyze big data?

SAP BTP manages and analyses big data using SAP HANA Cloud for real-time processing, SAP Data Intelligence for data integration and orchestration, and SAP Datasphere for managing and connecting data across different sources. SAP Analytics Cloud (SAC) provides powerful data visualization and predictive analytics tools that help businesses turn big data into actionable insights. For example, companies can analyze customer behavior, forecast trends, and optimize operations by leveraging these integrated solutions within SAP BTP.

Stay tuned for the next part of this series, where we’ll dive deeper into more advanced questions and answers, helping you continue your mastery of SAP Business Technology Platform.

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter , Instagram and Telegram SAP Technical Group Signal Group

Do not forget to SUBSCRIBE to our YouTube Channel for Free Courses and Unconventional Interesting Videos.

Do join ZAPYard’s Learning Community.

Business Technology Platform Interview Questions & Answers

By: ZAPYard
12 September 2024 at 16:18

Mastering SAP BTP Technical Interview Guide Part – 1

In today’s rapidly evolving technology landscape, SAP Business Technology Platform (SAP BTP) has become an essential solution for businesses looking to integrate and extend their SAP applications. Whether you’re an aspiring SAP professional or looking to enhance your existing skills, this article is designed to help you prepare effectively for SAP BTP interviews by exploring commonly asked questions and offering detailed answers.

Q1: What is SAP Business Technology Platform (SAP BTP) and its primary purpose?

SAP Business Technology Platform (SAP BTP) is a unified platform that integrates data management, analytics, AI, application development, and automation. It serves as the foundation for building, extending, and integrating SAP and non-SAP applications, helping businesses accelerate their digital transformation. By offering a range of tools and services under one umbrella, SAP BTP allows organizations to focus on business logic while handling the technical complexities behind the scenes, much like a restaurant owner focuses on cooking rather than infrastructure management.


Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 32 groups and more than 1300 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 32 groups from different topics like RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Join ZAPYard’s WhatsApp Community

Now, lets move on to the next question.

Q2: Can you explain the different service models in SAP BTP (IaaS, PaaS, SaaS)?

SAP BTP supports three primary service models:

  • IaaS (Infrastructure as a Service): This model provides virtualized computing resources like servers, storage, and networking. With IaaS, SAP BTP allows businesses to run their SAP systems on cloud infrastructure provided by vendors like AWS, Azure, or Google Cloud. This eliminates the need for managing physical hardware, offering scalability, flexibility, and cost savings. For instance, a company can quickly scale up resources during peak demand periods without investing in additional on-premise hardware.
  • PaaS (Platform as a Service): This model offers a platform for developing, running, and managing applications without the complexity of building and maintaining infrastructure. SAP Business Application Studio (BAS) is an example of a PaaS tool in SAP BTP, providing a development environment optimized for SAP technologies, enabling developers to build applications like SAP Fiori apps efficiently.
  • SaaS (Software as a Service): This model delivers software applications over the cloud, accessible via a subscription. An example within SAP BTP is SAP Build (formerly known as SAP Build Code), which allows users to create enterprise-grade applications with low-code or no-code tools. SAP Build enables business users to develop applications without needing extensive coding skills, making it easier for companies to rapidly develop and deploy new solutions.

Q3: How does SAP BTP support multi-cloud environments?

SAP BTP is designed to operate across multiple cloud environments, including AWS, Azure, and Google Cloud. This multi-cloud support gives businesses the flexibility to choose or switch between cloud providers based on their needs. For instance, a company might use AWS for its scalability while leveraging Azure for its integration with Microsoft products, all managed within the SAP BTP environment.

Q4: What are some key components of SAP BTP?

Some of the Key components of SAP BTP include:

  • SAP HANA Cloud: An in-memory database that provides real-time data processing.
  • SAP Integration Suite (CPI): Facilitates integration between SAP and non-SAP systems.
  • SAP BTP ABAP Environment: Allows custom ABAP development in the cloud.
  • SAP Business Application Studio (BAS): A development environment tailored for SAP applications.

These components are essential for developing, extending, and integrating business applications on SAP BTP.

Q5: How does SAP BTP integrate with existing SAP landscapes?

SAP BTP integrates seamlessly with existing SAP landscapes through several tools:

  • Destination Services: Manage connections between SAP BTP and other systems.
  • Cloud Connector: A secure gateway connecting on-premise systems with SAP BTP.
  • SAP Integration Suite: Ensures smooth data flow between various SAP and non-SAP systems.

These tools enable businesses to extend their SAP environments with cloud-based innovations without disrupting their core systems.

If you want to learn A to Z of SAP BTP and Master it, Try the below self paced video course.

Q6: Explain the role of SAP HANA Cloud in SAP BTP.

SAP HANA Cloud is the backbone of SAP BTP, providing an in-memory database that enables real-time data processing and advanced analytics. It supports both transactional and analytical workloads, allowing businesses to analyze large datasets on the fly. SAP HANA Cloud also integrates seamlessly with other SAP BTP services, facilitating the development of intelligent applications. For example, a retail company could use SAP HANA Cloud to analyze sales trends in real-time, optimizing inventory management and marketing efforts.

Q7: What are the security features available in SAP BTP?

SAP BTP offers comprehensive security features:

  • Identity and Access Management (IAM): Ensures secure user access with role-based controls.
  • Data Encryption: Protects data both at rest and in transit.
  • Audit Logging: Monitors user activities and system events for compliance.
  • Compliance and Certifications: Meets global security standards like GDPR and ISO 27001.

These features ensure that SAP BTP provides a secure environment for deploying business-critical applications.

Q8: How can SAP BTP be used for extending existing SAP applications?

SAP BTP enables side-by-side extensibility, allowing businesses to extend existing SAP applications without altering the core system. This is achieved through:

  • SAP Business Application Studio (BAS): Developers can build new interfaces or workflows that integrate with existing SAP systems.
  • SAP BTP ABAP Environment: Custom ABAP developments can be created in the cloud to add new functionalities to SAP applications.
  • SAP Integration Suite: Facilitates seamless integration of new extensions with core SAP systems.
  • Generative AI (Gen AI): SAP BTP also supports Gen AI, which can create new data models or content, enabling innovative ways to extend applications. These tools help businesses innovate while maintaining the stability of their core SAP systems.

Q9: What are the capabilities of SAP Analytics Cloud in SAP BTP?

SAP Analytics Cloud (SAC) within SAP BTP offers:

  • Data Visualization: Create interactive dashboards for real-time insights.
  • Planning and Budgeting: Comprehensive tools for financial forecasting and scenario analysis.
  • Predictive Analytics: Machine learning algorithms for forecasting trends and identifying risks.
  • Business AI and Generative AI: SAC leverages AI to automate data analysis and generate scenarios based on historical data.
  • Collaboration: Teams can collaborate on data analysis and planning in a unified environment. These capabilities empower businesses to make data-driven decisions and improve operational efficiency.

Q10: Discuss the role of Artificial Intelligence and Machine Learning in SAP BTP.

AI and ML are integral to SAP BTP, enabling automation and intelligence across business processes:

  • Business AI Services: Pre-built AI models for tasks like sentiment analysis and demand forecasting.
  • Custom Machine Learning Models: Tools like SAP Data Intelligence allow businesses to develop tailored ML models.
  • Generative AI (Gen AI) Models: Supports innovative use cases, such as generating new content or models based on existing data.
  • Intelligent Process Automation: AI-driven bots automate tasks, improving efficiency.
  • Integration with SAP Applications: AI and ML models enhance decision-making in core SAP systems. These AI and ML capabilities drive innovation and competitive advantage for businesses using SAP BTP.

Stay tuned for the next part of this series, where we’ll dive deeper into more advanced questions and answers, helping you continue your mastery of SAP Business Technology Platform.

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter , Instagram and Telegram SAP Technical Group Signal Group

Do not forget to SUBSCRIBE to our YouTube Channel for Free Courses and Unconventional Interesting Videos.

Do join ZAPYard’s Learning Community.

Learn & Understand BTP Interview Q&A

Do check this Fun and Useful Video

By: ZAPYard
28 August 2024 at 15:44

SAP Build Build Process Automation 2 – Subscribe to SAP Build Process Automation

SAP Build Process Automation in the SAP Business Technology Platform combines the capabilities of SAP Workflow Management and SAP Intelligent RPA in an easy-to-use, no-code AI-powered experience. It increases organizations’ capacity to drive process automation by empowering business experts to become citizen developers. Leveraging the power of no-code, citizen developers can build, adapt, improve, and innovate business processes with minimum assistance from scarce IT resources.


Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 32 groups and more than 1000 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 32 groups from different topics like RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Join ZAPYard’s WhatsApp Community

Subscribe to SAP Build Process Automation

After successful creation of SAP BTP account using Free Trial, select Services> Service Marketplace. In the search field, type SAP Build Process Automation and select the tile.

1. Choose Create button.

2. In the New Instance or Subscription window, choose the free subscription plan and select Create button.

3. In the Creation in Progress pop-up, select View Subscription

4. Check if it is processed and created successfully. The status should be set to Subscribed.

Assign Roles

In order to have access, you will have to assign the role collections to your user.

  • Go to the Users, under Security, and select your user.
  • In Role Collections section, choose Assign Role Collection.
  • In the Assign Role Collection window, in the search bar, type process to find Process Automation Roles.
  • Select 3 roles: ProcessAutomationAdmin, ProcessAutomationDeveloper and ProcessAutomationParticipant.
  • Choose Assign Role Collection button.

Hope this would be useful for you at some point of time. If you have any questions, queries, please feel free to put it in the comments section below and I will be happy to clarify them. 👍👍

This tutorial is part of the below online live training which we offered on 02/24/2024. If you are interested, you may find the recordings of the training here – SAP Build Process Automation Advanced Live Instructor Led Training.

One Click to ZAPYard’s All Social Media Handles

PLEASE SHARE YOUR COMMENTS AND FEEDBACK

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter , Instagram and Telegram SAP Technical Group Signal Group

Do not forget to SUBSCRIBE to our YouTube Channel for Free Courses and Unconventional Interesting Videos.

Do join ZAPYard’s Learning Community.

SAP Build Process Automation Series

By: ZAPYard
1 March 2024 at 23:39

SAP Build Build Process Automation 1 – How to Install SAP Process Automation Desktop Agent

The Desktop agent is a component of SAP Build Process Automation that is installed locally on user desktops. It executes automation projects that launch and run applications of various kinds, read information from screens, enters data, clicks options, and process data. Please follow the below steps to install the desktop agent to run any process automation.


Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 32 groups and more than 1000 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 32 groups from different topics like RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Join ZAPYard’s WhatsApp Community

STEP 1- Download the SAP Intelligent RPA MSI

The Desktop Agent is a component of SAP Intelligent Robotic Process Automation that is installed locally on user desktops. It executes automation projects that launch and run applications of various kinds.

Download the latest version of the SAP Process Automation Desktop Agent from SAP Development tools.

STEP 2 – Install components

Kindly follow the below steps to install the downloaded software.

  1. Double-click on the MSI, and choose Next.
  2. Choose the components to install and choose Next for the following steps.
  3. Wait for the installation to complete.
  4. Choose Finish

Note: You can select Desktop Agent or Desktop Agent and Studio both.

STEP 3 – Register Desktop Agent Tenant

1. In the Windows search bar, search for Desktop Agent and choose it.

2. On the SAP Process Automation homepage, go to Control Tower, choose Agents and then select the Register new agent… button on the right-hand side of the screen.

3. When the pop-up opens, select Copy and Close.

4. Then paste the URL into the Domain field on your Desktop Agent Tenant Registration window and choose Save.

5. Select the tenant, choose Activate and confirm.

6. Log in to your tenant with your username or e-mail and password. 7. The Agent should be in Idle state, waiting to start a project.

Now you have successfully configured the desktop agent in your system and connected to the Build Process Automation in your SAP BTP trial account. Thanks for reading this blog. Happy learning!

This tutorial is part of the below online live training which we offered on 02/24/2024. If you are interested, you may find the recordings of the training here – SAP Build Process Automation Advanced Live Instructor Led Training.

One Click to ZAPYard’s All Social Media Handles

PLEASE SHARE YOUR COMMENTS AND FEEDBACK

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter , Instagram and Telegram SAP Technical Group Signal Group

Do not forget to SUBSCRIBE to our YouTube Channel for Free Courses and Unconventional Interesting Videos.

Do join ZAPYard’s Learning Community.

SAP Build Process Automation Series

By: ZAPYard
23 February 2024 at 19:23

SAP BTP. Part 9. Handling the Business Logic in RAP – Part 1

There is a popular idiom “you have to (learn to) crawl before you (can) walk“, which roughly means, one must understand or become adept at the basic skills, techniques, or details of something before moving on to that which requires greater skill or experience. 🔥🔥

Why are we starting a technical tutorial on SAP ABAP with this English Proverb? The reason in simple; in order to absorb a new technology, rooting to the basics is necessary. Owing to the numerous articles/tutorials freely available and excited to build a new application on the latest technology, while copy-pasting the logic, we tend to forget to learn the basics. 💡💡

RAP offers diversified ways to implement the business logic. Each method has its own significance and respective point of implementation.

RAP provides four main areas of interest where implementation of business logic is considered. They are:

  • Action
  • Function
  • Determination and
  • Validations.

Lack of proper understanding may result in fumbling of the implementation.

Before we proceed with our tutorial, we would like to give you an opportunity to join our ZAPYard’s learning community where we have more than 32 groups and more than 1000 real SAP Consultants interacting with each other daily. Only SAP topics and not BS. Else, they will be banned from the community without warning. 👇👇👇👇

If you want to be part of ZAPYard’s Discussion Community, please feel free to check the below Link. We Ask, Answer, Help and Learn Together. There are more than 32 groups from different topics like RAP, BPT, Fiori, iRPA, CAI, CPI, PI/PO, ABAP on HANA, SAPUI5, SAP Build, SAP Adobe Forms, ChatBots, SAC etc. Join any group of your interest and interact with our Community.

Below is the concise explanation and importance of each of these key-words with the exact signature.

1. Actions: In order to implement business logic in a behavior of a CDS Entity, an action is defined.

  • It is a write access.  
  • It is declared with keyword action in the behavior definition.
  • An action can be instance or static.
  • An action has exactly one input parameter.
  • Input parameter can be a structured data type or a CDS Entity.
  • Exactly one output parameter can be defined for actions.
  • The return parameter can be defined by result keyword followed by the cardinality and data type.
  • The return parameter can be the CDS entity or dictionary data type.
  • If the return parameter is the same CDS entity, it is defined with keyword $self.
  • Entity keyword is used to specify non-abstract CDS entity with behavior definition.

Example:

2. Functions: A Function is an operation on a CDS entity which allows performing some calculations.

  • It is a read access.
  • It does not require locking of the CDS Entity.
  • It is defined with the keyword function in the behavior definition.
  • It has to have a return parameter.
  • It can be static or instance based.
  • Selective keyword is used to return only selected field of the return parameter.

Example:

3. Determinations:  Determinations is used for handling internal business logic.

  • Determinations are implemented based on a trigger condition also known as triggers.
  • A trigger condition can be triggered by standard operation like create, update and delete.
  • A trigger condition can also be triggered by change of field values in an instance of a CDS entity.
  • The fields can be single or multiple ( if one or both the fields change ).
  • The combination of field sequence and standard operations can also be a trigger condition.
  • They are available in managed scenarios and unmanaged with only draft handling.
  • Determinations are applied via on_modify or on_save operations.
  • Keyword is determination followed by the name of the determination.

Example with CUD Operations:

Example with field changes:

4. Validations:  Validations are similar to traditional validation checks we have been using in the programming.

  • A validation is executed in the save sequence.
  • Failing of a validation can lead to the abortion of a save sequence.
  • It can be triggered with the same trigger conditions as in determinations.
  • These are handled by the RAP framework in the CHECK_BEFORE_SAVE sequence.
  •  It is defined by the keyword validation followed by the name and trigger.

Example:

Example with field changes:

Example with mixed triggers:

So, if any interviewer or as a backend developer, below are the answers to the application queries 😍😍:

  1. I would want to execute operations apart the CRUD on the entity itself which would require the locking of the entities. Answer – ACTION.
  2. Some Validation needs to be implemented on click of the field on UI – VALIDATION with field.
  3. Need to calculate the value of another field with the entry of a respective field – DETERMINATION with on_modify{ field }
  4. Need to calculate a field on creation of a sales order – DETERMINATION on save { create }
  5. Need to calculate on read of the entity – FUNCTION

Above operations can also be performed in combinations, example an action can be executed inside a determination, a validation can be called inside an action. These methods are truly crafted in an adroit fashion!

Thus any operations or internal business logic can be handled via the above methods. Though the signature varies from the traditional abap, however the meaning and significance remains the same.

In the later articles, we shall be discussing on how to implement the same. If you have any questions, queries, please feel free to put it in the comments section below and I will be happy to clarify them. 👍👍

End to End SAP BTP Series

One Click to ZAPYard’s All Social Media Handles

PLEASE SHARE YOUR COMMENTS AND FEEDBACK

Please follow our LinkedIn PageLinkedIn Group , Facebook PageFacebook GroupTwitter , Instagram and Telegram SAP Technical Group Signal Group

Do join ZAPYard’s Learning Community.

❌
❌