0% found this document useful (0 votes)
5 views32 pages

prova7

The document consists of multiple-choice questions related to ABAP programming, focusing on various concepts such as the ABAP RESTful Application Programming Model, Core Data Services (CDS), and ABAP Object-Oriented programming. It covers topics like transaction processing, data modeling, and the use of internal tables, along with the advantages and principles of different programming approaches. Each question includes a response section with options to select the correct answers, indicating a quiz format for assessing knowledge in ABAP development.

Uploaded by

mssv_silvia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views32 pages

prova7

The document consists of multiple-choice questions related to ABAP programming, focusing on various concepts such as the ABAP RESTful Application Programming Model, Core Data Services (CDS), and ABAP Object-Oriented programming. It covers topics like transaction processing, data modeling, and the use of internal tables, along with the advantages and principles of different programming approaches. Each question includes a response section with options to select the correct answers, indicating a quiz format for assessing knowledge in ABAP development.

Uploaded by

mssv_silvia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 32

Question:

Which of the following are key components of the ABAP RESTful


Application Programming Model?
Please select all the correct answers that apply.

Response:

Behavior Definition

OData V2 protocol

Unmanaged Transactional Processing

Service Definition

Managed Transactional Processing

Score 0 of 1
Question:

Which of the following are benefits of using ABAP CDS views?


There are 3 correct answers to this question.

Response:

Rich data modeling capabilities

Enhanced performance with code pushdown

Integrated authorization checks

Automatic generation of OData services

Direct access to database tables

Score 1 of 1
Question:

The term "Local Platform APIs" is directly associated with which of the
following?
There are 2 correct answers to this question.

Response:
SAP S/4HANA Cloud, ABAP environment

SAP HANA

SAP HANA Cloud

SAP BTP, ABAP environment

Score 0 of 1
Question:

How does the ABAP RESTful Application Programming Model support


transactional consistency?
Please choose the correct answer.

Response:

By implementing stateful services

By using database triggers

Through client-side transaction management

Through managed transactional processing

Score 0 of 1
Question:

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 "????


There are 2 correct answers to this question.

Response:

A component of an ABAP Dictionary structure

A data element

A built-in ABAP Dictionary type

built-in ABAP type


Score 1 of 1
Question:

For the assignment, gv_target = gv_source. which of the following data


declarations will always work without truncation or rounding?
There are 2 correct answers to this question.

Response:

DATA gv_source TYPE string, to DATA gv_target TYPE c.

DATA gv_source TYPE p LENGTH 8 DECIMALS 3. to DATA gv_target TYPE p


DECIMALS 2.

DATA gv_source TYPE c. to DATA gv_target TYPE string.

DATA gv_source TYPE d. to DATA gv_target TYPE string.

Score 0 of 1
Question:

Which of the following are principles of REST architecture?


There are 3 correct answers to this question.

Response:

Virtualization

Layered system

Cacheable

Stateless

Score 0 of 1
Question:

What are some of the benefits that Core Data Services (CDS) offer over
classical approaches to data modeling in ABAP?
There are 2 correct answers to this question.

Response:

They compute results on the application server.


CDS views reduce the need for ABAP coding

They implement code pushdown.

They transfer computational results to the application server.

Score 0 of 1
Question:

Which of the following are ABAP Cloud Development Model rules?


There are 2 correct answers to this question.

Response:

Reverse modifications when a suitable public SAP API becomes available.

Build ABAP reports with either ABAP List Viewer (ALV) or SAP Fiori.

Use public SAP APIs and SAP extension points.

Build ABAP RESTful application programming model-based services.

Score 1 of 1
Question:

Which statement about ABAP Shared Objects is true?


Please choose the correct answer.

Response:

They are only accessible within a single program.

They are used for database storage.

They are used to store user-specific data.

They are memory areas shared by all users of an ABAP instance.

Score 1 of 1
Question:

In ABAP, what does the ALV Grid Control provide?


Please choose the correct answer.

