Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

SAP Certified Associate C_ABAPD_2309 Exam Questions and Answers PDF

Page: 3 / 5
Question 12

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?

Options:

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.

Question 13

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

Options:

A.

DATA: gv_target TYPE p DECIMALS 2. CONSTANTS: go intl TYPE i VALUE 3. gv_target -U EXACT (2 gcojntl).

B.

DATA: gv_target TYPE string. □ CONSTANTS: gco_string TYPE LENGTH 16 VALUE 0123456789ABCDEF*. gv_target = EXACT # gco_string+5 (5) ).

C.

DATA: gv_target TYPE c LENGTH 5. V □ CONSTANTS: ECO string TYPE string VALUE 0123456789ABCDEF". gv_target - EXACT (gco_string + 5 (6) ).

D.

DATA: Ev target TYPE p DECIMALS 3. CONSTANTS: gcojntl TYPE i VALUE 2. Ev_target -U EXACT #2 / gcojntl ).

E.

DATA: gv_target TYPE d. s/ □ CONSTANTS: gco_date TYPE d VALUE '20331233*. gv_target EXACT ( geo_date).

Question 14

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

Options:

A.

SELECT FROM /dmo/connection FIELDS carrid O airpfrom,

MAX(distance) AS dist_max, MIN( distance) AS dist_min GROUP BY carrid, airpfrom INTO TABLE @DATA(It_hits)

B.

SELECT FROM /dmo/connection FIELDS \/ O carrid, airpfrom,

MAX( distance) AS dist_max, MIN(distance) AS dist_min INTO TABLE @DATA(It_hits)

C.

SELECT FROM /dmo/connection FIELDS V D MAX(distance) AS dist_max

MIN(distance) AS dist_min INTO TABLE @DATA(It_hits).

D.

SELECT FROM /dmo/connection FIELDS r—i carrid, airpfrom u GROUP BY carrid, connid

INTO TABLE @DATA(It_hits).

Question 15

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.

Options:

A.

ZF1' can be called only if it is released for cloud development.

B.

'ZF1' can be called if a wrapper is created for it and the wrapper itself is released for cloud development.

C.

"ZF1" can be called whether it is released or not for cloud development

D.

ZF1" can be called if a wrapper is created for it but the wrapper itself is not released for cloud development.

Page: 3 / 5
Exam Code: C_ABAPD_2309
Exam Name: SAP Certified Associate - Back-End Developer - ABAP Cloud
Last Update: Nov 23, 2024
Questions: 81
C_ABAPD_2309 pdf

C_ABAPD_2309 PDF

$25.5  $84.99
C_ABAPD_2309 Engine

C_ABAPD_2309 Testing Engine

$28.5  $94.99
C_ABAPD_2309 PDF + Engine

C_ABAPD_2309 PDF + Testing Engine

$40.5  $134.99