Untitled

Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 18

ABAP Object

For which of the following requirements can you implement a funcional method ?

Note: There are 2 corect answers to this questions

A private static helpeer method this return a single value as the result at an algorithm
A method to set an instance atribute with one implementing parameter and no other parameters
A handler method for an event that has a returning parameter
A factory method that returns an object reference

What happens when an authorization check fails?

The system field SY-SUBRC is set to a value other than zero


A cx_AUTH_FAILED type exception is raised
Atype E message is displayed
The program is terminated

How do you add fields to an SAP delivered table without modification ?

Use the database utility to enhance the definition on the database directly
Create an append structure contanning the new fields
Define a structure contanning the new fields and lecture it in the table definition
Add the new fields to the table definition

Which data type is allowed for the reference field of the currency field?

CUKY
UNIT
CURR
DEC

you want to loop over an internal table without copying each table row to a work area

now can you achieve this using a field symbol ?

LOOP AT <tab> INTO <field_symbol> ENDLOOP


LOOP AT <tab> ASSIGNING <field_symbol> ENDLOOP
LOOP AT <tab> REFERENCE INTO <field_symbol> ENDLOOP
LOOP AT <tab< Transporting into <field_simbol> ENDLOOP

you want to read data from two database tables A and B using a database join Database B
contains details for data record matching rows
from A and B plus all rows from A that do not have matching rows in B.
which statement do you use ?

SELECT FROM a LEFT OUTER JOIN b


SELECT FROM a inner jOIN b
SELECT FROM a JOIN b
SELECT FROM b right outer join A

which of the following predefined ABAP types is incomplete?

XSTRING
STRING
F
P

What is the SAP recommended naming convertion for append structures at standard SAP tables?

The components of an append structure should star with zz or YY


the components of an append structure should star with z or y
the name of the append structure must start with zz or yy
the name of the append structure must start with ZA

which ABAP statement using the local type gty_1 correctly defines a data object ?
note there are 2 correct answers to this question

DATA gv_1 LIKE gty_1


CONSTANTS gc_1 TYPE gty_1 VALUE 1
DATA gv_1 TYPE gty_1 DEFAULT 1
DATA gv_1 TYPE gty_1

An ejecutable ABAP program contains a standar selection screen and uses the event blocks at SELECTION SCREEN AT SELECT
in which sequence will ABAP runtime call these event blocks ?

1 INITIALIZATION
2 AT SELECTION SCREEN OUTPUT
3 START OF SELECTION
4 AT SELECTION SCREEN

1 INITIALIZATION
2 AT SELECTION SCREEN
3 AT SELECTION SCREEN OUTPUT
4 START OF SELECTION
1 AT SELECTION SCREEN OUTPUT
2 INITIALIZATION
3 AT SELECTION SCREEN
4 START OF SELECTION

1 INITIALIZATION
2 AT SELECTION SCREEN OUTPUT
3 AT SELECTION SCREEN
4 START OF SELECTION

Which of the following features do you have to consider when you are shared objects ?
Note there are 3 correct answers to this question

Data is saved as atributes of objects


concurrent write accesses are supported
Data is saved tables of objects
memory bottlenecks result in runtime errors and have to be caught
concurrent read accesses are supported

you have writen a program to output data using the ALV grid control
which sequence of steps should be executed at runtime?

1 create a grid object


2 pass date to the grid object
3 Create a container object

1 create a grid object


2 Create a container object
3 pass date to the grid object

1 pass date to the grid object


2 Create a container object
3 create a grid object

1 Create a container object


2 create a grid object
3 pass date to the grid object

When do you need to use the GROUP BY clause in the SELECT statement ?

if you want to use ORDER BY to specify a sub-order


if you want to redefine the sequence of the columns in the result set
if you want to use aggregate function and at least one components in the field list is a column identifier
if you want to use aggregate functions and all components in the field list are aggregate functions

Which of the following tools belong to the ABAP workBench ?


Note There are 3 correct answers to this question

Easy access menu


Funcion builder
Class Builder
Screen Parther
Form Builder

You have implemented a class CL_CUSTOMER in which you defined a private attribute

From where can you access this attribute directly?

Note there are 2 correct answers to this questions

From any program using the class CL_CUSTOMER


from all methods of the class CL_CUSTOMER
from all methods of a class to which CL_CUSTOMER GRANTS MEMBRESHIP
from all methods of all subclasses of CL_CUSTOMER

you perform in update task using update funcion modules and detect an error in the program that calls the update funcion

