Knowledge of SAP ABAP Test
The
concept of visibility of components is well-known in object oriented languages.
Which of the following statements are correct with regard to ABAP Objects?
a. A programmer can, but need not,
determine the visibility of a compo-nent. The default visibility of a component
is PRIVATE.
b. A PRIVATE component of a class
can be accessed in all methods of that class.
c.
A PROTECTED method METH that is defined in a class SUPER can be overwritten
(redefined) in an inherited class SUB.
d. All components of inherited
classes are PUBLIC.
A
customer has implemented an enhancement for a transaction by using the predefined
customer subscreen. The program contains the necessary plausibility checks for
the values on the subscreen. However, from time to time, data fields are
updated with values that are not allowed.
What do you recommend to solve this problem?
What do you recommend to solve this problem?
a. Modify all dynpros that use data
from the plausibility checks.
b. Implement new plausibility checks
for every dynpro change.
c.
Implement the same plausibility checks in the User Exit "before
save".
d. Implement an additional program
to correct the wrong data field values.
What
provides guidelines for the development of Web services?
a.
Web Service Interoperability (WS-I)
b. Universal Description, Discovery
and Integration (UDDI)
c. Web Services Description Language
(WSDL)
d. Simple Object Access Protocol (
SOAP )
A
customer wants to develop a Web application with Web Dynpro for Java as the
front-end technology and a SAP ERP 6.0 system as the backend.
Which type of external interface do you use to generate a Web Dynpro model automatically with a minimum of effort?
Which type of external interface do you use to generate a Web Dynpro model automatically with a minimum of effort?
a.
RFC
b. BAPI
c. Web Service
d. Java Connector
You
need to read an ABAP report from a database that is not declared in the ABAP Dictionary.
How do you do this?
How do you do this?
a. With open SQL
b.
With native SQL
c. With NetWeaver AS ABAP
d. With a remote Java call function
You
analyze the complexity of a customer-specific program to determine the expected
maintenance efforts.
Which measure do you use?
Which measure do you use?
a.
Number of binary decision points (for example, IF-statements)
b. Number of references to other
modularization units
c. Number of executable statements
d. Number of methods and interfaces
ABAP
has built-in types like C, I, N, STRING, or X. If you use these types for
defining data objects, which of the following statements are correct?
a. If you want to define a two-byte
integer data object, you use the follow-ing syntax: DATA xyz(2) TYPE i.
b.
If you create a data object without explicitly specifying its type, it will
become type C with length 1.
c. If you define a data object with
type D, two or four digits will be re-served for the year, depending on the
user's settings.
d. A data object of type STRING has
a fixed length that will automatically be set when the first value is assigned
to this data object. This length cannot be adjusted thereafter.
The
SAP List Viewer, commonly known as the ALV, is a powerful tool for displaying
data. Among the various ALV types, the ALV Grid Control is used for displaying
non-hierarchical table data.
a. The ALV Grid Control can be
integrated into a list, a selection-screen, and a classical screen (dynpro).
b.
By default, a column header will be taken from the data element which is used
for specifying the type of the column.
c. When a report with an ALV Grid
Control is executed in background processing, the program will terminate
abnormally since controls can-not be addressed in background processing.
d. The ALV display is automatically
refreshed when the data in the data-base table is changed.
An
international retail company needs a customer-specific list in SAP ERP that
shows accumulated order values in a selectable currency.
What do you need to know to create this program?
What do you need to know to create this program?
a. Converting factors of source
currencies
b. Converting factors of target
currency
c. Source currency of the orders
d.
Local currency in the system
In a
report, you want to define a SELECT-OPTION so_xyz. What are possible ways of
defin-ing its type?
a. Refer to a table type directly,
using TYPE
b. Refer to a previously defined
elementary data object in the same pro-gram, using LIKE
c.
Refer to a previously defined elementary data object in the same pro-gram,
using FOR
d. Refer to a Dictionary table type
with columns SIGN, OPTION, LOW, and HIGH, using FOR
In a
customer application, it is necessary to save texts with undefined size.
Which table type do you use to minimize programming efforts?
Which table type do you use to minimize programming efforts?
a. Transparent table with field type
TEXT80 for the text
b. Transparent table with field type
STRING for the text
c.
Cluster table with application key and others fields
d. Pool table with normal construction
Where
do you place the language key field in a customer-specific text table to enable
generic buffering of this table?
a.
Directly before the foreign key of the corresponding customizing table
b. Directly after the foreign key of
the corresponding customizing table
c. At the last position of the key
fields of the text table
d. The position of the language key
field does not matter
Which
ABAP language element can you use in Enterprise Services?
a. COMMIT WORK
b. WRITE
c.
CALL FUNCTION STARTING NEW TASK
d. DATA itab ... WITH HEADER LINE
Among
the most frequently used enhancement concepts in ABAP, you find customer exits.
Which of the following statements about customer exits are correct?
a. If a customer exit is not
implemented, the program offering this customer exit will dump (terminate
abnormally) at runtime.
b.
Within one SAP system, a customer exit can have a maximum of one
implementation.
c. Within one client of an SAP system,
a customer exit can have multiple implementations.
d. Once a customer exit has been
implemented in an SAP system, the implementation can be changed, but it cannot
be deactivated any more.
What
is the main advantage of enhancement packages in SAP Business Suite 7.0?
a. The installation of the packages
has to be done in chronological order to make sure the project can use best
practices.
b. The installation is independent
from the existing installation and all functions of the package will be
activated at once.
c. The installation is done via OSS
so that the projects themselves do not require administrative knowledge.
d.
The installation of a whole package is required, but it is possible to activate
only parts of it.
In a
new customer SAP GUI dynpro program, particular fields should be visible for
authorized users only.
How do you implement this requirement?
How do you implement this requirement?
a.
Set a flag in the appropriate internal table at PBO.
b. Assign those fields to specified
user profiles.
c. Delete field content in PBO in
case the authorization check was negative.
d. Define transaction variants
according to the required authorizations.
Internal
tables are used in ABAP to store mass data. Which of the following statements
about the relationships between internal tables and database tables are
correct?
a. An internal table can be linked
to a database table so that the content of the internal table is updated
automatically as soon as the content of the database table changes.
b.
A data base table XYZ can be used for the definition of an internal table like
this: DATA itab TYPE TABLE OF xyz.
c. A data base table in the
Dictionary can be defined with reference to an internal table from an ABAP
program.
d. If you have a huge number of rows
to be dealt with in a program, it might improve the program's performance if
you define a database table in the program instead of an internal table.
Where
can you check which secondary index of a database table is used in a program?
a. In the system log
b.
In the performance trace
c. In the debugger
d. In the application log
There
are basically three types of SELECT statements: SELECT SINGLE, SELECT ...
ENDSELECT, and SELECT ... INTO TABLE. The SELECT ... ENDSELECT statement is
also known as the SELECT loop.
Below, you will find a list of comments about SELECT ... ENDSELECT. Which of them are correct?
Below, you will find a list of comments about SELECT ... ENDSELECT. Which of them are correct?
a.
A work area (structure) is required for the selected rows. This work area can
be given explicitly (with INTO) or implicitly (if a TABLES declaration is
used).
b.
The database will transport individual rows to the database interface.
c. The database will transport
blocks of rows to the database interface.
d. The system field sy-tabix counts
the number of selected table rows.
You
cannot book the business data during processing of an incoming IDoc.
How must the function module react to this problem?
How must the function module react to this problem?
a. Send the IDoc backward
b. Trigger an event for sender
c.
Set an error status in the control record
d. Create a Batch Input map
Your
transport request is released in system X and imported in system Y.
Which method is used to transport the data from X to Y?
Which method is used to transport the data from X to Y?
a.
File on a file system
b. Database table
c. Remote Function Call
d. File on an IDoc
What
are the effects of a COMMIT WORK during program execution?
a. All database and internal table
locks are released.
b.
The time slice counter is reset to zero.
c.
All open database cursors are closed.
d. All memory fields are cleared.
The
event concept is vital for selection-screens. Which of the following usages of
events make sense for selection-screens?
a.
Use INITIALIZATION for setting values for SELECT-OPTIONS.
b. Use AT SELECTION-SCREEN for
hiding fields on the selection-screen.
c. Use AT SELECTION-SCREEN OUTPUT
for checking user entries.
d.
Use AT SELECTION-SCREEN ON pa_car for checking the user entry in the PARAMETER
pa_car.
In
which case do you decide to create a new ABAP OO class?
a. If it deals with encapsulated
data of another class
b. If it mediates between two other
classes
c.
If it improves maintainability
d. If it only contains methods
How
do you avoid semantic mistakes for interface parameters in a customer specific
routine?
a.
Type all interface parameters.
b. Document all interface
parameters.
c. Insert commands by using
patterns.
d. Name all interface parameters
differently.
Which
task do you need to do after printing an Adobe form to avoid a program error?
a. Clear the content of all internal
tables.
b. Execute the COMMIT function
module.
c.
Close the form.
d. Disable the PDF printer.
Your
customer wants to migrate from an old legacy system to SAP ERP. The databases
in both systems are modified.
What is an advantage using the Legacy System Migration Workbench (LSMW) for the migration?
What is an advantage using the Legacy System Migration Workbench (LSMW) for the migration?
a. It provides standard interfaces
for all fields in a data migration.
b. It provides standard interfaces
for all tables in a migration.
c. It supports migration of data and
enhanced programs.
d.
It supports Batch Input, Call Transaction, and Direct Input to migrate data.
During
an upgrade project to SAP NetWeaver 7.0, you are asked for a strategy to
convert the implemented classic BAdIs to the new BAdI type.
What do you recommend?
What do you recommend?
a. Perform the migration of customer
BAdIs and BAdIs that are provided by SAP With the available migration tool.
b.
Use the procedure for semi-automatic migration because of existing differences
between classic and new BAdIs.
c. Perform a completely automated
migration of all existing classic BAdIs with the available migration tool.
d. Create new BAdIs because a
conversion of classic BAdIs is not foreseen.
What
do you need to consider when using dynamic breakpoints?
a. You should set dynamic
breakpoints only directly in the Debugger at runtime.
b. You should use dynamic
breakpoints only if the program is locked by another user.
c.
You can use dynamic breakpoints only up to a limited number without changing
the program.
d.
If the line where you set a breakpoint already contains a breakpoint, it is
deleted.
Your
customer wants to use SAP NetWeaver Master Data Management ( MDM ) to cleanse and distribute
business partners created in SAP CRM within the existing heterogeneous system
environment.
Which standard MDM scenario do you recommend using?
Which standard MDM scenario do you recommend using?
a. Master data consolidation
b.
Master data harmonization
c. Central master data management
d. Local master data management
How
can you realize a modification free instantiation of objects in a
customer-specific ABAP OO development?
a.
By programming against interfaces and applying the Factory Design Pattern
b. By inheriting from a main class
and applying the Factory Design Pattern
c. By implementing an interface and
inheriting from a main class
d. By programming against interfaces
and inheriting from a main class
Which
of the following is a use case for SAP Solution Manager?
a. Support of Test Data Migration
Server (TDMS) for test preparation
b. Support of Visio for process
modeling
c.
Support of SAP Early Watch Alert for early problem detection
d. Support of SAP Project System
(PS) for cost planning
In a
program, you need an elementary data object for some calculations. What are
possible ways to specify its type?
a. Refer to a domain
b.
Refer to a data element
c.
Refer to a field of a database table
d. Refer to a field of a search help
You
found an error for a field in Process-after-Input (PAI) of a dynpro. You change
the value of this field and start PAI again.
Where is the flow control starting in PAI in that case?
Where is the flow control starting in PAI in that case?
a. Always at the first module in the
flow control of PAI
b. At the module in the flow control
where the error was found
c.
At the first module in the flow control, where this field is listed first
d. At the first module of the CHAIN
group, where the error was found
How do
you characterize customer and user exits?
Which
functionality has been introduced with the SAP Enterprise Edition of SAP
Solution Manager?
a. Service level reporting
b.
Document management with display and print of digitally-signed documents
c. Service desk and root cause
analysis
d. Test workbench with integrated
Test Data Migration Server (TDMS)
In a
customer program, a LOOP statement is processing time consuming database
operations on transaction data. The execution of this program takes too long.
How can you optimize the performance of this program?
How can you optimize the performance of this program?
a. Create new secondary indexes for
database tables.
b.
Divide the internal table into several smaller tables and call a function
module with these tables as parameters in parallel tasks.
c. Divide the internal table into
several smaller tables and start a report with these tables as parameters.
d. Expand the internal table with
fields which are read from the database within the LOOP.
e. Insert a COMMIT- WORK at the end
of the LOOP.
Some
ABAP statements require an explicit end, like SELECT loops, FORM definitions,
or IF clauses. Which of the following ABAP statements can be nested?
a.
One inner SELECT ... ENDSELECT in an outer SELECT ... END-SELECT
b. One inner FORM ... ENDFORM in an
outer FORM ... ENDFORM
c. One inner CASE ... ENDCASE in an
outer CASE ... ENDCASE
d. One inner CLASS ... ENDCLASS in
an outer CLASS ... ENDCLASS
What
should you emphasize when presenting the results of a code review to the
customer?
a.
The risks and effects of identified problems
b. Project plan to implement
corrections
c. Recommendations for concrete
solutions
d. Implementation of suggested
corrections
0 comments:
Post a Comment