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.