You want to define the following CDS view entity with an input parameter:define view entity Z_CONVERTwith parameters i_currency : ???Which of the following can you use to replace ????(Select 2 correct answers)
Answer(s): A,D
CDS view parameters must be defined with types that are visible in the ABAP Dictionary.A . Built-in ABAP Dictionary type Supported (e.g., CURR, CHAR).D . Data element Supported, as data elements are dictionary-level types.B . Built-in ABAP type (like i, string) Not supported directly, CDS requires dictionary-compatible types.C . Component of a structure Not supported directly; parameters cannot reference structure components.This ensures that CDS definitions remain database-compatible and semantically rich, which is critical for RAP services.Verified Study Guide
ABAP CDS Development Guide Defining View Parameters.
Which internal table type allows unique and non-unique keys?
Answer(s): B
Sorted tables can be declared with unique keys (ensuring no duplicates) or with non-unique keys (allowing duplicates).Hashed tables only allow unique keys.Standard tables allow non-unique keys only.Thus, sorted internal tables are the only type that can be configured with both unique and non- unique keys.Verified Study Guide
ABAP Dictionary and ABAP Cloud Programming Guide Internal Table Types.
Constructors have which of the following properties?(Select 2 correct answers)
Answer(s): A,B
A . Automatic execution A constructor (CONSTRUCTOR) is automatically invoked when an instance of a class is created.B . Importing parameters Constructors can have importing parameters to initialize the object with values.C . First method called by client Not correct, because constructors are called by the system, not the client explicitly.D . Returning parameters Constructors cannot return values; they only set up the object.This behavior is consistent across ABAP Cloud OOP classes, ensuring encapsulated initialization logic.Verified Study Guide
ABAP Objects Guide Class Constructors and Instance Constructors.
Which of the following Core Data Services built-in functions returns a result of type INT4?(Select 2 correct answers)
Answer(s): C,D
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
ABAP CDS Functions Reference Date and Time Functions.
You have a superclass super1 and a subclass sub1 of super1. Each class has an instance constructor and a static constructor. The first statement of your program creates an instance of sub1.In which sequence will the constructors be executed?
Execution order when creating an instance of a subclass:Class constructor of the superclass (super1) executes first.Class constructor of the subclass (sub1) executes second.Then the instance constructor of the superclass (super1) executes.Finally, the instance constructor of the subclass (sub1) executes.This sequence guarantees that both the static (class-level) and instance-level initializations of the superclass are complete before the subclass is constructed.Verified Study Guide
ABAP Objects Programming Guide Class and Instance Constructor Execution Order.
Post your Comments and Discuss SAP C_ABAPD_2507 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the C_ABAPD_2507 content, but please register or login to continue.