0% found this document useful (0 votes)
32 views9 pages

SAP RAP Managed vs Unmanaged Scenarios

Uploaded by

sapoabap.sundar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views9 pages

SAP RAP Managed vs Unmanaged Scenarios

Uploaded by

sapoabap.sundar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Q) What is managed and unmanaged in SAP RAP?

Ans) The difference between Managed and Unmanaged scenario is that the former lets SAP
handle the CRUD operations and in later (Unmanaged) we write our custom code to manage
all the operations.

Q) What is CDS View?

Core Data Service (CDS) Views are virtual data models of SAP HANA which allows
direct access to underlying tables of the HANA database. SAP CDS Views aim to push
logic from the application server to the client-side and database.

1- [Link]
1- Interface view / Consumption view / Metadata extension file
Behaviour Definitions: defines the actions that can be performed on the data, such as creating,
updating, and deleting records.

2- [Link]

3) [Link]
Interface view reads from database table where as consumption view reads from an interface view.
They (Consumptions View) have joins and associations with other interface views.

4) [Link]

In context of RAP Business object consist of hierarchical tree of node.

Business object is Service agnostic, which means it doesn’t care whether you create a OData V2 or
Odata V4 service or you want UI annotations service or not.
Creation of consumption and interface view is actually the process of defining the business object
which is step 5
How to create the behaviour definition language (BDL) . Right click on Interface View - New
Behaviour Definition
Template for BDL
On Save ( The method Get Triggered gets triggered after the field is changed ) VS On Modified (The
method gets triggered Before the field is changed)

Entity Manipulation Language:

[Link]
action-and-validation/ba-p/13554510

Common questions

Powered by AI

CDS Views in SAP HANA function as virtual data models that enable direct access to the database's underlying tables. They aim to push application logic closer to the client-side and the database, reducing reliance on the application server for executing complex data operations. This shift can enhance performance by leveraging the processing power of SAP HANA and reducing data transfer requirements.

The primary difference between Managed and Unmanaged scenarios in SAP RAP is related to CRUD operations. In a Managed scenario, SAP automatically handles the Create, Read, Update, and Delete (CRUD) operations, simplifying the development process. In contrast, the Unmanaged scenario requires developers to write custom code to perform these operations, giving them more flexibility and control.

Interface Views read directly from SAP HANA database tables, serving as a low-level abstraction over the data. Consumption Views, on the other hand, read from Interface Views and can incorporate joins and associations with other Interface Views to create more complex data representations. This difference allows Consumption Views to provide enhanced data manipulation and integration features.

A Business Object being service-agnostic in SAP RAP means it can be utilized across different types of services without any modifications. This provides flexibility and adaptability, enabling developers to repurpose existing business logic for various applications such as OData V2 or V4 or UI annotation services. This feature enhances reusability and maintains consistency across different service implementations.

Using Core Data Services (CDS) Views for logic distribution in a client-server architecture has profound implications for application performance and scalability. By enabling logic to reside closer to the data layer in the database, rather than on the application server, CDS Views reduce the overhead caused by frequent data exchanges over the network. This not only boosts performance by minimizing latency and bandwidth usage but also takes advantage of the database's processing power for complex computations, enabling more scalable applications.

Entity Manipulation Language (EML) is crucial in SAP RAP as it provides a framework for implementing custom actions and validations. EML enables developers to define specific parameters and logic that extend core application functionalities, allowing for more robust and customizable behavior models. This flexibility is essential for tailoring applications to meet specific business needs and operational requirements.

The hierarchical tree structure in RAP Business Objects is significant because it organizes data and functionality, allowing for efficient data manipulation and management. Each node in the tree represents a component of the business object, supporting complex business processes by providing a clear structure. This hierarchy enables developers to define relationships and manage dependencies more effectively, supporting complex data operations.

Separating Service and UI logic in SAP RAP is crucial for maintaining a clean architecture and ensuring that business objects are modular and reusable. This separation allows for independent development and maintenance of backend logic, facilitating scalability and adaptability in response to changing business needs or technological advancements. It also enables a consistent user experience across different platforms as the UI logic can be developed and modified without impacting the underlying service logic.

The Behavior Definition Language (BDL) in SAP RAP facilitates advanced customization by allowing developers to precisely define behaviors associated with business objects such as actions, validations, and field changes. Through BDL, developers can create templates and specify logic that dictates how business rules are executed, thus offering granular control over data manipulation and enhancing the adaptability of business processes.

In SAP RAP, 'On Save' and 'On Modified' methods differ in their trigger points during a transaction lifecycle. The 'On Save' method is triggered after a field has been changed and the changes are saved, which is useful for validating data or executing additional actions based on new data states. Conversely, 'On Modified' is triggered before a field is changed, allowing for pre-validation or transformation of input data, ensuring integrity before it is committed to the database.

You might also like