Response:
An interactive and customizable table display

A framework for mobile applications

A method for data encryption

A tool for user authentication

Score 0 of 1
Question:

In a RESTful Application Programming application, in which objects do you


bind a CDS view to create a value help?
There are 3 correct answers to this question.

Response:

Data model view

Projection View

Metadata Extension

Service Definition

Behavior definition

Score 1 of 1
Question:

BAdIs are classified under which of the following extension types in SAP
S/4HANA Cloud?
Please choose the correct answer.

Response:

Developer Extension

Classical user exit

Key User Extension


Side-By-Side Extension

Score 1 of 1
Question:

Which of the following are the three possibilities for a customer to


implement SAP S/4HANA?
There are 3 correct answers to this question.

Response:

System conversion

Third-party cloud

New implementation

System landscape transformation

Score 1 of 1
Question:

In ABAP Cloud, how is the concept of 'Multitenancy' handled for custom


developments?
Please choose the correct answer.

Response:

By restricting custom development to specific tenants

By allowing each tenant to have its own custom code

By isolating custom code in a separate database

By sharing custom code across all tenants

Score 0 of 1
Question:

Which type of legacy code does SAP recommend you eliminate when you
review modifications as part of an SAP S/4HANA system conversion?
There are 2 correct answers to this question.

Response:
Code that supports a critical business process

Code that now is identical to a standard SAP object

Code that can be redesigned as a key user extension

Code that has less than 10% usage according to usage statistics

Score 1 of 1
Question:

How do CDS Table Functions enhance the capabilities of ABAP CDS Views?
Please choose the correct answer.

Response:

By enabling real-time data replication

By providing a graphical interface for data modeling

By supporting complex joins and unions

By allowing direct SQL scripting within CDS views

Score 0 of 1
Question:

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


Please choose the correct answer.

Response:

Hashed

Sorted

Standard

Score 1 of 1
Question:

In ABAP CDS, what is the role of an Association?


Please choose the correct answer.

Response:
To manage user roles and permissions

To optimize database storage

To define a connection to external systems

To link CDS views for data retrieval

Score 1 of 1
Question:

What is the purpose of the SAP Cloud Application Programming Model?


Please choose the correct answer.

Response:

To handle cloud security and compliance

To manage cloud infrastructure services

To provide a framework for building cloud-native applications

To optimize on-premise application performance

Score 0 of 1
Question:

In the context of ABAP development, what does 'SQL pushdown' refer to?
Please choose the correct answer.

Response:

Moving SQL statements from the application server to the client side

Executing data-intensive logic directly in the database layer

Pushing SQL code to the application layer for processing

Transferring all database operations to a secondary database

Score 1 of 1
Question:
What is the main advantage of using Managed Scenarios in the ABAP
RESTful Application Programming Model?
Please choose the correct answer.

Response:

They are used for unstructured data.

They automatically handle CRUD operations.

They offer enhanced user interface controls.

They provide direct access to the database.

Score 1 of 1
Question:

Scenario: A company wants to extend their S/4HANA Cloud system without


disrupting the core. They need a robust solution for complex business
processes. Which approach should they take?
Please choose the correct answer.

Response:

Use SAP BTP for Side-by-Side extensions

Avoid any form of customization or extension

Modify the standard SAP code in the core

Implement user exits in the S/4HANA system

Score 1 of 1
Question:

In ABAP OO, what is the purpose of an Abstract Class?


Please choose the correct answer.

Response:

To define static methods only

To be instantiated directly

To provide a complete implementation of all methods


To serve as a blueprint for other classes

Score 0 of 1
Question:

When does SAP recommend to use a sorted or a hashed table


respectively?
There are 2 correct answers to this question.

Response:

A hashed table, when you read a single record and specify the complete

A sorted table, when you read a subset in a loop and specify a part of the
^ without gaps.

A sorted table, when you read a single record and specify non key fields.

A hashed table, when you read a subset in a loop and specify a part of th
without gaps.

