What are some features of the current ABAP programming language? (Select 2)
ABAP for Cloud Development emphasizes expression-oriented, typed programming with strong static checks (e.g., constructor/operators, REDUCE, COND, etc.), which is the modern ABAP style used in RAP.
ABAP integrates built-in database access tightly via CDS and Open SQL; CDS entities are the building blocks and govern data access that the runtime executes via the SQL view.
(A) is false (ABAP is statically typed). (B) is false (ABAP keywords are not case-sensitive).
Which of the following Core Data Services built-in functions returns a result of type INT4?
(Select 2 correct answers)
dats_add_days Returns the number of days added/subtracted to a given date INT4.
dats_days_between Returns the number of days between two dates INT4.
dats_add_months Returns a DATE, not INT4.
dats_is_valid Returns a BOOLEAN (flag), not INT4.
In CDS, these date functions are used for calculations in queries, supporting business logic pushdown.
Verified Study Guide Reference: ABAP CDS Functions Reference -- Date and Time Functions.
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)
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.
After you created a database table in the RESTful Application Programming model, what do you create next?
In the ABAP RESTful Application Programming Model (RAP), development follows a bottom-up approach. The sequence starts with the database table (persistence), followed by creating a data model view (interface view), and then a projection view.
The projection view is the next artifact after the database table because it exposes only the fields needed for the app, aligning with the encapsulation principle of RAP. This ensures that only the required subset of the underlying data model is made available.
Verified Study Guide Reference: ABAP RAP Development Guide -- Data Modeling and Projection Views.
You want to check the behavior of an ordinary class ZCL_ORDINARY with class LTCL_TEST. How do you specify LTCL_TEST as a test class?
ABAP Unit test classes are declared with the addition FOR TESTING in the class definition. RAP test guides also show the same ABAP Unit pattern for local test classes:
CLASS ltcl_sc_r_agency DEFINITION FINAL FOR TESTING
DURATION SHORT
RISK LEVEL HARMLESS.
This is the canonical way to mark an ABAP class as a test class.
Gerald Torres
1 month agoBetty Gonzalez
2 months agoSandra Parker
2 months agoRobert Adams
3 months agoMichael Perez
3 months agoSharon Scott
4 months agoAnthony Davis
4 months agoThomas Parker
5 months agoGerald Williams
5 months agoGeorge Scott
6 months agoPaul Roberts
6 months agoAmanda Garcia
6 months agoNathan Smith
6 months agoKimberly Scott
6 months agoAnthony Thompson
5 months agoHeather Morris
5 months agoRossana
9 months agoErick
9 months agoFairy
10 months agoLyda
10 months agoMona
10 months agoTyisha
10 months agoTamar
11 months agoNida
11 months agoTambra
11 months agoCherilyn
11 months agoLorean
12 months agoAnnamae
1 year agoAnnett
1 year agoMauricio
1 year agoStevie
1 year agoHorace
1 year agoMerlyn
1 year agoHelga
1 year agoCaitlin
1 year agoJanessa
1 year agoMaile
1 year ago