RESTFUL Flashcards

1
Q

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?

A

Determination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In the RESTful Application Programming model where do you implement non-standard operations for customized business-logic behavior?

A

In an action.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What can you add to a business object in the ABAP RESTful application programming model?

A
  • Action
  • Field
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does the ABAP RESTful Application Programming Model support transactional consistency?

A

Through managed transactional processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the primary use of ABAP Core Data Services (CDS)?

A

Data modeling and definition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why would you use Access Controls with CDS Views?

A
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When you attempt to activate the definition, what will be the response?

A

Activation error because the field names of the union do not match.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Setting a field to read-only in which object would make the field read-only in all applications of the RESTful Application Programming model?

A

Behaviour definition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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?

A

demo_ods_assoc_spfli.connid.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

An ABAP application on SAP HANA needs to perform complex calculations on large datasets. Which approach should be used to achieve optimal performance?

A

Leverage SAP HANA’s in-memory capabilities using CDS views or AMDPs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In RESTful Application Programming, a business object contains which parts?

A
  • CDS view
  • Behavior definition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In ABAP CDS, what is the role of the ‘Define View’ statement?

A

To define a CDS view.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of ‘Projections’ in the ABAP RAP?

A

To create subsets of data for specific use cases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In a RESTful Application Programming application, in which objects do you bind a CDS view to create a value help?

A
  • Data model view
  • Projection View
  • Metadata Extension
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does the ‘ABAP Managed Database Procedure Proxy’ (AMDP Proxy) facilitate database programming?

A

By allowing ABAP programs to call database procedures as if they were ABAP methods.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the significance of using Path Expressions in ABAP CDS Views?

A

To navigate relationships between associated views.

17
Q

What is the advantage of using Core Data Services (CDS) views in ABAP for HANA?

A

They enable complex calculations and logic to be executed in the database

18
Q

What is the main goal of the ABAP RESTful Application Programming Model (RAP)?

A

To enable the creation of RESTful services in ABAP.

19
Q

In ABAP CDS, what does the annotation ‘@ClientDependent’ indicate?

A

The view will include client field in the result set.

20
Q

What is the key principle behind SAP’s ‘Clean Core’ philosophy in S/4HANA Cloud?

A

To keep the core system free of modifications and custom code.

21
Q

What is the role of ‘Hierarchical CDS Views’ in ABAP for SAP HANA?

A

To create views that represent hierarchical data structures.

22
Q

Which of the following ON conditions must you insert in place of “???”?

A

ON Sprojection.carrier_id=Z_Source2.carrier_id

23
Q

Which of the following are features of Core Data Services?

A
  • Structured Query Language (SQL)
  • Associations
  • Annotations
24
Q

In the context of ABAP on HANA, what is the advantage of using Advanced View Building techniques in CDS?

A

To build sophisticated data models leveraging database capabilities

25
Q

What is the main advantage of using AMDPs over classical ABAP database procedures?

A

AMDPs allow the use of native SQL for database-specific operations.

26
Q

In ABAP RAP, how are ‘Drafts’ used in application development?

A

To temporarily store uncommitted changes.

27
Q

In ABAP CDS, what is the role of an Association?

A

To link CDS views for data retrieval.

28
Q

What is the advantage of using Input Parameters in ABAP CDS Views?

A

To allow dynamic filtering of data at runtime.

29
Q

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.

A

Structure

30
Q

How does the ‘AMDP (ABAP Managed Database Procedures)’ framework benefit ABAP developers?

A

By allowing the use of native SQL and database-specific features

31
Q

What RESTful Application Programming feature is used to ensure the uniqueness of a semantic key?

A

Determination

32
Q

How do CDS Table Functions enhance the capabilities of ABAP CDS Views?

A

By allowing direct SQL scripting within CDS views