Pass the SAP SAP Certified Associate C_ABAPD_2507 Questions and answers with CertsForce

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

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

Options:

A.

Hashed


B.

Sorted


C.

Standard


Expert Solution
Questions # 12:

Given the following ABAP SQL statement excerpt from an ABAP program:

SELECT SINGLE *

FROM spfli

WHERE carrid = 'LH' AND connid = '0400'

INTO @DATA(wa).

You are given the following information:

    The data source spfli on line #2 is an SAP HANA database table.

    spfli will be a large table with over one million rows.

    This program is the only one in the system that accesses the table.

    This program will run rarely.

Based on this information, which of the following general settings should you set for the spfli database table?

Note: There are 2 correct answers to this question.

Options:

A.

“Storage Type” to “Row Store”


B.

“Storage Type” to “Column Store”


C.

“Load Unit” to “Column Loadable”


D.

“Load Unit” to “Page Loadable”


Expert Solution
Questions # 13:

What is a class defined as part of an ABAP program called?

Options:

A.

Local variable


B.

Global variable


C.

Global class


D.

Local class


Expert Solution
Questions # 14:

You select a field flight_date with type DATS in the field list of a CDS view.

Which of the following expressions returns the 2-digit month from the field?

(Select 2 correct answers)

Options:

A.

substring( flight_date, 5, 2 )


B.

right( left( flight_date, 6 ), 2 )


C.

left( right( flight_date, 6 ), 2 )


D.

substring( flight_date, 4, 2 )


Expert Solution
Questions # 15:

What are some principles of encapsulation?

(Select 2 correct answers)

Options:

A.

Attributes can be changed through public class methods.


B.

Attributes can be changed by the client program directly.


C.

Attributes cannot be changed.


D.

Attributes can only be changed by the class.


Expert Solution
Questions # 16:

What describes multi-column internal tables?

Options:

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.


Expert Solution
Questions # 17:

Which statement creates a reference variable for class CL_VEHICLE?

Options:

A.

TYPES lo_vehicle TYPE cl_vehicle.


B.

DATA lo_vehicle TYPE REF OF cl_vehicle.


C.

DATA lo_vehicle LIKE REF cl_vehicle.


D.

DATA lo_vehicle TYPE REF TO cl_vehicle.


Expert Solution
Questions # 18:

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)

Options:

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.


Expert Solution
Questions # 19:

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.

Options:

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.


Expert Solution
Questions # 20:

In a class you use the statement DATA var TYPE …

What may stand in place of the type?

(Select 2 correct answers)

Options:

A.

The name of a type defined privately in class ZCL_CLASS_A


B.

The name of a domain from the ABAP Dictionary


C.

The name of a type defined privately in another class


D.

The name of a data element from the ABAP Dictionary


Expert Solution
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions