EMT Practice Test

1. Question Content...


Question List

Question1: 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.

Question2: In an Access Control Object, which clauses are used? Note: There are 3 correct answers to this question.

Question3: When does SAP recommend to use a sorted or a hashed table respectively? Note: There are 2 correct answers to this question.

Question4: Refer to the Exhibit.

What are valid statements? Note: There are 3 correct answers to this question

Question5: In RESTful Application Programming, which EML statement retrieves an object?

Question6: Which patterns raise an exception? Note: There are 3 correct answers to this question.

Question7: What are some features of a unique secondary key? Note: There are 2 correct answers to this question.

Question8: In RESTful Application Programming, a business object contains which parts? Note: There are 2 correct answers to this question.

Question9: 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.

Question10: Why would you use Access Controls with CDS Views? Note: There are 2 correct answers to this question.

Question11: Exhibit:

With Icl_super being superclass for Icl_subl and Icl_sub2 and with methods subl_methl and sub2_methl being subclass-specific methods of Id_subl or Icl_sub2, respectivel. What will happen when executing these casts? Note:
There are 2 correct answers to this question

Question12: Which field is defined incorrectly?

Question13: What are some of the reasons that Core Data Services are preferable to the classical approach to data modeling? Note: There are 2 correct answers to this question.

Question14: Which of the following ABAP SQL statements are valid? Note: There are 2 correct answers to this question.

Question15: Exhibit:

What are valid statements? Note: There are 3 correct answers to this question.

Question16: Refer to the Exhibit.
Image:

In the following ABAP SQL code, what are valid case distinctions? Note: There are 2 correct answers to this question.

Question17: Which of the following is a generic internal table type?

Question18: Which of the following string functions are predicate functions? Note: There are 2 correct answers to this question.

Question19: When processing a loop with the statement DO... ENDDO, what system variable contains the implicit loop counter?

Question20: Class super has subclass sub. Which rules are valid for the sub constructor? Note: There are 2 correct answers to this question.

Question21: After you created a database table in the RESTful Application Programming model, what do you create next?

Question22: Which of the following integration frameworks have been released for ABAP cloud development? Note: There are 3 correct answers to this question.

Question23: Which extensibility type does SAP recommend you use to enhance the existing UI for an SAP Fiori app?

Question24: Which of the following are ABAP Cloud Development Model rules?
Note: There are 2 correct answers to this question.

Question25: What would be the correct expression to change a given string value 'mr joe doe' into 'JOE' in an ABAP SQL field list?

Question26: 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?

Question27: What is the purpose of a foreign key relationship between two tables in the ABAP Dictionary?

Question28: Which RESTful Application Programming object can be used to organize the display of fields in an app?

Question29: Setting a field to read-only in which object would make the field read-only in all applications of the RESTful Application Programming model?

Question30: What are the effects of this annotation? Note: There are 2 correct answers to this question.

Question31: 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.

Question32: Which internal table type allows unique and non-unique keys?

Question33: What are some properties of database tables? Note: There are 2 correct answers to this question.

Question34: /DMO/I_Connection is a CDS view.
What variable type is connection full based on the following code? DATA connection full TYPE
/DMD/I_Connection.