C_ABAPD_2507 SAP Certified Associate - Back-End Developer - ABAP Cloud Questions and Answers
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)
Which statement can you use to change the contents of a row of data in an internal table?
Which of the following integration frameworks have been released for ABAP Cloud development? (Select 3)
Which of the following are valid ABAP SQL type conversions? (Select 3 correct answers)
You have two database tables - ZDEPARTMENTS and ZEMPLOYEES. They are linked by a foreign key relationship: ZEMPLOYEES is the foreign key table and ZDEPARTMENTS is the check table. A department may have any number of employees (including none at all).
What is the correct cardinality of the foreign key relationship?
Setting a field to read-only in which object would make the field read-only in all applications of the RAP model?
Given the following ABAP SQL statement excerpt from an ABAP program:
SELECT SINGLE *
FROM spfli
WHERE carrid = 'LH' AND connid = '0400'
INTO @DATA(wa).
You are given the following information:
The data source spfli on line #2 is an SAP HANA database table.
spfli will be a large table with over one million rows.
This program is the only one in the system that accesses the table.
This program will run rarely.
Based on this information, which of the following general settings should you set for the spfli database table?
Note: There are 2 correct answers to this question.
You want to extract date information of a flight date (f_info) and format it like yyyy-dd-mm using the following code:
SELECT FROM TABLE dbtab1
FIELDS f1,
extract_year( f_info ) && '-' && extract_month( f_info ) && '-' && extract_day( f_info ) ...
For the extract_* functions to work, what can be the data dictionary types of f_info?
Note: There are 3 correct answers to this question.
You select a field flight_date with type DATS in the field list of a CDS view.
Which of the following expressions returns the 2-digit month from the field?
(Select 2 correct answers)
When you create an exception class, what does SAP recommend you do?
(Select 3 correct answers)
You want to define the following CDS view entity with an input parameter:
define view entity Z_CONVERT
with parameters i_currency : ???
Which of the following can you use to replace ????
(Select 2 correct answers)
In CDS views, what do joins and associations have in common?
(Select 2 correct answers)
Which of the following ABAP SQL aggregate functions accept an ABAP SQL expression (e.g., f1 + f2) as input?
(Select 2 correct answers)
Given the following Core Data Service View Entity Data Definition:
@AccessControl.authorizationCheck: #NOT_REQUIRED
DEFINE VIEW ENTITY demo_flight_info_union AS
SELECT FROM scustom {
KEY id,
KEY 'Customer' AS partner,
name,
city,
country
}
UNION
SELECT FROM stravelag {
KEY agencynum AS id,
'Agency' AS partner,
name,
city,
country
}
When you attempt to activate the definition, what will be the response?