Score 0 of 1
Question:

Which of the following statements about exceptions are true?


There are 2 correct answers to this question.

Response:

All uncaught exceptions lead to runtime errors.

A TRY...ENDTRY block must contain at least two CATCH statements.

All execptions are catchable.

Some exceptions are catchable, others are uncatchable.

Score 1 of 1
Question:

Which statement reads a single row from a database table?


Please choose the correct answer.
Response:

SELECT SINGLE <tablename> ...

READ TABLE <tablename> WITH TABLE KEY ...

READ TABLE <tablename> ...

SELECT <tablename> ...

Score 1 of 1
Question:

In ABAP Cloud, what is the role of the ABAP RESTful Application


Programming Model?
Please choose the correct answer.

Response:

To provide a framework for building efficient, cloud-ready applications

To handle user authentication and authorization

To manage cloud infrastructure

To perform database migrations

Score 1 of 1
Question:

In ABAP CDS, what is the purpose of the 'Extend View' statement?


Please choose the correct answer.

Response:

To optimize the performance of a CDS view

To include additional logic in an existing CDS view

To add fields to an existing database table

To create a backup of a CDS view

Score 0 of 1
Question:

What are some characteristics of secondary keys for internal tables?


There are 3 correct answers to this question.

Response:

Hashed secondary keys do NOT have to be unique.

Sorted secondary keys do NOT have to be unique.

Multiple secondary keys are allowed for any kind of internal table.

Secondary keys automatically update themselves based on table change

Secondary keys must be chosen explicitly when you actually read from an

Score 1 of 1
Question:

In ABAP OO, what is the purpose of a Constructor method?


Please choose the correct answer.

Response:

To handle exceptions in object methods

To perform database updates

To initialize an object when it is created

To clean up resources when an object is deleted

Score 1 of 1
Question:

How does the 'AMDP (ABAP Managed Database Procedures)' framework


benefit ABAP developers?
Please choose the correct answer.

Response:

By automatically converting Open SQL to native SQL

By providing a graphical interface for SQL programming


By eliminating the need for database procedures

By allowing the use of native SQL and database-specific features

Score 1 of 1
Question:

What is the purpose of the 'Decorator' pattern in ABAP OO?


Please choose the correct answer.

Response:

To manage memory allocation for objects

To simplify complex class hierarchies

To automatically generate getters and setters

To add new responsibilities to objects dynamically

Score 1 of 1
Question:

In RAP, what is the advantage of using 'Managed Transactional


Processing'?
Please choose the correct answer.

Response:

It allows direct access to the database

It automates CRUD operations and ensures data consistency

It provides a mechanism for offline data synchronization

It enables the use of custom SQL queries

Score 0 of 1
Question:

How does the 'Unmanaged Scenario' in the ABAP RAP differ from the
'Managed Scenario'?
Please choose the correct answer.
Response:

It requires manual implementation of business logic

It provides automatic handling of CRUD operations

It supports only synchronous processing

It is used only for non-relational databases

Score 1 of 1
Question:

Which of the following are valid data sources for a CDS view entity?
There are 2 correct answers to this question.

Response:

A structure

A database table

An internal table

Another CDS view entity

Score 1 of 1
Question:

What is the purpose of the ABAP List Viewer (ALV)?


Please choose the correct answer.

Response:

To manage database transactions

To write application-specific log files

To display data in a structured, customizable format

To create graphical user interfaces

Score 1 of 1
Question:

What is the advantage of using Input Parameters in ABAP CDS Views?


Please choose the correct answer.

Response:

To allow dynamic filtering of data at runtime

To increase the security of the view

To link views to external data sources

To define default values for fields

Score 1 of 1
Question:

Which of the following are key parts of the clean core concept?
There are 3 correct answers to this question.

Response:

Strict separation between extensions and the underlying application

Usage of released APIs

Copying (that is, cloning) of standard code in lieu of modifications