Which statement can be used to discard all update requests for the current SAP LUW
NOTE there are 2 correct answers to this question

ROLLBACK WORK
MESSAGE exxk(nmn)
MESSAGE mckr(nmn)
DELETE UPDATE
EXIT

in which modularization units can you use parameters ?


note there are 3 correct answwers to this question

Funcion modules
Methods
subradtimes
Dialog modules such as PBO modules
Event blocks such as START OF SELECTION

what option do you have when setting a watchpoint ?


Note There are 2 correct answers to this question

Stop at any change of all variables


stop at predefined condition for all variables
stop at any change of a specific variable
stop at prededined condicions for a specific variable

you have defined a classical screen(dynpro) with mandatory input fields you want to exit the screen using the cancel button

what is necesary to achieve this ?

Use the LOOP AT SCREEN ENDLOOP statement to set the "required" property of the input field to zero
Assign function type E to the cancel button and handle d in module with the addition AT EXIT COMMAND
Set the function code assigned to the cancel button to cancel and hande t is a module with the adition AT EXIT COMMAND
set the funtction type assigned to the cancel button to S and habdle t a module with the addition AT EXIT COMMAND

which of the following variables is the self-reference variale in ABAD OO?

SUPER
ME
SENDER
THIS

Which objects can share data through context mapping ?

Component controllers and view controllers


Global classes and component controllers
Custom controllers and transparent tables
View controller and another view controlles

How can you declare an internal table using the transparent table A as its line Type ?

DATA gt_itab TYPE TABLE OF a


DATA gt_itab TYPE REF TO a
DATA gt_itab TYPE a
DATA gt_itab TYPE LINE OF a

what is the root class in the RTTS inheritance tree ?

CL_ABAP_DATADESCR
CL_ABAP_TYPEDESCR
CL_ABAP_COMPLEXDESCR
CL_ABAP_ELEMDESCR

Compared to a predefined ABAP type what additional properties can be assigned to a domain ?
Note there are 3 correct answers to this question

Value tables
conversion exits
searh helps
* PARAMETER IDs
* Fixed values

dbtab is a transparent table what is declared by the following statement

DATA myvar TYPE dbtab

An elementary field
A reference to an internal table
An internal table
A structure variable

you are required to add customer source code in the SAP delivered object using the new enhancement framwork
without notification

How can you find the available enhancement ?

Note there are 3 correct answers to this question

Perform a programa- related global search for GET BADI


Select from the list of application-related Badls or enhancemerd SPOTS IN THE SAP application
select from the list of freely selected BADls of enhancement agots in the repository information system
Perform a program related global search for a customer exit
Search for a business transaction event in the customizing ...... SPRO

Where can you define global data types that are visible system-wide ?
Note there are 3 correct answers to this question

In the ABAP Dictionary


in a method of a global class
in a global class
in a global interface
in a function module

How can you maintain documentation for input fields on your screen ?

Define test tables for the underlying structure


add documentation to the SCREEN table at PROCESS AFTER INPUT (PAI)
add documentation to the underlying data element
add documentation to the SCREEN table at PROCESS BEFOR OUTUP (PBO)

What can you create using the ABAP Dictionary ?


Note there are 3 correct answers to this question

Type pools
Domains
Field symbols
Internal tables
Transparent tables

Whith hook method exists for all controller types ?

wddoingnavigation()
wddoingopen()
wddoint()
wddointclose()

you always want to check the user authorization for data entered in an input field of a selection screen

where do you do this

In the event block AT SELECTION SCREEN OUTPUT


in the eventt block AT SELECTION SCREEN on VALUE REQUEST
In the evet block INITIALIZATION
in the event block AT SELECTION SCREEN

you created a transparent table and during activation got a warning message Enhancement category for table missing
what do you have to do to eliminate the warning message ?

select any option other than not classified from the enhancement category
change the data class and size category in the technical settings
select the option Nat classfied from the enhancement category
Provide the correct reference field for the currency or quaritly field

in which database table type is there a one to one relationship between the dictionary table definition and
the relevant phisical tale at the database ?

internal table
pooled table
Cluster table
Transparent table

you create a function group ZATP


what i the name of the corresponding main program ?

SAPFZATP
SAPLZATP
SAPMZATP
ZATP

which options do you have to read data from multiple tables while using a SELECT statement ?
note there are 3 correct answers to this question

Database views
Nested select statements
pooled tables
nested loop statements
join statements

you want to use a BADi to extend the function of an SAP program

Which of the following tasks is necessary ?

