Free C_ABAPD_2507 Exam Braindumps
SAP Certified Associate - Back-End Developer - ABAP Cloud Questions 31–35 (page: 8)

Updated On: 10-Feb-2026

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)

  1. substring( flight_date, 5, 2 )
  2. right( left( flight_date, 6 ), 2 )
  3. left( right( flight_date, 6 ), 2 )
  4. substring( flight_date, 4, 2 )

Answer(s): A,B

Explanation:

A DATS field is stored as YYYYMMDD.

Option A: substring( flight_date, 5, 2 ) Extracts characters 5­6 correct month.

Option B: right( left( flight_date, 6 ), 2 ) Takes first 6 chars YYYYMM, then last 2 correct month.

Option C: Wrong, extracts last 2 chars of MMDD, results in day not month.

Option D: Wrong, starts at 4 gives YM instead of MM.

Study Guide


Reference:

ABAP CDS Development Guide ­ String Functions in CDS.



Which of the following pre-defined ABAP data types is a complete data type?

  1. p
  2. d
  3. c
  4. n

Answer(s): A

Explanation:

p (packed number) is a complete type, as it includes decimal places and precision definition.

d (date), c (character), n (numeric text) are incomplete types; they require length specification.

Study Guide


Reference:

ABAP Keyword Documentation ­ Predefined ABAP Types.



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

  1. Projection view
  2. Behavior definition
  3. Metadata extension
  4. Service definition

Answer(s): B

Explanation:

Behavior Definition (BDEF) is where read-only, mandatory, and transactional rules are enforced across all RAP applications.

Projection view restricts fields per app, not globally.

Metadata extension UI annotations only.

Service definition defines exposure, not behavior.

Therefore, setting field read-only in the behavior definition enforces it globally across all RAP BO usages.

Study Guide


Reference:

RAP Development Guide ­ Behavior Definitions and Field Control.



What can be translated?

(Select 3 correct answers)

  1. Content of a string variable
  2. Data element texts
  3. Text literal
  4. Message class
  5. Text symbol

Answer(s): B,D,E

Explanation:

In ABAP Cloud, translation is supported for:

Data element texts (short, medium, long descriptions).

Message class texts (used in MESSAGE statements).

Text symbols (defined in programs).

Not translatable:

String variables runtime values, no translation.

Text literals hard-coded, not translatable via translation tools.

Study Guide


Reference:

ABAP Documentation ­ Text Elements and Translation in ABAP Cloud.



Which function call produces the string 'LORE_IPSUM_FACTUM'?

  1. from_mixed( val = 'LorelpsumFactum' sep = '_' )
  2. condense( to_upper( 'LorelpsumFactum' ) )
  3. to_upper( condense( 'LorelpsumFactum' ) )
  4. to_mixed( val = 'LorelpsumFactum' sep = '_' )

Answer(s): A

Explanation:

from_mixed converts a mixed-case string into uppercase with a chosen separator between words.

Given input 'LorelpsumFactum', the function splits at uppercase letters, uppercases the parts, and joins them with _.

Output: LORE_IPSUM_FACTUM.

condense only removes extra spaces, to_upper only changes case, and to_mixed does the reverse of from_mixed.

Study Guide


Reference:

ABAP Keyword Documentation ­ String Functions (from_mixed, to_mixed).



Viewing page 8 of 17
Viewing questions 36 - 40 out of 85 questions


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

AI Tutor AI Tutor 👋 I’m here to help!