Tavasz Vizsga KP-OT

A vibrant illustration depicting a programmer working with SAP ABAP code on a computer, surrounded by elements like data types, coding structures, and OData services, in a modern office environment.

SAP ABAP Fundamentals Quiz

Test your knowledge of SAP ABAP with our comprehensive quiz designed for both beginners and experienced developers. This quiz covers a range of topics including data types, modularization techniques, error handling, and OData services, ensuring you have a well-rounded understanding of the essential ABAP concepts.

Prepare yourself and enhance your skills by tackling questions such as:

  • Essential details for logging onto SAP systems
  • Characteristics of internal tables
  • Understanding OData functionalities
100 Questions25 MinutesCreated by CodingWizard547
Which of the following details must you supply to log onto an SAP system using ADT? Choose the correct answers.
Client
User
Password
Package
Which of the following data types are incomplete (and therefore support the LENGTH addition to the DATA statement)? Choose the correct answers.
STRING
P
I
C
You are using TRY..ENDTRY to handle errors. If you want to handle any error in a single CATCH statement, which statement would you use? Choose the correct answer.
CATCH OTHERS.
CATCH cx_root.
CATCH cx_static_check.
CATCH cx*.
Which of the following are modularization techniques in ABAP? Choose the correct answers
Stored procedures.
Function modules
Include programs.
Methods of global or local classes
You want to copy data between two structures. The structures have different types, but some of the components have identical names. The target structure already contains data, which you do not want to lose during the copy operation. Which of the following functions would you use?Choose the correct answer.
VALUE with BASE
VALUE without BASE
CORRESPONDING with BASE.
CORRESPONDING without BASE.
Which of the following attributes are essential parts of the deיִnition of an internal table type? Choose the correct answers.
Storage type
Line type
Access type
Key components
Which of the following statements regarding the key of a database table are correct? Choose the correct answers.
The key determines the order in which entries in the table will be stored.
The combination of key יִelds identiיִes each row uniquely.
The key must not have more than יִve יִelds.
The key is mandatory.
Which of the following elements may an instance constructor have? Choose the correct answers.
Importing parameters
Exporting parameters
Changing parameters
Exceptions
You have an instance of a subclass and want to assign it to a reference variable that has the type of the superclass. Which of the following statements is true? Choose the correct answer.
You cannot do this because the types are incompatible.
You can always assign an instance of a subclass to superclass reference.
You can only assign an instance of a subclass to a superclass reference after you have checked that the types are compatible.
You can only do this if the superclass provides a suitable method that performs the assignment.
Which of the following statements are true of interfaces? Choose the correct answers.
They may contain method deיִnitions.
They may contain method implementations.
They may contain private attributes.
They may contain type deיִnitions.
What is the name of the protocol that is supported by SAP Gateway and that allows simple access to data from SAP Business Suite? Choose the correct answer.
TCP/IP
OData
RFC
SOAP
Match the following commands with their operation:
PUT: update the whole entity
PUT: partially update the entity
PUT: create an entity
PATCH: update the whole entity
PATCH: partially update the entity
PATCH: create an entity
POST: update the whole entity
POST: partially update the entity
POST: create an entity
Which of the following query options can be used to limit the size of the result set? Choose the correct answers.
$select
$יִlter
$orderby
What is the name of the tool that is used to implement OData services for SAP Gateway in the SAP Business Suite back end? Choose the correct answer.
SAP Gateway Editor
SAP Gateway Monitor
SAP Gateway Client
SAP Gateway Service Builder
When performing CUD operations, a client יִrst needs to request a CSRF token and then has to send this along with the HTTP PUT or POST request. Which actions have to be taken? Choose the correct answers.
When using the SAP Gateway client to test a service, the developer does not have to do anything because the handling of the CSRF token is performed automatically by the SAP Gateway client.
When developing an OData client application, the application developer has to take care of the correct handling of CSRF tokens.
CSRF tokens are not needed when performing updates with OData services in SAP Gateway.
When generating a service by using redeיִnition, which of the following options are available? Choose the correct answers.
Redeיִne a BW query service
Redeיִne an existing SAP Gateway service
Redeיִne an RFC function module
How can you create a Gateway service based on a CDS view? Choose the correct answers.
Code mapping
SAPUI5 template
@OData.publish
Project redeיִnition
Data reference
Which development tool is needed when using the odata.publish : true annotation? Choose the correct answer.
SEGW
SE80
Eclipse
ABAP CDS views can be developed if the SAP back end runs on top of which of the following releases? Choose the correct answers.
SAP NetWeaver 7.40
SAP NetWeaver 7.51
SAP NetWeaver 7.0 with SAP Gateway 2.0 SP8
SAP NetWeaver 7.50
$expand is used to retrieve several entities that are connected via: Choose the correct answer.
Connectors
Navigation properties
Function imports
Identical property names
Which are true statements relating to calculation views of the type SQL access only? Choose the correct answers.
They do not expose their meta data to reporting tools
They are mainly used for reusing inside other calculation views
They must include at least one measure
They include a star join node
Why do you use a Referential Join? Choose the correct answer.
To improve performance of joins that do not need to check integrity if no column from the right table is selected by a query.
When you need to display only facts that have associated master data attributes.
When you want to display facts even when the associated master data attributes are missing.
When is the design time יִlter expression applied in a calculation view? Choose the correct answers.
Before a query on the calculation view begins to execute
On the יִnal result of a query, similar to a ‘where’ clause
Before any joins are executed within the calculation view
What types of user-deיִned SQL functions can you include as a data source in a calculation view? Choose the correct answer.
Table Functions
Column Engine Functions
Scalar Functions
Which type of node is used to end the parallelization of a data flow? Choose the correct answer.
Projection
Union
Aggregation
Which of the following entries are required when creating a system in the SAP HANA Studio? Choose the correct answers.
Host name
Instance number
Client ID
User name
Logon Language
Which of the following are potential functional issues when migrating ABAP code to SAP HANA? Choose the correct answers.
Use of native SQL or DB Hints
Use of secondary database connections
Coding that assumes that a SELECT result is always sorted
The existence of customer-speciיִc cluster tables
The existence of table appends
Which of the following are steps in the recommended sequence for a guided performance analysis? Choose the correct answers.
Do static code checks with Code Inspector or ABAP Test Cockpit
Collect runtime data with SQL Monitor
Collect runtime data with Runtime Analysis
Combine runtime data and static check result in SQL Performance Tuning Worklist
Which of the following are tasks of the database interface (DBI) and database-speciיִc library (DBSL)? Choose the correct answers.
Translate Open SQL syntax into native SQL syntax
Add client handling to the statement
Check user authorizations
Handle SAP table buffering
Transaction handling
Which of the following entities can be found in the object list of the ABAP Workbench or the Project Explorer of ADT? Choose the correct answers.
Data deיִnition (also known as DDL source)
CDS view
SQL view
Which of the following entities corresponds to an object that is created on the database? Choose the correct answer.
Data deיִnition (aka DDL source)
CDS view
SQL view
Which of the following are prerequisites for exposing an association? Choose the correct answer.
The association points to a table, not to another CDS View.
The association has cardinality “to-N.”
All יִelds mentioned in the ON condition are part of the יִeld list.
The association is the only association in this view deיִnition.
Which of the following are common ground between SAP HANA syntax and Open SQL syntax (as of ABAP 7 .40 SP05)? Choose the correct answers.
Key words are not case-sensitive
Table names have to be upper-case
Identical client handling
Comma-separated יִeld lists
Field list after FROM clause is supported
Which of the following are supported types for parameters of AMDP methods? Choose the correct answers.
Numeric or character-like scalar types
Structure types with only scalar components
Table types with only scalar columns
Nested table types without secondary keys
What can you do in ADT (ABAP in Eclipse) but not in the classical ABAP Workbench? Choose the correct answers.
Display an AMDP method implementation
Edit an AMDP method implementation
Test an AMDP method implementation
Debug an AMDP method implementation
You want to access SAP HANA view CA_BOOKINGS_COUNT in package ha400.primdb via a native SQL query. Which of the following are correct ways of specifying package path and object name in the FROM clause? Choose the correct answers.
FROM _SYS_BIC.“ha400.primdb.::CA_BOOKINGS_COUNT”
FROM “ha400.primdb::CA_BOOKINGS_COUNT”
FROM _SYS_BIC.“ha400.primdb/CA_BOOKINGS_COUNT”
FROM “ha400.primdb/CA_BOOKINGS_COUNT”
You execute the following native SQL query on SAP HANA: CALL "ha400.primdb::SP_PROCEDURE"( '10', null, null ) WITH OVERVIEWWhich of the following results do you expect? Choose the correct answer.
Two table-like results
Two scalar results
One scalar result
One table-like result
Which of the following are advantages of using proxy objects for SAP HANA artefacts? Choose the correct answer.
No native SQL required to access the SAP HANA object
Automatic synchronization of proxy object deיִnition
Automatic transport of SAP HANA artefacts in ABAP transport request
No need for SAP HANA database to deיִne the proxy objects
You want to perform an SAP HANA full-text search on column COL of database table TAB. Which of the following conditions have to be fulיִlled? Choose the correct answers.
Table TAB is located in column store.
Column COL is of type TEXT or SHORTTEXT.
A full text index exists for column COL of table TAB.
The application server release is 7 .40 SP05 or higher.
Which of the following features are NOT supported by ALV with IDA? Choose the correct answer
Personalization
Editing values
Excel export
Double-click
Which of the following statements are true about the SAP Web IDE for SAP HANA? Choose the correct answers.
It is a browser-based IDE.
It provides wizards and code templates to help you get started more quickly and easily.
It does not provide debugging facilities to test your applications.
You can package modules into a multi-target application.
What is Node.js? Choose the correct answer
It is a scripting language specialized in the execution of data intensive calculations.
It is a client-side JavaScript library, providing components to design the user interface.
It is a server-side runtime environment for JavaScript.
In the SAP Web IDE for SAP HANA, when you create a new SAP HANA database module, what is added to the mta.yaml יִle? Choose the correct answers.
A module of type HDB
A route to the SAP HANA database
A service of type com.sap.xs.hdi-container
A service of type OData
In the SAP Web IDE for SAP HANA, when you create a SAP HANA database module, a SAP HANA database module and a com.sap.xs.hdi-container service are added to the mta.yaml יִle.What do you use calculation views for? Choose the correct answer.
To code using the R programming language.
To provision data from remote sources.
To resolve complex mathematical equations.
To read data in real time for analytical reporting.
In SAP HANA, you create a stored procedure. What can you set in the header properties? Choose the correct answers.
Global variables
Read/write access
Storage type
Programming language
Security
Waldemar creates a plain database schema and grants Constanze the CREATE ANY privilege on that schema. Who can access the table DUMMY which Constanze creates in Waldemars schema? Choose the correct answers.
Waldemar, because he own the schema
Constanze, because she owns the table
Every user having theCREATE ANY privilege
Every user owning an object in Waldemars schema
You are developing the persistency layer for a multi-target application. You want to create a database view that reads data from a table in a remote SAP HANA schema. What do you need to use? Choose the correct answer.
A remote desktop connection
A user-deיִned service
An OData service
A schema synonym
Which Node.js module provides a database connection? Choose the correct answer.
@sap/xsenv
Express
Jest
@sap/hdbext
Which יִle extension do you use for the deיִnition יִle for an OData service? Choose the correct answer.
Data
Odata
.xsodata
In your HTML page, you want to have a placeholder replaced at runtime with the actual URL of the back-end application. Which design time יִles do you modify to obtain this? Choose the correct answers.
Package.json
Security.json
Mta.yaml
Xs-app.json
Which of the following statements about development objects is correct? Choose the correct answer.
A development object is always assigned to exactly one package at any one time. All of the changes during its lifetime are assigned to the same change request.
A development object may be assigned to more than one package at any one time. All of the changes during its lifetime are assigned to the same change request.
A development object is always assigned to exactly one package at any one time. Changes to the object at different times are assigned to different change requests.
A development object may be assigned to more than one package at any one time. Changes to the object at different times are assigned to different change requests.
Below you will see some data types and the initial values of variables that are declared with that type. Which of the combinations of data type and initial value are correct? Choose the correct answers.
Type P. Initial value undefined.
Type I. Initial value 0
Type C. Initial value a single space
Type D. Initial value ‘19700101’
In an IF structure with multiple ELSEIF statements, more than one branch will be processed if more than one prerequisite condition is met. Determine whether this statement is true or false.
True
False
. Which of the following tasks can you perform both in the ABAP Perspective and in the Debug Perspective? Choose the correct answers.
Set a watchpoint.
Set a breakpoint for all occurrences of a particular statement.
Set a breakpoint on a particular line.
Activate changes to your program.
Which of the following are modularization techniques in ABAP? Choose the correct answers.
Stored procedures.
Function modules
Include programs
Methods of global or local classes.
The name of a function module need only be unique within its function group. Determine whether this statement is true or false.
True
False
You want to copy data between two structures. The structures have different types, but some of the components have identical names. The target structure already contains data, which you do not want to lose during the copy operation. Which of the following functions would you use? Choose the correct answer.
VALUE with BASE.
VALUE without BASE.
CORRESPONDING with BASE
CORRESPONDING without BASE.
When you declare an internal table type, you must specify the number of lines that the table should have. Determine whether this statement is true or false.
True
False
Which of the following attributes are essential parts of the definition of an internal table type? Choose the correct answers.
Storage type
Line type
Access type
Key components
To add lines to an internal table, you can use the VALUE expression. Which of the following statements regarding the VALUE expression are true? Choose the correct answers.
You can only add one line to the table at a time
You can specify the contents of the line(s) that you want to add either in the form of a structure or as a series of single values.
The existing contents of the internal table will be overwritten unless you use the BASE addition.
The lines that you want to add can be taken directly from an internal table.
. For which operations can you use the table expression itab[ ]? Choose the correct answers.
To read a line.
To insert a new line.
To delete a line.
To modify a line.
What is the effect of the statement CLEAR itab? Choose the correct answer.
The contents of the table are deleted.
The contents of the table are deleted and surplus memory is released.
The table object is completely destroyed and can no longer be addressed in the program.
The contents of the first line of the table are deleted.
Which of the following statements regarding Open SQL are true? Choose the correct answers.
Open SQL is specific to SAP HANA
Open SQL supports automatic client handling
Open SQL allows you to read directly from database tables, but also to use Core Data Service views.
You use Open SQL to create database tables in the SAP System.
You can create database tables for the SAP System either using the ABAP Dictionary or the database management studio. Determine whether this statement is true or false.
True
False
Which of the following statements regarding the key of a database table are correct? Choose the correct answers.
The key determines the order in which entries in the table will be stored.
The combination of key fields identifies each row uniquely.
The key must not have more than five fields.
The key is mandatory.
You use SELECT SINGLE to read a single row from a database table. What happens if there is more than one row in the table that meets the condition that you specified? Choose the correct answer.
The statements returns all rows that correspond to your selection.
The statement merely returns the first row that corresponds to your selection.
An exception occurs.
The system sets sy-subrc to a value unequal to zero.
When would you use the addition SELECT... INTO CORRESPONDING FIELDS ? Choose the correct answer.
When you only want to read one row from a table.
When you want to read multiple rows from a table.
When the list of fields is identical to the structure of your target variable.
When the list of fields is different from the structure of your target variable.
Which of the following statements about classes is true? Choose the correct answer.
Attributes of a class are always private. Methods of a class are always public.
B A class must always have both private and public elements.
You can create any number of independent instances of a class
You use classes to make large quantities of global data available to a program.
. In what sequence must you declare the visibility sections of a class? Choose the correct answer.
PRIVATE SECTION. PROTECTED SECTION. PUBLIC SECTION.
PROTECED SECTION. PUBLIC. SECTION. PRIVATE SECTION.
PUBLIC SECTION. PROTECTED SECTION. PRIVATE SECTION.
You can order the sections however you like.
Which of the following statements can you use in the definition part of a class? Choose the correct answers.
DATA
TABLES
TYPES
CONSTANTS
When you declare a reference variable using DATA... TYPE REF TO, the newly-declared variable already points to an instance of the class. Determine whether this statement is true or false. X True
True
False
. What happens to objects that are no longer required and to which no more reference variables are pointing? Choose the correct answer.
Nothing. They remain in the program memory until the end of the program.
They are destroyed when you release the memory explicitly.
They are destroyed when you call the garbage collector explicitly.
They are destroyed when the garbage collector next runs automatically
Which of the following elements may an instance constructor have? Choose the correct answers.
Importing parameters
Exporting parameters
Changing parameters
Exceptions
What happens when a constructor raises an exception? Choose the correct answer.
The method terminates and the new instance is returned.
The method terminates and no new instance is returned.
The method continues to the end and the new instance is returned.
The method continues to the end and no new instance is returned.
In ABAP, each subclass may have only one direct superclass. Determine whether this statement is true or false.
True
False
. Which of the following statements apply when you redefine a method in a subclass? Choose the correct answers.
You must not change the name of the method.
You must not change the signature of the method.
You must not change the visibility of the method.
You must not change the coding of the method.
You have an instance of a subclass and want to assign it to a reference variable that has the type of the superclass. Which of the following statements is true? Choose the correct answer.
You cannot do this because the types are incompatible.
You can always assign an instance of a subclass to superclass reference.
You can only assign an instance of a subclass to a superclass reference after you have checked that the types are compatible.
You can only do this if the superclass provides a suitable method that performs the assignment.
When you use a reference variable with the type of a superclass to call a method, the runtime system always calls the method implementation as it is defined in the superclass. Determine whether this statement is true or false.
True
False
What instances can you assign to an interface reference? Choose the correct answer
Instances of the interface.
Instances of any classes that implement the interface
Instances of any local classes in the same program.
Instances of any class.
A class that implements an interface must implement all of the methods defined in that interface. Determine whether this statement is true or false.
True
False
Which of the following SAP Key UI technologies are currently recommended by SAP? Choose the correct answers.
Web Dynpro Java
Web Dynpro ABAP with Screen Personas
Dynpro with Screen Personas
Java Dynpro
SAPUI5
Which of the following are key features of SAPUI5? Choose the correct answers.
Full translation support
Web Dynpro extensibility
Responsive across browsers and devices
Less open for custom development
Based on open standards such as, JavaScript, CSS3, and HTML5
What is the key concept of SAPUI5 that enables the separation of information representation from user interaction? Choose the correct answer.
Model View Controller
Drag-and-drop
Slideshow
A forgiving format
Which of the following statements are true for OpenUI5? Choose the correct answers.
OpenUI5 includes all of the main features of SAPUI5.
OpenUI5 contains sap.viz and sap.ui.com.
OpenUI5 is free for use.
OpenUI5 implements its own Core-Component.
OpenUI5 encompasses the complete SAPUI5 Core, plus many front-end controls that are also included in SAPUI5.
Which of the following statements are true with respect to the SAP Web IDE? Choose the correct answers.
A browser-based integrated development environment
Available only in the SAP Cloud Platform
Integrated in the SAP GUI
Supports the End-to-End (E2E) application lifecycle
Provides WYSIWYG tooling
What tool is used to connect the SAP Cloud Platform to an on-premise system? Choose the correct answer.
SAP Destination Connector
SAP Cloud Connector
SAP Connector App
SAP Cloud Manager
What is the initial starting phase of SAPUI5 called? Choose the correct answer.
Bootstrapping
AutoStart
ConfigurationLoad
Startup-phase
What is the name of the event that is fired after a successful SAPUI5 initialization? Choose the correct answer.
Init
StartUpDone
LoadDone
BootDone
Which JavaScript function is called to define a module? Choose the correct answer.
JQuery.sap.require
JQuery.sap.define
Sap.ui.define
Sap.ui.declare
Which JavaScript function is used to load a module asynchronously? Choose the correct answer.
JQuery.sap.require
Sap.ui.require
Sap.ui.define
Sap.ui.loadModule
What view type does SAP recommend? Choose the correct answer.
JSON
XML
HTML
JavaScript
Which class is normally used as the base class when implementing a SAPUI5 view controller? Choose the correct answer.
Sap.ui.core.mvc.Controller
Sap.ui.view.Controller
Sap.m.Controller
Sap.ui.layout.Controller
Which of the following model types are supported by SAPUI5? Choose the correct answers.
XML
JSON
OData
SOAP
Which of the following are the binding types supported in SAPUI5? Choose the correct answers.
Property binding
Default binding
Aggregation binding
Elementary binding
Element binding
Which of the following are the two options provided by SAPUI5 for working with i18n texts? Choose the correct answers.
JQuery.sap.resources
Aggregation Binding
Data Binding
Resource Consumption
What does OData use for resource identification? Choose the correct answer.
Email address
URI
Harmonized WSDL paths
Which of the following return types are supported by service operations? Choose the correct answers.
Complex Types
Primitive Types
Aggregation Types
Infinitive Types
. Which OData versions are currently supported by SAPUI5? Choose the correct answers.
OData Version 1.0
OData Version 2.0
OData Version 3.0
OData Version 4.0
In which file is the Component controller implemented? Choose the correct answer.
Component.json
Component.js
UIComponent.js
BaseComponent.js
Which function invocation is necessary to set up the routing inside a full-screen app? Choose the correct answer.
This.getRouter().initialize();
This.getRouter().setup();
This.getRouter().init();
This.getRouter().registerRoutes();
{"name":"Tavasz Vizsga KP-OT", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of SAP ABAP with our comprehensive quiz designed for both beginners and experienced developers. This quiz covers a range of topics including data types, modularization techniques, error handling, and OData services, ensuring you have a well-rounded understanding of the essential ABAP concepts.Prepare yourself and enhance your skills by tackling questions such as:Essential details for logging onto SAP systemsCharacteristics of internal tablesUnderstanding OData functionalities","img":"https:/images/course4.png"}
Powered by: Quiz Maker