create an enhancement project using a customer exit


Define an interface for the BADi
implement a class that implements the BADi interface
Call the BADi

you are establishing the business logic layer for a web dynpro componet

which service types are available in the service call wizard ?

Note there are 3 correct answers to this question

web service proxy


funtion group
function module
tranzaction code
class method

How is an ABAP program with several dialog steps executed ?


Usually dialog steps are assigned to different dialog work processes
the ABAP dispatcher takes over the entere execution without assigning any work process
the program is always executed in just one dialog work process with ... out
the program is always executed in just one dialog work process without ... out

what is the purpose of implicit enhancement points ?


to change code in a standad SAP program
to create a secundary index for an SAP database table
to add fields to an SAP database table
to add code to a standard SAP program

you defined data reference z1 generically

which statement would you use to access the content of the referenced variable ?

Assign z1 -> * tp <fs>


get reference of z1 into wa
assign z1 to <fs>
assign (z1) to <fs>

a custom transparent table was created with delivery class A and a table maintenance view was generated for this table yo
the delivery class to c and the what additional steps do you have to complete ?

Regenerate the existing maintenance view and adjust the table


Activate and adjust thee database
delete the original maintenance view and then create and generate a new date
Maintain and transport the table using the maintain table view transport (SMB)

which statement are allowed for processing internal tables ?


note There are 3 correct answers to this question

Modifity
select
update
insert
delete

which statement in used to generically define the data reference variable z1 ?

data z1 type ref to data


data z1 type any
data z1 type ref to PA0001
data z1 type any table

you are using the new debugger and you wart to change the content of an internal table

which actions are allowed ?

note ther are 3 correct answers to this question


change row content and press save (<CTRL> + S)
Delete table from memory
change row content and press Enter (<ENTER>)
Delete the entire content of a table
delete the selected rows

what is mandatory for automatic data transport between a variable and an input field on a classical screen ?
NOTE there are 3 correct answers to this questions

the variable must be deciared using the TABLES statement


the name at the variable and the name of the input field must be identical
the properity OUTPUT of the input field must be set
the variable must be declared using the DATA statement

which of the following ABAP data types are compatible with the generic character type CUKE ?
N
C
DECFLOAT
STRING
XSTRING

how can you improve the performance when accessing a large data volume database table ?

change the table type in the dictionary


define appropiate indexes for the database table
Apply the appropiate data class and size category
switch the database table to fully bufiered

to which ABAP dictionary definition can you assign fixed values ?

Domain
component of a structure
data element
field of a transparent table

which components belong to an elementary search help ?


note there are 2 correct answers to this question

Selection method
fixed values
import /export parameters

to which context object is the attribute LEAD_SELECTION_INDEX related ?

Attribute
Node
Element
suppy funtion

which desktops are part of the new ABAP debugger ?


note there are 3 correct answers to this question

Break /watchports
Objects
Desktop 1
list
session

which assigment will read ti a conversion error ?

A type C data object with the value ´t 50E4´ to a type 1 data object
Data gv_c(b) TYPE c VALUE ´t 50E4´.gv_i TYPE i. gv_i=gv_c

A type P data object to a type F data object


Data gv_p TYPE p VALUE ´15000´.gv_f TYPE f. gv_f=gv_p

How do you program af input validation on a selection screen that allows users to correct their input '

implement a check at the event AT SELECTION SCREEN in case of an input error, a type E MESSAGE must be displayed
implement the check at the event AT SELECTION SCREEN in case of an input error, a type A MESSAGE must be displayed
implement the check at the event AT SELECTION SCREEN OUTPUT in case of an input error, a type E MESSAGE must the displa
implement the check at the envent END OF SELECTION in case of an input error, a type E MESSAGE must be displayed

what is requered to fully specity a table type in the ABAP Diccionary ?


note there are 3 correct answers to this question

Header size
table size
access type
line type
table key

which parameter types can be used in the signature of functionan method ?

note there are 2 correct aswers

EXPORTING
RETURNING
CHANGING
IMPORTING

when analysing a program, which tasks can you perform using the code inspertor ?
note there are 3 correct answers to this question

Evaluate the time needed for program execution


Discover uhused variables
inspect the memory consumption
execute the extended program check
Determine used database tables

which SELECT statement will always bypass the SAP table buffers ?

SELECT FOR UDATE


DELECT ENDSELECT
SELECT INTO TABLE
SELECT SINGLE

which controller types can exist within a web dynpro componet ?


note there are 3 correct answers to this question

Application controller
view controller
windows controller
component controller
user controller

how do you embed a subscreen on a man screen ?

use SET SUBSCREEN in a PBO module of the main screen


use CALL SUBSCREEN in a PBO module of the main screen
use CALL SUBSCREEN in the flow logic of the main screen
use SET SUBSCREEN in the flow logic of the main screen

you want to define two database tables with diferent structures both tales should contain the fields CHANGE_DA
how do you implement this in order to minimize the maintenance effert ?

Define on append structure with theese two fields and assing this append structure his both database tables
Define a structure with these two fields and include this structure in hoth database tables
Define the two fields in one database table and copy them to the other database table
Define the two fields in each database table separately

you have 2 objects 01 of type class C1 and 02 of type class C2


class C2 is a subclass of class C1
which of the following statements implements an up cast ?

* 01 * 02
MOVE 01 ?TO 02
MOVE 01 TO 02
C2 ?* 01

what can you use to archive polymerphism ?

Reports
events
subrutenres
Inheritance

which boundary conditions head to improved access time to an external table ?

note there are 3 correct answrs to this question

index access for standard tables


left just field part of key for sorted tables
fully qualifield part of key for hached tables
left justfield part of key for hached tables
index access for hashed tables

which of the following are key capabilities of SAP NetWeaver ?


note there are 3 correct answers to this question

Information integration
Application platform
Enterprise resource planning
Supply chain Management
People integration

which of the following statement dynamically changes the data type of field z1 ?

Assign z1 to <fs>
Move z1 to <fs>
unassing <fs>
assign z1 to <fs> casting

Which comparison operators can you are in a logical expression related to WHERE clause of the SELECT statement ?
Note there are 3 correct answers to this question

GT ( greater than)
CO (contan only)
EQ (equals)
LIKE (file pattem)
CP (convert pattem)

what can you change in the ABAP Debugger ?

Content of an internal table


Definition of a structure
Value of a constant
Value of a reference variable

in the tectnical setting for a transparent table, bufering is switched on and single record buffering is selected

which statement user the buffered data assuming that the WHERE clasuse contains restrictions for all key fields ?

SELECT SINGLE
SELECT SINGLE FOR UPDATE
SELECT INTO TABLE
SELECT ENDSELECT

what do global types and local types have in common ?

Field labels
search help
technical information
Documentation

what types of changes to the repository does SAP provide ?


note there are 3 correct answers to this question

SAP Notes
Support packages
tranports
Enhancement packages
Deployment from SDN SAP COM

what must you do to define a database view using the ABAP dicionary ?
note there are 3 correct answers to this question

Define selection criteria for the view


Define the join conditions between the tables
Choose the fields from the tables that should be part of the view
Define buffering settings for the underlying database tables
Choose the database tables from where the view acquires data
what do you need to have in your program to respond to the DOUBLE_CLICK event raised by at intance of the CL_GUI_ALV_
note there are 3 correct ansewers to this question

A SET HANDLER statement to register the handler to the event


A handler class
A method to read the registration table
A handler method for the event
A CATCH statement to capture the event

where can you set the GUI status and GUI title for a classical screren(dynpro) ?

in a module called from PBO of the screen


in a module called from PAI of the screen
in the attributes of the scrreen
in the properties of the related header UI element

you ward to display a dialgo box in your ABAP program


which statement do you are ?

SET SCREEN 200


WINDOWS 200 STARTING AT 5 5
CALL SCREEN 200 STARTING AT 5 5
CALL SCREEN 200

which property of the inputfield UI element must be bound to a context attribute ?

visible
value
state
enable

which of the following tasks does the BADI implementing calss perform ?

Deleting
sequencing
Filtering
Inserting

when should you use a hashed internal table ?

note there are 2 correct answers to this question

when accessing using the left-justifield part of the key


When accessing mainly single records
when accessing by index
when accessing always by primary key
when accessing by secondary key

what feature are provided by the database interface ?


note there are 3 correct answers to this question

conversion of open SQL statements from ABAP statement into the corresponding database statements
Databse independience of application programs
Access to SAP table bufiers
Data consistency check using foreing key relationships
syntax check of native SQL commands

which of the following Data Types are allowed in ABAP ?


Note there are 2 correct answers to this questions

DECFLOAT34
DECFLOAT64
DECFLOAT32
DECFLOAT16

what can you enhance using BAdis?


note there are 3 correct answers to this question

Menus
Databases tables
Data elements
Source code
Screens
RESPUESTA
NGE_TIME

You might also like