Q1. In a test method you call method cl_abap_unit_assert=>assert_equals( .. ) in the following way: CLASS Itcl1 DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT. PRIVATE SECTION. METHODS m1 FOR TESTING. ENDCLASS. CLASS Itcl1 IMPLEMENTATION. METHOD m1. DATA: go_test_object TYPE REF TO zcl_to_be_tested. CONSTANTS: Ico_exp TYPE string VALUE 'test2'. CREATE OBJECT go_test_object. cl_abap_unit_assert=>assert_equals( EXPORTING act = go_class->mv_attribute exp = lco_exp msg = 'assert equals failed ' && go_test_object->mv_attribute && ' ' && lco_exp ENDMETHOD. ENDCLASS. What will happen if method parameters act and exp are not equal?
A.The tested unit will automatically be appended to a default ABAP Test Cockpit Variant.
B. The tested unit cannot be transported.
C. The test will be aborted.
D. There will be a message in the test log.
Correct Answer: D
Q2. Which of the following are ABAP Cloud Development Model rules? Note: There are 2 correct answers to this question.
A.Use public SAP APIs and SAP extension points.
B. Build ABAP RESTful application programming model-based services.
C. Reverse modifications when a suitable public SAP API becomes available.
D. Build ABAP reports with either ABAP List Viewer (ALV) or SAP Fiori.
Correct Answer: A, C
Q3. Given the following Core Data Service View Entity Data Definition: 1 @AccessControl.authorizationCheck: #NOT_REQUIRED 2 DEFINE VIEW ENTITY demo_flight_info_join 3 AS SELECT 4 FROM scarr AS a 5 LEFT OUTER JOIN scounter AS c 6 LEFT OUTER JOIN sairport AS p 7 ON p.id = c.airport 8 ON a.carrid = c.carrid 9 { 10 a.carrid AS carrier_id, 11 p.id AS airport_id, 12 c.countnum AS counter_number 13 } In what order will the join statements be executed?
A.scarr will be joined with scounter first and the result will be joined with sairport.
B. sairport will be joined to scounter first and the result will be joined with scarr.
C. scarr will be joined with sairport first and the result will be joined with scounter.
D. scounter will be joined to sairport first and the result will be joined with scarr.
Correct Answer: A
Q4. For the assignment, gv_target = gv_source. which of the following data declarations will always work without truncation or rounding? Note: There are 2 correct answers to this question.
A.DATA gv_source TYPE string, to DATA gv_target TYPE c.
B. DATA gv_source TYPE c. to DATA gv_target TYPE string.
C. DATA gv_source TYPE d. to DATA gv_target TYPE string.
D. DATA gv_source TYPE p LENGTH 8 DECIMALS 3. to DATA gv_target TYPE p LENGTH 16 DECIMALS 2.
Correct Answer: B, C
$ 39
Reviews
There are no reviews yet.