abap sap 2507 nuevo_01
![]() |
![]() |
![]() |
Título del Test:![]() abap sap 2507 nuevo_01 Descripción: Mutata examen |




Comentarios |
---|
NO HAY REGISTROS |
How can you execute test classes? Note: There are 3 correct answers to this question. Interactively by calling function "Run as a unit test" from within the tested object. As a mass test when releasing a transport request with the ABAP Transport Organizer. Interactively by calling function "Run as a unit test" from within the test class. Interactively during the release of transport request. As a mass test when executing an ABAP Test Cockpit (ATC) check variant. What is a class defined as part of an ABAP program called?. Local class. Global class. Local variable. Global variable. Which function call produces the string 'LORE IPSUM FACTUM'?. to_upper( condense( 'Lore IpsumFactum' ) ). from_mixed( val = 'LoreIpsumFactum' sep=. to mixed(val = 'Lore IpsumFactum' sep=. condense to_upper('LoreIpsumFactum' ) ). Given this code, DATA(structure_variable) REDUCE structure_type ( INIT h_structure_variable TYPE structur e_type FOR row IN source_itab NEXT Answer: A h_structure_variable-f1 += row-f1 h_structure_variable-f2+= row-f2 which of the following statements are correct? Note: There are 2 correct answers to this question. Components of h_structuree_variable will be copied to same-named components of structure_variable. row is a predefined name and cannot be changed. The REDUCE expression creates a loop over source_itab. This REDUCE expression may produce a result of multiple rows. Which statement creates a reference variable for class CL_VEHICLE?. TYPES lo_vehicle TYPE cl_veehicle. DATA lo_vehicle TYPE REF TO cl vehicle. DATA lo_vehicle LIKE REF cll_vehicle. DATA lo_vehicle TYPE REF OF cl_vehicle. Given the following code, DATA gv_text1 TYPE string. "#EC_NEEDED DATA gv_text2 TYPE string ##NEEDED. What are valid statements? Note: There are 2 correct answers to this question. #EC_NEEDED is not checke d by the syntax checker. ##NEEDED is checked by the syntax checker. The pseudo-comment is checked by the syntax checker. The pragma is not checked by the syntax checker. What are some principles of encapsulation? Note: There are 2 correct answers to this question. Attributes can be changed by the client program directly. Attributes cannot be changed. Attributes can be changed through public class methods. Attributes can only be changed by the class. Which statement can you use to change the contents of a row of data in an internal table?. INSERT. MODIFY. APPEND. UPDATE. In a booking record, how can you calculate the difference in days between the order date (type D) and the flight date (type D) of a flight?. data(gv_diff_days) = conv d( gs_booking-order_dategs_booking-flight_date). data(gv_diff_days) = gs_booking-flight_dategs_booking-order_date. data(gv_diff_days) conv d( gs_booking-flight_dategs_booking-order_date). data(gv_diff_days) = gs_booking-order_date - gs_booking-flight_date. While debugging an ABAP program, you want the program to stop whenever the value of a variable change. Which of the following do you use?. Exception. Breakpoint Watchpoint. Conditional breakpoint. What are some features of the current ABAP programming language? Note: There are 2 correct answers to this question. A data object's type can change at runtime. Keywords are case-sensitive. It has built-in database access. The code is expression-based. Which of the following pre-defined ABAP data types is a complete data type?. N. C. P. D. Constructors have which of the following properties? Note: There are 2 correct answers to this question. The constructor is automatically called during instantiation. The constructor can have importing parameters. The constructor must be the first method called by the client. The constructor can have returning parameters. Which function call returns 0?. find(val'FIND Found found' sub 'F' occ = -2 CASE = abap_true ). find(val 'find FOUND Foundd' sub 'F' occ = -2 CASE = abap_false ). find(val 'FIND FOUND FOUNND' sub = 'F' ). find(val 'find Found FOUNDD' sub 'F' occ-2 -2). Given the following ABAP code, which exception will be raised on execution?. cx_sy_conversion_no_number. cx_sy_zerodivide. cx_sy_itab_line_not_found. To give authorization to users, in which order are the artifacts being used?. A. The IAM app uses the Business Catalog. • The Business Catalog uses the Business Role. • The Business Role uses the Business User. • The Business User uses the Authorization Object. B. The IAM app uses the Business Role. • The Business Role uses the Authorization Object. • The Authorization Object uses the Business Catalog. • The Business User uses the Authorization Object. C. The IAM app uses the Authorization Object. • The Business Catalog uses the IAM app. • The Business Role uses the Business Catalog. • The Business User uses the Business Role. D. The IAM app uses the Business User. • The Business User uses the Business Catalog. • The Business Catalog uses the Business Role. • The Business Role uses the Authorization Object. ORDERLIST: When you work with a test class you can set up some prerequisites before the actual testing. In which sequence will the following fixtures be called by the test environment? A. teardown() B. class_setup() C. class_teardown() D. setup(). B,D,A,C. A,C,B,D. D,A,C,B. C,A,D,B. How can you control data access of a business user? Note: There are 3 correct answers to this question. To control the general access implicitly via an Access Control object (define role). To control the "Read access" implicitly via an Access Control object (define role). To control the "Create, Update, and Delete access" implicitly via an Access Control object (define role). To control the "Create, Update, and Delete access" via explicit check using AUTTHORITY- CHECK. To control the "Read access" via explicit check using AUTHORITY-CHECK. You want to check the behavior of an ordinary class ZCL_ORDINARY with class LTCL_TEEST. How do you specify LTCL_TEST as a test class?. Use the addition "FOR TESTTING" in the class declaration of LTCL_TEST. Use the addition "FOR TESTTING: LTCL_TEST" in the class declaration of ZCL_ORDINARY. Create a parameter in the SETUP method of LTCL_TEST and set its value to "Test". Create LTCL_TEST in a special package that is reserved for test classes. 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 completely. In a standard internal table, specifying the primary key partially from the left without gaps. In a sorted 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. In a hashed internal table, specifying the primary key completely. |