RESTFUL Flashcards
You want to enhance a business object to retrieve a default company code that is selected from the database. Which extension type must you use?
Determination
In the RESTful Application Programming model where do you implement non-standard operations for customized business-logic behavior?
In an action.
What can you add to a business object in the ABAP RESTful application programming model?
- Action
- Field
How does the ABAP RESTful Application Programming Model support transactional consistency?
Through managed transactional processing
What is the primary use of ABAP Core Data Services (CDS)?
Data modeling and definition.
Why would you use Access Controls with CDS Views?
- You do not have to remember to implement AUTHORITY CHECK statements.
- Only the data corresponding to the user’s authorization is transferred from the database to the application layer.
When you attempt to activate the definition, what will be the response?
Activation error because the field names of the union do not match.
Setting a field to read-only in which object would make the field read-only in all applications of the RESTful Application Programming model?
Behaviour definition.
The “demo_ods_assoc_spfi data source referenced in line #4 contains a field “connid” which you would like to expose in the element list.
Which of the following statements would do this if inserted on line #8?
demo_ods_assoc_spfli.connid.
An ABAP application on SAP HANA needs to perform complex calculations on large datasets. Which approach should be used to achieve optimal performance?
Leverage SAP HANA’s in-memory capabilities using CDS views or AMDPs.
In RESTful Application Programming, a business object contains which parts?
- CDS view
- Behavior definition
In ABAP CDS, what is the role of the ‘Define View’ statement?
To define a CDS view.
What is the purpose of ‘Projections’ in the ABAP RAP?
To create subsets of data for specific use cases.
In a RESTful Application Programming application, in which objects do you bind a CDS view to create a value help?
- Data model view
- Projection View
- Metadata Extension
How does the ‘ABAP Managed Database Procedure Proxy’ (AMDP Proxy) facilitate database programming?
By allowing ABAP programs to call database procedures as if they were ABAP methods.
What is the significance of using Path Expressions in ABAP CDS Views?
To navigate relationships between associated views.
What is the advantage of using Core Data Services (CDS) views in ABAP for HANA?
They enable complex calculations and logic to be executed in the database
What is the main goal of the ABAP RESTful Application Programming Model (RAP)?
To enable the creation of RESTful services in ABAP.
In ABAP CDS, what does the annotation ‘@ClientDependent’ indicate?
The view will include client field in the result set.
What is the key principle behind SAP’s ‘Clean Core’ philosophy in S/4HANA Cloud?
To keep the core system free of modifications and custom code.
What is the role of ‘Hierarchical CDS Views’ in ABAP for SAP HANA?
To create views that represent hierarchical data structures.
Which of the following ON conditions must you insert in place of “???”?
ON Sprojection.carrier_id=Z_Source2.carrier_id
Which of the following are features of Core Data Services?
- Structured Query Language (SQL)
- Associations
- Annotations
In the context of ABAP on HANA, what is the advantage of using Advanced View Building techniques in CDS?
To build sophisticated data models leveraging database capabilities
What is the main advantage of using AMDPs over classical ABAP database procedures?
AMDPs allow the use of native SQL for database-specific operations.
In ABAP RAP, how are ‘Drafts’ used in application development?
To temporarily store uncommitted changes.
In ABAP CDS, what is the role of an Association?
To link CDS views for data retrieval.
What is the advantage of using Input Parameters in ABAP CDS Views?
To allow dynamic filtering of data at runtime.
What variable type is connection full based on the following code?
/DMO/I_Connection is a CDS view.
DATA connection full TYPE /DMD/I_Connection.
Structure
How does the ‘AMDP (ABAP Managed Database Procedures)’ framework benefit ABAP developers?
By allowing the use of native SQL and database-specific features
What RESTful Application Programming feature is used to ensure the uniqueness of a semantic key?
Determination
How do CDS Table Functions enhance the capabilities of ABAP CDS Views?
By allowing direct SQL scripting within CDS views