C_ABAP_D_2309_PART2
![]() |
![]() |
![]() |
Title of test:![]() C_ABAP_D_2309_PART2 Description: Back end developer ABAP |




New Comment |
---|
NO RECORDS |
Why would you use Access Controls with CDS Views? Note: There are 2 correct answers to this question. The system field sy-subrc is set, giving you the result of the authorization check. All of the data from the data sources is loaded into your application automatically and filtered there according to the user's authorization. You do not have to remember to implement AUTHORITY CHECK statements. Only the data corresponding to the user's authorization is transferred from the database to the application layer. Which of the following are features of Core Data Services? Note: There are 3 correct answers to this question. Associations. Inheritance. Annotations. Delegation. Structured Query Language (SQL). Which patterns raise an exception? Note: There are 3 correct answers to this question. DATA: gv_target TYPE d. CONSTANTS: gco_date TYPE d VALUE '20331233'. gv_target EXACT ( geo_date). DATA: gv_target TYPE c LENGTH 5. CONSTANTS: ECO string TYPE string VALUE 0123456789ABCDEF". gv_target - EXACT (gco_string+5 (6) ). DATA: Ev target TYPE p DECIMALS 3. CONSTANTS: gco_int1 TYPE i VALUE 2. Ev_target - EXACT #2 / gco_int1 ). DATA: gv_target TYPE string. CONSTANTS: gco_string TYPE LENGTH 16 VALUE 0123456789ABCDEF*. gv_target = EXACT # gco_string+5 (5) ). DATA: gv_target TYPE p DECIMALS 2. CONSTANTS: go int1 TYPE i VALUE 3. gv_target - EXACT (2 gco_int1). In ABAP SQL, which of the following can be assigned an alias? Note: There are 2 correct answers to this question. field (from field list). order criterion (from order by clause). group criterion (from group by clause). database table. Which internal table type allows unique and non-unique keys?. Hashed. Standard. Sorted. In ABAP SQL, which of the following retrieves the association field_Airline-Name of a CDS view?. \_Airline-Name. “_Airline Name. /_Airline Name. @_Airline-Name. Given the following code in an SAP S/4HANA Cloud private edition tenant: The class zcl_demo_class is in a software component with the language version set to "Standard ABAP". The function module "ZF1' is in a software component with the language version set to "ABAP Cloud". Both the class and function module are customer created. Regarding line #6, which of the following is a valid statement?. ZF1' can be called via a wrapper that itself has been released for cloud development. ZF1' must be released for cloud development to be called. ZF1' can be called via a wrapper that itself has not been released for cloud development. ZF1' can be called whether it has been released or not for cloud development. Which of the following ABAP SQL statements are valid? Note: There are 2 correct answers to this question. SELECT FROM /dmo/connection FIELDS MAX(distance) AS dist_max MIN(distance) AS dist_min INTO TABLE @DATA(It_hits). SELECT FROM /dmo/connection FIELDS carrid, airpfrom GROUP BY carrid, connid INTO TABLE @DATA(It_hits). SELECT FROM /dmo/connection FIELDS carrid airpfrom, MAX(distance) AS dist_max, MIN( distance) AS dist_min GROUP BY carrid, airpfrom INTO TABLE @DATA(It_hits). SELECT FROM /dmo/connection FIELDS carrid, airpfrom, MAX( distance) AS dist_max, MIN(distance) AS dist_min INTO TABLE @DATA(It_hits). Given this code, What are valid statements? Note: There are 3 correct answers to this question. Instead of go_cl1 = NEW #() you could use go_iff - NEW #(...). go_if1 may call method m2 with go if->m2(...). Instead of go cl1 = NEW #(...) you could use go if1 = NEW cl1( ... ). go_if1 may call method m1 with go_ift->m1(). go_cl1 may call method m1 with go_d1->if1-m1(). Which of the following integration frameworks have been released for ABAP cloud development? Note: There are 3 correct answers to this question. OData services. Business events. SOAP consumption. Business Add-ins (BAdls). CDS Views. Which of the following are incomplete ABAP types? Note: There are 2 correct answers to this question. P. String. C. T. In a RESTful Application Programming application, in which objects do you bind a CDS view to create a value help? Note: There are 3 correct answers to this question. Data model view. Service definition. Behavior definition. Projection view. Metadata extension. Which of the following are parts of the definition of a new database table? Note: There are 2 correct answers to this question. Field list. Extension. Semantic table attributes. Partitioning attribues. What is the sequence priority when evaluating a logical expression? A. NOT 1 B. OR 3 C. AND 2. 1 . Not 1 2. AND 2 3. OR 3. 1 . Not 1 2. AND 2 3. OR 3. Given this code, with which predicate condition can you ensure that the CAST will work?. IS BOUND. IS INSTANCE OF. IS NOT INITIA. IS SUPPLIED. You are designing the following select statement in ABAP Open SQL: To adhere to the most recent ABAP SQL syntax conventions from SAP, on which line must you insert the "INTO TABLE @gt flights" clause to complete the SQL statement?. #15. #6. #8. #4. In an Access Control Object, which clauses are used? Note: There are 3 correct answers to this question. Where (to specify the access conditions). Return code (to assign the retum code of the authority check). Define role (to specify the role name). Revoke (to remove access to the data source). Crant (to identify the data source). Which statement can you use to change the contents of a row of data in an internal table?. Append table. Insert table. Update table. Modify table. Which of the following are valid sort operations for internal tables? Note: There are 3 correct answers to this question. Sort a sorted table using SORT itab DESCENDING. Sort a sorted table using SORT itab BY field1 ASCENDING field2 DESCENDING. Sort a standard table using SORT itab ASCENDING. Sort a standard table using SORT itab BY field1 field2. Sort a standard table using SORT itab. In a program you find this source code AUTHORITY-CHECK OBJECT '/DWO/TRVL ‘ ID 'CNTRY' FIELD 'DE' ID ACTVT FIELD '03". Which of the following apply? Note: There are 2 correct answers to this question. AUTHORITY CHECK verifies whether a user is authorized for /DMO/TRVL" with the listed field values. If the user is authorized for 'CNTRY = 'DE' AND for 'ACTVT = '03 then the return code is 0. If the user is NOT authorized for 'CNTRY' = 'DE' OR for 'ACTVT' = '03 then the program will terminate. If the user is authorized for 'CNTRY = 'DE' then the return code is always 0. In a subclass sub1 you want to redefine a component of a superclass super1. How do you achieve this? Note: There are 2 correct answers to this question. You add the clause REDEFINITION to the component in sub1. You implement the redefined component in sub1. You implement the redefined component for a second time in super1. You add the clause REDEFINITION to the component in super1. Match the sequence of execution in the dropdown list to the operation. (1 is the highest priority and 3 is the lowest priority.) A. Addition (+) and Subtraction (-)Choose an item. B. Numeric functions Choose an item. C. Multiplication (") and Division (/)Choose an item. B is 1 C is 2 A is 3. a. You want to define the following CDS view entity with an input parameter: Define view entity Z_CONVERT With parameters currency : ??? Which of the following can you use to replace "???? Note: There are 2 correct answers to this question. A built-in ABAP Dictionary type. A data element. A built-in ABAP type. A component of an ABAP Dictionary structure. Which of the following results in faster access to internal tables? Note: There are 3 correct answers to this question. In a sorted internal table, specifying the primary key partially from the left without gaps. In a hashed internal table, specifying the primary key completely. In a sorted internal table, specifying the primary key completely. In a standard internal table, specifying the primary key partially from the left without gaps. In a hashed internal table, specifying the primary key partially from the left without gaps. What are some features of a unique secondary key? Note: There are 2 correct answers to this question. It is created with the first read access of a table. It is created when a table is filled. It is updated when the table is modified. It is updated when the modified table is read again. Setting a field to read-only in which object would make the field read-only in all applications of the RESTful Application Programming model?. Service definition. Metadata extension. Behaviour definition. Projection view. Given this code, With Icl_super being superclass for Icl_sub1 and Icl_sub2 and with methods sub1_meth1 and sub2_meth1 being subclass-specific methods of Id_sub1 or Icl_sub2, respectively What will happen when executing these casts? Note: There are 2 correct answers to this question. go_sub1->sub1_meth 1(…). will work. go sub2->sub2 meth 1(...). will work. go sub1 = CAST # go super), will not work go_sub2 = CAST # go super), will work.. go_sub1 CAST #go_super), will work go_sub2 = CAST #(go_super). will not work.. Given this code, What are valid statements? Note: There are 3 correct answers to this question. In class CL2, the interface method is named if1-m1. Class CL2 uses the interface. In class CL1, the interface method is named if-m1. Class CL1 uses the interface. Class CL1 implements the interface. In the assignment. data (gv_result) = 1 / 8. what will be the data type of gv_result?. TYPE I. TYPE P DECIMALS 2. TYPE DEFLOAT 16. TYPE P DECIMALS 3. You have attached a system field to an input parameter of a CDS view entity as follows: What are the effects of this annotation? Note: There are 2 correct answers to this question. It is no longer possible to pass your own value to the parameter. You can still override the default value with a value of your own. The value of sy-langu will be passed to the CDS view automatically when you use the CDS view in ABAP but not when you use it in another view entity. The value of sy-langu will be passed to the CDS view automatically both when you use the CDS view in ABAP and in another CDS view entity (view on view). Given the following code in an SAP S/4HANA Cloud private edition tenant: The class zcl_demo_class is in a software component with the language version set to "ABAP Cloud". The function module ZF1' is in a different software component with the language version set to "Standard ABAP". Both the class and function module are customer created. Regarding line #6, which of the following are valid statements? Note: There are 2 correct answers to this question. ZF1' can be called only if it is released for cloud development. 'ZF1' can be called if a wrapper is created for it and the wrapper itself is released for cloud development. "ZF1" can be called whether it is released or not for cloud development. ZF1" can be called if a wrapper is created for it but the wrapper itself is not released for cloud development. When accessing the subclass instance through go_super, what can you do? Note: There are 2 correct answers to this question. Access the inherited private components. Access the inherited public components. Call a subclass specific public method. Call inherited public redefined methods. Which RESTful Application Programming object can be used to organize the display of fields in an app?. Data model view. Metadata extension. Service definition. Projection view. Which function call returns 0?. Count_any_of ( val - ‘ABAP ABAP abap' sub "AB" ). Count (val - 'ABAP ABAP abap' sub - 'AB' ). find_any_of (val = "ABAP ABAP abap' sub = "AB"). find_any_not_of( val 'ABAP ABAP abap’ sub = 'AB'). In which products must you use the ABAP Cloud Development Model? Note: There are 2 correct answers to this question. SAP S/4HANA Cloud, private edition. SAP BTP, ABAP environment. SAP S/4HANA on premise. SAP S/4HANA Cloud, public edition. |