Free SAP C_ABAPD_2507 Exam Questions (page: 9)

Given the following data definitions:

DATA: text TYPE string VALUE 'Date 1972-04-01 is in ISO format'.

DATA: regex TYPE string VALUE '[0-9]{4}(-[0-9]{2})(2}'.

In which of the following functions can you use regular expressions?

(Select 3 correct answers)

  1. reverse( val = text pcre = regex )
  2. match( val = text pcre = regex )
  3. condense( val = text pcre = regex )
  4. matches( val = text pcre = regex )
  5. find( val = text pcre = regex )

Answer(s): B,D,E

Explanation:

In ABAP Cloud, string functions that support regular expressions (PCRE) include:

match( ) returns the first substring matching the regex.

matches( ) checks if the whole string matches the regex.

find( ) finds a substring based on regex pattern.

Functions such as reverse( ) and condense( ) do not support regex patterns; they are purely string manipulation utilities.

Verified Study Guide


Reference:

ABAP Keyword Documentation ­ String Functions with Regular Expressions.



Which of the following custom code use cases falls under Tier 1 extensibility guidelines?

  1. Implement a user or customer exit, for example SAPMV45
  2. Create a custom field on a DB table or CDS view via a released extension include.
  3. Apply an SAP note with manual corrections, for example a DDIC object from SAP Basis.
  4. Create a wrapper class around SAP objects that have not been released yet.

Answer(s): B

Explanation:

Tier 1 extensibility in ABAP Cloud corresponds to the safe and upgrade-stable extension layer.

Adding custom fields to released DB tables or CDS views via released extension includes is fully supported.

Using classic user exits (A), manual note corrections (C), or wrappers for unreleased APIs (D) belong to Tier 2 or Tier 3, and are not part of Tier 1 safe extensibility.

This guarantees that custom code in Tier 1 is cloud-ready, upgrade-stable, and based only on released extension points and APIs.

Verified Study Guide


Reference:

ABAP Cloud Extensibility Model ­ Three-Tier Extensibility Rules.



How can you control data access of a business user?

(Select 3 correct answers)

  1. To control the general access implicitly via an Access Control object (define role).
  2. To control the "Create, Update, and Delete access" via explicit check using AUTHORITY-CHECK.
  3. To control the "Create, Update, and Delete access" implicitly via an Access Control object (define role).
  4. To control the "Read access" implicitly via an Access Control object (define role).
  5. To control the "Read access" via explicit check using AUTHORITY-CHECK.

Answer(s): B,C,D

Explanation:

In ABAP Cloud / RAP, authorization control follows a structured approach:

Read access can be controlled implicitly via an Access Control object (D).

Create, Update, Delete access can be controlled both:

Explicitly with AUTHORITY-CHECK (B),

Or implicitly through Access Control object definitions (C).

General implicit control via Access Control (A) or explicit checks for Read (E) are not correct because the system differentiates access levels precisely.

This ensures that business users can only access the data they are authorized for, following RAP's security-by-default principle.

Verified Study Guide


Reference:

RAP Security & Access Control Documentation ­ Authorization in RAP BOs.



Which of the following is a technique for defining access controls?

  1. Inheritance
  2. Redefinition
  3. Singleton
  4. Casting

Answer(s): A

Explanation:

In ABAP CDS access controls, the technique used is inheritance, which allows one access control object to reuse rules defined in another.

This makes authorization definitions consistent, reusable, and maintainable, which is essential in RAP applications where business objects require layered and reusable authorization concepts.

Options such as Redefinition, Singleton, or Casting belong to OO concepts, not to access control in CDS.

Verified Study Guide


Reference:

ABAP Cloud Documentation ­ Defining Access Controls in CDS and RAP BOs.



In CDS views, what do joins and associations have in common?

(Select 2 correct answers)

  1. An alias can be assigned to the data sources and to the fields in the field list.
  2. They can expose an entire data source without listing individual fields.
  3. The data sources are linked using an ON clause.
  4. The field list can include fields of the linked table without specifying the name of the corresponding data source.

Answer(s): A,C

Explanation:

In CDS views:

A . Aliases Allowed for data sources and their fields, both in joins and associations.

C . ON clause Both joins and associations use ON conditions to link data sources.

B . Expose entire data source without fields Incorrect; explicit field selection is required.

D . Field list without data source prefix Incorrect; unless aliased, fields must be qualified.

Thus, the overlap between joins and associations lies in aliasing and ON clause usage.

Verified Study Guide


Reference:

ABAP CDS Development Guide ­ Joins vs Associations.



Viewing page 9 of 17
Viewing questions 41 - 45 out of 85 questions



Post your Comments and Discuss SAP C_ABAPD_2507 exam prep with other Community members:

C_ABAPD_2507 Exam Discussions & Posts