Elimination of modifications

Score 1 of 1
Question:

Which of the following can you use to denote a comment in ABAP?


There are 2 correct answers to this question.

Response:

* at the beginning of a line

" anywhere in the line

// at the beginning of a line


-- anywhere in the line

Score 1 of 1
Question:

In ABAP, what is the purpose of the 'Field-Symbols' keyword?


Please choose the correct answer.

Response:

To initialize a global variable

To define a new data structure

To declare a constant

To create a reference to a memory area

Score 0 of 1
Question:

Which restrictions exist for ABAP SQL arithmetic expressions?


There are 2 correct answers to this question.

Response:

Floating point types and integer types can NOT be used in the same expr

The operator ** is allowed only in floating point expressions.

Decimal types and integer types can NOT be used in the same expression

The operator / is allowed only in floating point expressions.

Score 1 of 1
Question:

In the context of SAP S/4HANA Cloud, what is a Side-by-Side Extension?


Please choose the correct answer.

Response:

An extension built within the S/4HANA core


An extension built on a separate platform, like SAP BTP

A direct modification to the standard SAP code

An extension using only frontend technologies

Score 1 of 1
Question:

How do CDS Views support different types of annotations, such as


semantics and OData?
Please choose the correct answer.

Response:

By providing metadata for UI rendering and data services

By allowing direct manipulation of database indexes

By enabling integration with non-SAP systems

By supporting multiple programming languages

Score 0 of 1
Question:

Which of the following are factors to consider in deciding what


extensibility option to use?
There are 3 correct answers to this question.

Response:

Extension use case

Extension scope and size

Extension architecture

Extension uniqueness

Score 1 of 1
Question:
In ABAP Object-Oriented programming, what is a Class?
Please choose the correct answer.

Response:

A collection of related functions

A specific instance of an object

A template for creating objects

A database table

Score 0 of 1
Question:

Which of the following is a feature of the ABAP programming language?


Please choose the correct answer.

Response:

Integrated exception handling

Garbage collection

Direct file system access

Pointer arithmetic

Score 1 of 1
Question:

In ABAP, what is the benefit of using a hashed internal table?


Please choose the correct answer.

Response:

It automatically sorts the entries

It allows duplicate keys

It provides faster access for key-based reads

It consumes less memory than standard tables


Score 1 of 1
Question:

What is the sequence priority when evaluating a logical expression?


Please choose the correct answer.

A) NOT 1
B) OR 3
C) AND 2

Response:

ABC

CAB

ACB

BAC

Score 1 of 1
Question:

In RESTful Application Programming, which EML statement retrieves an


object?
Please choose the correct answer.

Response:

Find entity

Get entity

Select entity

Read entity

Score 0 of 1
Question:

Which RESTful Application Programming object can be used to organize


the display of fields in an app?
Please choose the correct answer.

Response:
Projection view

Service definition

Metadata extension

Data model view

Score 1 of 1
Question:

In a subclass subl you want to redefine a component of a superclass


superl. How do you achieve this?
There are 2 correct answers to this question.

Response:

You add the clause REDEFINITION to the component in superl.

You add the clause REDEFINITION to the component in subl.

You implement the redefined component in subl.

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

Score 1 of 1
Question:

Which function call returns 0?


Please choose the correct answer.

Response:

