Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > SAP > SAP Certified Associate > C_ABAPD_2507

C_ABAPD_2507 SAP Certified Associate - Back-End Developer - ABAP Cloud Question and Answers

Question # 4

In RESTful Application Programming, a business object contains which parts?

Note: There are 2 correct answers to this question.

A.

Process definition

B.

Behavior definition

C.

CDS view

D.

Authentication rules

Full Access
Question # 5

Setting a field to read-only in which object would make the field read-only in all applications of the RAP model?

A.

Projection view

B.

Behavior definition

C.

Metadata extension

D.

Service definition

Full Access
Question # 6

How can you execute test classes? (Select 3)

A.

As a mass test when executing an ABAP Test Cockpit (ATC) check variant.

B.

As a mass test when releasing a transport request with the ABAP Transport Organizer.

C.

Interactively by calling function “Run as a unit test” from within the tested object.

D.

Interactively by calling function “Run as a unit test” from within the test class.

E.

Interactively during the release of transport request.

Full Access
Question # 7

What describes multi-column internal tables?

A.

They use one incomplete data type.

B.

They are based on a structured row type.

C.

They must contain nested components.

D.

They use one complete data type.

Full Access
Question # 8

Given this code,

DATA(structure_variable) =

REDUCE structure_type(

INIT h_structure_variable TYPE structure_type

FOR row IN source_itab

NEXT

h_structure_variable-f1 += row-f1

h_structure_variable-f2 += row-f2 ).

Which of the following statements are correct? (Select 2 correct answers)

A.

row is a predefined name and cannot be changed.

B.

This REDUCE expression may produce a result of multiple rows.

C.

Components of h_structure_variable will be copied to same-named components of structure_variable.

D.

The REDUCE expression creates a loop over source_itab.

Full Access
Question # 9

Which RAP object can be used to organize the display of fields in an app?

A.

Metadata extension

B.

Data model view

C.

Projection view

D.

Service definition

Full Access
Question # 10

Given the following code:

DATA gv_text1 TYPE string. "#EC_NEEDED

DATA gv_text2 TYPE string ##NEEDED.

What are valid statements? (Select 2 correct answers)

A.

The pseudo-comment is checked by the syntax checker.

B.

The pragma is not checked by the syntax checker.

C.

##NEEDED is checked by the syntax checker.

D.

#EC_NEEDED is not checked by the syntax checker.

Full Access
Question # 11

You have attached a system field to an input parameter of a CDS view entity as follows:

define view entity Z_ENTITY

with parameters

@Environment.systemField: #SYSTEM_LANGUAGE

language : spras

What are the effects of this annotation? (Select 2 correct answers)

A.

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).

B.

You can still override the default value with a value of your own.

C.

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.

D.

It is no longer possible to pass your own value to the parameter.

Full Access
Question # 12

Which of the following results in faster access to internal tables? (Select 3 correct answers)

A.

In a sorted internal table, specifying the primary key completely.

B.

In a standard internal table, specifying the primary key partially from the left without gaps.

C.

In a sorted internal table, specifying the primary key partially from the left without gaps.

D.

In a hashed internal table, specifying the primary key partially from the left without gaps.

E.

In a hashed internal table, specifying the primary key completely.

Full Access
Question # 13

What is the syntax to access component carrier_name of structure connection?

A.

connection>carrier_name

B.

connection/carrier_name

C.

connection-carrier_name

D.

connection=>carrier_name

Full Access
Question # 14

To give authorization to users, in which order are the artifacts used?

A.

1) The IAM app uses the Authorization Object. 2) The Business Catalog uses the IAM app. 3) The Business Role uses the Business Catalog. 4) The Business User uses the Business Role.

B.

1) The IAM app uses the Business Role. 2) The Business Role uses the Authorization Object. 3) The Authorization Object uses the Business Catalog. 4) The Business User uses the Authorization Object.

C.

1) The IAM app uses the Business User. 2) The Business User uses the Business Catalog. 3) The Business Catalog uses the Business Role. 4) The Business Role uses the Authorization Object.

D.

1) The IAM app uses the Business Catalog. 2) The Business Catalog uses the Business Role. 3) The Business Role uses the Business User. 4) The Business User uses the Authorization Object.

Full Access
Question # 15

Which of the following integration frameworks have been released for ABAP Cloud development? (Select 3)

A.

CDS Views

B.

Business events

C.

OData services

D.

Business Add-ins (BAdIs)

Full Access
Question # 16

You want to join two database tables, T_CARRIER and T_CONNECTIONS, to retrieve all carriers, whether they have corresponding connections or not.

Which statements would achieve this?

Note: There are 2 correct answers to this question.

A.

SELECT FROM t_carrier

INNER JOIN t_connections

ON ...

B.

SELECT FROM t_carrier

LEFT OUTER JOIN t_connections

ON ...

C.

SELECT FROM t_carrier

LEFT INNER JOIN t_connections

ON ...

D.

SELECT FROM t_connections

RIGHT OUTER JOIN t_carrier

ON ...

Full Access
Question # 17

What can you do in SAP S/4HANA Cloud, public edition? (2 correct)

A.

Use SAP-released extension points

B.

Use ABAP Development Tools in Eclipse (ADT)

C.

Modify SAP objects

D.

Use Web Dynpros

Full Access
Question # 18

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.

A.

You add the clause REDEFINITION to the component in sub1.

B.

You implement the redefined component for a second time in super1.

C.

You add the clause REDEFINITION to the component in super1.

D.

You implement the redefined component in sub1.

Full Access
Question # 19

Given the following ABAP code, which exception will be raised on execution?

CONSTANTS c_char TYPE c LENGTH 1 VALUE ' '.

TRY.

result = 2 / c_char.

out->write( |Result: { result }| ).

CATCH cx_sy_zerodivide.

out->write( |Error: Division by zero is not defined| ).

CATCH cx_sy_conversion_no_number.

out->write( |Error: { c_char } is not a number!| ).

CATCH cx_sy_itab_line_not_found.

out->write( |Error: Itab contains less than { 2 / c_char } rows| ).

ENDTRY.

A.

cx_sy_zerodivide

B.

cx_sy_conversion_no_number

C.

cx_sy_itab_line_not_found

Full Access
Question # 20

To which of the following rules must extensions in SAP S/4HANA, public cloud edition adhere?

(Select 2 correct answers)

A.

Build at the UX layer

B.

Use predefined extension points

C.

Use CI / CD pipelines

D.

Use released APIs

Full Access
Question # 21

You have the following CDS definition (aliases shown):

define view entity Z_ENTITY

as select from Z_SOURCE1 as _Source1

association to Z_SOURCE2 as Source2 on ???

{

key carrier_id as Carrier,

key connection_id as Connection,

cityfrom as DepartureCity,

cityto as ArrivalCity,

Source2

}

(The data sources are joined by the field carrier_id. The corresponding field in Z_SOURCE2 is also carrier_id.)

Which ON condition must you insert?

A.

ON Z_SOURCE1.carrier_id = Z_SOURCE2.carrier_id

B.

ON $projection.carrier_id = Z_SOURCE2.carrier_id

C.

ON $projection.Carrier = _Source2.carrier_id

D.

ON _Source1.carrier_id = Source2.carrier_id

Full Access
Question # 22

Constructors have which of the following properties?

(Select 2 correct answers)

A.

The constructor is automatically called during instantiation.

B.

The constructor can have importing parameters.

C.

The constructor must be the first method called by the client.

D.

The constructor can have returning parameters.

Full Access
Question # 23

Given this code,

INTERFACE if1.

METHODS m1.

ENDINTERFACE.

CLASS cl1 DEFINITION.

PUBLIC SECTION.

INTERFACES if1.

METHODS m2.

ENDCLASS.

" in a method of another class

DATA go_if1 TYPE REF TO if1.

DATA go_cl1 TYPE REF TO cl1.

go_cl1 = NEW #( ... ).

go_if1 = go_cl1.

What are valid statements? (Select 3 correct answers)

A.

Instead of go_cl1 = NEW #( ... ) you could use go_if1 = NEW cl1( ... ).

B.

Instead of go_cl1 = NEW #( ... ) you could use go_if1 = NEW #( ... ).

C.

go_if1 may call method m2 with go_if1->m2( ... ).

D.

go_if1 may call method m1 with go_if1->m1( ... ).

E.

go_cl1 may call method m1 with go_cl1->if1~m1( ... ).

Full Access
Question # 24

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?

Full Access