Which of the following results in faster access to internal tables? (Select 3 correct answers)
Answer(s): A,C,E
Sorted tables:Full key lookup uses a binary search efficient (A).Left-aligned partial key lookup also benefits from sort order to find ranges efficiently (C).Hashed tables:Require the complete key for O(1) access; partial key is not supported. Hence (E) is correct and (D) is not.Standard tables:Have no inherent ordering/index for key-based access; specifying a key (even partially) results in linear search unless you maintain sort and specify BINARY SEARCH explicitly, which still doesn't change the fundamental case in this question; thus (B) is not considered a faster pattern here.Study Guide
ABAP Cloud Programming--Internal Tables (standard/sorted/hashed) performance characteristics.
You have the following CDS definition (aliases shown):define view entity Z_ENTITYas select from Z_SOURCE1 as _Source1association to Z_SOURCE2 as Source2 on ???{key carrier_id as Carrier,key connection_id as Connection,cityfrom as DepartureCity,cityto as ArrivalCity,Source2}(The data sources are joined by the field carrier_id. The corresponding field in Z_SOURCE2 is also carrier_id.)Which ON condition must you insert?
Answer(s): D
In a CDS view entity defined AS SELECT FROM, the association ON condition must use the source aliases defined in the FROM clause.$projection is used in projection views (AS PROJECTION ON ...), not in a basic select view entity. Therefore, options using $projection (B, C) are invalid here.Using global names (Z_SOURCE1, Z_SOURCE2) in the ON (A) ignores the declared aliases and is not the recommended/valid form within the view definition.The correct ON clause uses the aliases _Source1 and Source2 with the matching key fields:ON _Source1.carrier_id = Source2.carrier_id (D).This aligns with CDS modeling rules in RAP: use aliases consistently and model associations with precise ON conditions based on keys.Study Guide
ABAP CDS Development--Associations & ON conditions; RAP Data Modeling.
Given the following Core Data Service View Entity Data Definition:@AccessControl.authorizationCheck: #NOT_REQUIREDDEFINE VIEW ENTITY demo_flight_info_union ASSELECT FROM scustom {KEY id,KEY 'Customer' AS partner,name,city,country}UNIONSELECT FROM stravelag {KEY agencynum AS id,'Agency' AS partner,name,city,country}When you attempt to activate the definition, what will be the response?
In CDS UNION, field names and positions must match exactly across all SELECT statements.In this case, the first SELECT uses id, while the second uses agencynum AS id, which is fine. However, the literal 'Customer' AS partner and 'Agency' AS partner create inconsistencies.SAP CDS guidelines specify that for a UNION, field names must be identical and aligned in order; mismatches cause an activation error.Study Guide
ABAP CDS Development User Guide Union Compatibility Rules.
Which statements apply to the TRY-ENDTRY construct? (Select 3 correct answers)
Answer(s): A,D,E
A . Valid: A CATCH block can list multiple exception classes separated by |.B . Wrong: CLEANUP is not a catch mechanism; it executes after try/catch, regardless of exception, but does not handle exceptions.C . Wrong: Only the first matching CATCH executes, not all.D . Valid: A superclass exception handler can catch its subclasses.E . Valid: Best practice is to order CATCH blocks from most specific most general.Study Guide
ABAP Keyword Documentation TRY ... CATCH ... CLEANUP.
What RAP object contains only the fields required for a particular app?
Answer(s): A
In RAP, the Projection View is designed to expose only the fields relevant for a specific app, keeping the UI lean and controlled.Metadata extension adds UI-related metadata, not fields.Database view technical representation, not app-specific.Data model view defines the data structure, not app-specific projection.Verified by RAP documentation: Projection views are application-specific representations of the underlying data model.Study Guide
SAP RAP Help Business Object Projection Layer.
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.