find_any_of (val = "ABAP ABAP abap' sub = "AB")

Count_any_of ( val - ‘ABAP ABAP abap' sub "AB" )

Count (val - 'ABAP ABAP abap' sub - 'AB' )

find_any_not_of( val 'ABAP ABAP abap’ sub = 'AB')

Score 0 of 1
Question:
In an Access Control Object, which clauses are used?
There are 3 correct answers to this question.

Response:

Grant (to identify the data source)

Define role (to specify the role name)

Revoke (to remove access to the data source)

Return code (to assign the return code of the authority check)

Where (to specify the access conditions)

Score 1 of 1
Question:

Which of the following ABAP SQL statements are valid?


There are 2 correct answers to this question.

Response:

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


TABLE @DATA(It_hits).

SELECT FROM /dmo/connection FIELDS carrid O airpfrom, MAX(distance) A


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

SELECT FROM /dmo/connection FIELDS \/ O carrid, airpfrom, MAX( distanc


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

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


dist_min INTO TABLE @DATA(It_hits).

Score 1 of 1
Question:

What is the significance of 'Full-Text Search' capabilities in ABAP for SAP


HANA?
Please choose the correct answer.

Response:

To encrypt sensitive text data in the database


To translate text data into multiple languages

To allow efficient searching of large text datasets using SQL

To enable complex mathematical operations on text data

Score 1 of 1
Question:

In a program you find this source code:

AUTHORITY-CHECK OBJECT '/DWO/TRVL ( ID 'CNTRY' FIELD 'DE* ID ACTVT FIELD


'03".

Which of the following apply?


There are 2 correct answers to this question.

Response:

If the user is NOT authorized for 'CNTRY' = 'DE' OR for 'ACTVT' = '03 then
terminate.

AUTHORITY CHECK verifies whether a user is authorized for/DMO/TRVL" w


values.

If the user is authorized for 'CNTRY = 'DE' AND for 'ACTVT = '03 then the

If the user is authorized for 'CNTRY = 'DE' then the return code is always

Score 0 of 1
Question:

What variable type is connection full based on the following code?


Please choose the correct answer.

/DMO/I_Connection is a CDS view.


DATA connection full TYPE /DMD/I_Connection.

Response:

Simple variable

Internal Table

Structure
Score 0 of 1
Question:

Refer to the Exhibit.

What are valid statements?


There are 2 correct answers to this question

Response:

Class CL1 implements the interface.

In class CL1, the interface method is named if-ml.

Class CL1 uses the interface.

In class CL2, the interface method is named ifl-ml.


Class CL2 uses the interface.

Score 0 of 1
Question:

What is the purpose of a foreign key relationship between two tables in


the ABAP Dictionary?
Please choose the correct answer.

Response:

To document the relationship between the two tables

To create a corresponding foreign key relationship in the database

To ensure the integrity of data in the corresponding database tables

Score 0 of 1
Question:

What is an Abstract Class in ABAP Object-Oriented programming?


Please choose the correct answer.

Response:

A class that can be instantiated but cannot have methods

A class that cannot be instantiated and is used as a base class

A class that provides a complete implementation of all its methods

A class designed only for data storage

Score 0 of 1
Question:

What is the role of 'Hierarchical CDS Views' in ABAP for SAP HANA?
Please choose the correct answer.

Response:

To create views that represent hierarchical data structures

To optimize the performance of recursive queries


To manage user roles and hierarchies in the database

To define the inheritance relationships between classes

Score 1 of 1
Question:

Scenario: A developer is optimizing an ABAP program for SAP HANA. The


program contains several nested loops for data processing. What strategy
should be used to optimize this program?
Please choose the correct answer.

Response:

Convert nested loops into single SQL statements using New ABAP SQL

Increase the number of nested loops for better clarity

Use classical ABAP statements for data processing

Move all processing to the application server

Score 1 of 1
Question:

In ABAP OO, which keyword is used to define a method that can be


overridden in a subclass?
Please choose the correct answer.

Response:

FINAL

ABSTRACT

STATIC

REDEFINITION

Score 0 of 1
Question:

What is the role of an Interface in ABAP OO?


Please choose the correct answer.

Response:
To define a set of methods that implementing classes must provide

To manage database connections

To store data shared across multiple classes

To provide a default implementation of methods

Score 1 of 1
Question:

What is the purpose of 'Projections' in the ABAP RAP?


Please choose the correct answer.

Response:

To visualize data in graphical formats

To create subsets of data for specific use cases

To manage database replication

To handle error logging and monitoring

Score 1 of 1
Question:

In ABAP SQL, which of the following retrieves the association field_Airline-


Name of a CDS view?
Please choose the correct answer.

Response:

@_Airline-Name

\_Airline-Name

"_Airline Name

/_Airline Name

Score 0 of 1
Question:
Why are Side-by-Side Extensions preferred over In-App Extensions in
S/4HANA Cloud for complex integrations?
Please choose the correct answer.

Response:

Greater flexibility and reduced impact on core upgrades

Direct access to modify core SAP code

No need for external systems or platforms

Simpler development process

Score 1 of 1
Question:

A functional method must have


Please choose the correct answer.

Response:

Exactly one exporting parameter

No changing parameters

Exactly one returning parameter

Exactly one importing parameter

Score 1 of 1
Question:

What elements can you add to enhance a business object in the ABAP
RESTful application programming model?
There are 2 correct answers to this question.

Response:

Private methods

Field

State management routines


Action

Score 1 of 1
Question:

In ABAP for SAP HANA, what is the role of the 'AMDP' (ABAP Managed
Database Procedures)?
Please choose the correct answer.

Response:

To manage database connections

To handle application logic in the application server

To enable the creation of database procedures and functions in ABAP

To create and manage ABAP classes

Score 0 of 1
Question:

What is the purpose of Annotations in ABAP CDS?


Please choose the correct answer.

Response:

To enhance the view with metadata

To define the user interface

To debug CDS views

To optimize query performance

Score 0 of 1
Question:

What is the significance of 'Behavior Definitions' in the ABAP RAP?


Please choose the correct answer.

Response:

They manage the deployment of applications to different environments


They are used to define database triggers

They specify the operations allowed on business objects

They define the UI behavior of Fiori apps

Score 1 of 1
Question:

How do 'Expression-Based Indexes' enhance performance in ABAP for SAP


HANA?
Please choose the correct answer.

Response:

By indexing every column in a table

By creating indexes based on calculated expressions

By reducing the size of indexes

By automatically updating indexes based on data changes

Score 0 of 1
Question:

In ABAP for SAP HANA, how does 'Parallel Processing' improve application
performance?
Please choose the correct answer.

Response:

By allocating all system resources to a single task at a time

By delaying non-critical tasks until the system is idle

By processing all tasks in a single thread for consistency

By dividing tasks into smaller sub-tasks that are executed simultaneously

Score 1 of 1
Question:
What is the role of the 'HAVING' clause in ABAP CDS Views?
Please choose the correct answer.

Response:

To limit the number of rows returned

To filter aggregated data based on a condition

To define the order of data retrieval

To specify join conditions between tables

Score 1 of 1
Question:

Scenario: A developer needs to implement a complex business logic that


involves multiple database tables and calculations. Which of the following
ABAP programming models should be used?
Please choose the correct answer.

Response:

Procedural programming with Open SQL

Functional programming with AMDP

Event-driven programming with control frameworks

Object-oriented programming with classes and methods

Score 1 of 1
Question:

What is the advantage of using 'Managed Extensibility' in SAP S/4HANA


Cloud?
Please choose the correct answer.

Response:

It eliminates the need for testing extensions

It ensures that extensions are compatible with future SAP updates

It allows unrestricted modifications to the SAP core


It provides a direct connection to non-SAP systems

Score 1 of 1
Question:

Which of the following is a characteristic of the New ABAP SQL?


Please choose the correct answer.

Response:

Exclusive use for non-HANA databases

Limited integration with SAP HANA features

Enhanced performance and optimization for SAP HANA

Inability to handle complex calculations

Score 0 of 1
Question:

Refer to the Exhibit.

The "demo_ods_assoc_spfi data source referenced in line #4 contains a


field "connid" which you would like to expose in the element list.

Which of the following statements would do this if inserted on line #8?


Please choose the correct answer.

Response:
spfli-connid,

demo_ods_assoc_spfli.connid,

_spfli.connid/

demo_ods_assoc_spfli-connid/

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy