TAW10 PART-I (Unit 8 to 16) + TAW11E Flashcards

1
Q

A function module that has two classical exceptions is called with actual parameter value in a such a way that both exception conditions are fulfilled. How will the runtime system behave?

A

First exception that occurs will be raised in the calling program and sy-subrc has the value specified for the first exception

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You write a report that displays mass data in a table. You decide to use the ALV Grid control (class CL_GUI_ALV_GRID) instead of a classical list display with WRITE statements. Which of the following functions can you offer to the user without doing any specific programming

A

Change column width and sequence

Sort and filter the data by any column

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You want to select all the records from a database table where field CITY contains substring ‘BU’ in any position. Which WHERE clause can you use in an Open SQL select statement?

A

WHERE CITY like ‘%BU%’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

There are ____ versions of the ABAP Editor.

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the advantages of modularization?

A

Reusability
Maintainability
Transparency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which statements are allowed for processing internal tables?

A

MODIFY
INSERT
DELETE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following statements about the Object Navigator are true?

A

ABAP Programs can be displayed and edited in the object navigator

Screens can be displayed and edited in the object navigator

The ABAP dictionary can be maintained in the object navigator

Menus can be displayed and edited in the object navigator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the result of the following arithmetic operation?
DATA: int TYPE I
int =5/10.

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which types of programs or parts of programs can be tested directly from the ABAP Workbench or ABAP Editor?

A

Method
Program
Function module
Report

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Your colleague has asked you to analyze and ABAP program that does not behave correctly when a button is pressed on the initial screen. You want to start Debugger when the button is pressed so that you can perform your analysis.
What do you type in the command field?

A

/h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a predefined ABAP data type in deep?

A

String or xstring

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How many work areas are available in the Debugger?

A

12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following transactions are integrated in the ABAP workbench tools?

A

Class builder (SE24)

ABAP Editor (SE38)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A structure has enhancement category 3, can be enhanced (character-type).
Which set of elementary types is allowed for the new fields?

A

C, D, N, T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In the technical settings for a transparent table, buffering is switched on and single record buffering is selected.
Which statement uses the buffered data assuming that the WHERE clause contains restrictions for all key fields?

A

SELECT SINGLE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

You have declared a sorted internal table with the column A, B, C AND D. The key consists of columns A , B, C in this order. Which combination of columns in the WHERE clause of LOOP statement allows the system to optimize the process to the table?

A

A, B, C, and D

A, and B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

When is an ENDSELECT not required for a SELECT?

A

When you specify appending a table
When you do a select single
When you specify into a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What repository objects can you maintain in the ABAP Workbench?

A

Transparent tables
Function modules
Module pools

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Under which circumstances will the classic Debugger start as the Debugger?

A

When you specify the default as the classic debugger in the settings of the object navigator

When six modes already exist for this logon session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

dbtab is a transparent table. What is declared by the following statement? DATA myvar TYPE dbtab

A

A structure variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

You run an executable program that contains the following code

DATA: gv_var1 TYPE n LENGTH 3,

gv_var2 TYPE n LENGTH 3 VALUE ‘456’

START-OF-SELECTION.

CLEAR gv var2

gv_var2=gv_var1

gv_var1=’123’

A

As soon as the program is loaded into the internal session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the ALV Object Model?

A

A group of hierarchal classes that describe the ALV grid as a whole, but do not inherit from a single class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What are the advantages of defining texts symbols in executable programs?

A

They facilitate multilingual functionality

They are easier to maintain than literals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Each ABAP program that actually contains executable statements…

A

Assigns every executable to a processing block regardless of it being in a processing block

Is divided into processing blocks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
You have been asked to review the following expression AND which process character string result = find(val='abapABAP' sub='A' occ=2 case ='x').
6
26
When would you call the RFC function module synchronously?
During two-way communication During queue processing
27
All customer repository objects have to be...
Assigned to a package Packages use interfaces and visibility to make their elements visible to other packages A package can be nested
28
Which of the following incomplete ABAP predefined data types?
P, X, and N
29
Which of the following can you do with the SAP code inspector?
Perform static code checks
30
The table USER has the following fields: ID, FIRST_NAME, LAST_NAME. FIRST_NAME, LAST_NAME have the same basic type and length. You want to compare fields FIRST_NAME, LAST_NAME to each other.
SELECT * FROM users AS a INTO TABLE it_users WHERE a~first_name=a~last_name SELECT * FROM users INTO TABLE it_users WHERE first_name=users~last_name
31
What are standard types is numeric?
P, F, and I
32
To reserve an area on the screen for an ALV Grid Control, you must...
Use the screen painter
33
Database access can occupy most of the runtime in an ABAP program. What tools are available to assist you to diagnose performance issues in your program?
ABAP Objects Runtime Analysis (Transaction ATRA) Performance Trace (Transaction ST05) ABAP Runtime Analysis (Transaction SE30) ABAP Trace (Transaction SAT)
34
You program user class CL_GUl_ALV_GRID to generate a classic ALV grid control . What do you need in your program to react to user double click a row in ALV grid.
``` A handler class A handler method for double_click event A SET HANDLER statement to the event ```
35
Which does the field catalog allow you to do?
Change the display order of a column Change the title of a column Add a field to the display
36
Which of the following are valid control level changes within a loop over an internal table?
END of LAST
37
An ABAP program processes the following expressions r=a/b+c Which of the following data declarations would cause the runtime environment to use fixed point Arithmetic for the above expression to calculate the value of "r"?
DATA r TYPE p DECIMAL2, a TYPE i VALUE 201, b TYPE i VALUE 200, c TYPE P
38
Which class is used to define a reference for an instance of the ALV Object Model?
Class CL_SALV_TABLE
39
Global data types defined in SAP systems are
ABAP Dictionary types
40
What does a non-exclusive debugging mode mean?
Debugging is not possible between statements SELECT and ENDSELECT because the database cursor needs to be closed using a COMMIT Owning to the commit, inconsistent datasets can occur in the database Debugging is not possible for conversion or field exits A roll-out is forced in the application after each debugger view
41
Which of the following statements can you use to setup checkpoints in an ABAP program?
ASSERT LOG-POINT BREAK_POINT
42
Where can you define global data types that are visible system-wide?
``` In a global interface In a global class In the ABAP dictionary ```
43
When do you need to use the GROUP BY clause in the SELECT statement?
If you want to use aggregate functions and at least one component in the field list is a column identifier
44
Why are these incorrect statements? TYPES: date_ty TYPE D LENGTH 10 TYPES: Str TYPE STRING LENGTH 20
Date has only 8 characters Strings can't have 20 characters, too many
45
Function modules provide which types of parameters?
Output Input/Ouput (changing) Input Exceptions
46
If you are using external debugging (debugging of HTTP and RFC requests, which arrive in your ABAP system), what will the Debugger do?
May or may not stop, depending on external factors
47
What can you do with the code inspector?
Create an object set to represent programs and objects to be inspected Create only local inspections, objects sets and check variants
48
Which of the following elements can a string template contain?
Literals String processing statements
49
You want to move a transport request from the development system to the subsequent system. Which of the following are prerequisites for this?
All objects included in the transport request must be activated The transport request must be released
50
When should you use a hashed internal table?
When accessing always by primary key When accessing mainly single records
51
You have written a method implementation containing the following access to an internal table defined as a changing parameter of the method. READ TABLE ct_itab INDEX 1 TRANSPORTING NO FIELDS. What are the possible type definitions for parameter ct_itab?
Standard table Index table Sorted table
52
The software component for a customer package can be..
HOME
53
When starting the Debugger, what circumstance causes the runtime error DEBUGGING_NOT_POSSIBLE?
Starting a non-exclusive mode in a production system
54
Which of the following actions Can you perform in both the ABAP editor and the ABAP debugger?
Create a break point for a specific line
55
Which are Data Types allowed in ABAP?
DECFLOAT16 DECFLOAT34
56
Which of the following is a true statement?
A package can be nested Packages use interface and visibility to make their elements visible to other packages All customers repository objects have to be assigned to a package
57
Which message types behave the same regardless of the context in which they are called?
A, and X
58
What are some of new features of open SQL in SAP netweaver 7.5?
String Expressions Case expression
59
Code that can be used in multiple programs.
``` Methods of global class Function Module in function group ```
60
Each ABAP program starts with an introductory statement. Which statements are correct?
The introductory statement must be the first statement in the program The introductory statement can be modified
61
When does SAP recommend that you use a hashed table?
When a table is very large and you want to access the table by key only
62
You want to read single line of an internal table using table expression itab[..]. How can you identify the line?
Specify a free table key Specify secondary table key Specify the Line idex
63
What is the best order to provide an event handler for an ALV?
Write the handler, create the ALV, register for the event, display the ALV
64
You are creating and inspection using the code inspector. Which entities can you select for inspections?
Contents of single object Contents of transport request Contents of an object set
65
When is the transport of development objects for a development request triggered?
When a request is released
66
What do you need to consider when creating a secondary index on a table?
The most frequently selected fields should be at the first positions in the index The index can be created for a specific database systems only
67
You display the content of an internal table using an ALV grid control. The content of the internal table changes during the program. Which CL_GUI_ALV_GRID class method can you use to display the changed content?
REFRESH_TABLE_DISPLAY in module PAI
68
What is the result of the following arithmetic operation? DATA: int TYPE I. int=5*(3/10).
0
69
How can you declare an internal table using the transparent table A as its line type?
DATA gt_itab TYPE TABLE of a
70
How do you use a sorted internal table?
You need to specify a key in the table declaration You can read the records by index or key
71
You define a generic variable that can hold the ABAP types C, D, N, STRING, and T. You want to restrict the use of other ABAP types. Which generic data type must you use in the definition?
CLIKE
72
Which desktops are part of the new ABAP debugger?
Desktop 1 Break./Watchpoints Objects
73
Which of the following statement correctly define a date object with the type of data element s_conn_id?
PARAMETER gv_id TYPE s_conn_id DATA gv_id TYPE s_conn_id CONSTANTS gv_id TYPE s_conn_id VALUE '0400'
74
Which statement cannot use a subquery
None of the above
75
What is the maximum number of watchpoints that can exist at one time?
No limit
76
SELECT SINGLE col1, col2, col3, col4 from SPFLI INTO gs_spfli WHERE col1 = val1 AND col2 = val2 How fields in the table list of the SELECT statement copied to the target gs_spfli.
They are copied from left to right
77
Which actions release a lock object (with a default value for _SCOPE)?
``` COMMIT The display of a dialog message type A DEQUEUE_ An /n in the command field ROLLBACK WORK ```
78
What does Software Layer Aware Debugging allow you to do?
Debug a small portion of code Specify as much or as little code to debug Debug a large portion of code
79
Where you can define the local data type
Function module Subroutine Static method
80
Which prerequisites must be fulfilled before a repository object can be transported?
A transport layer must be assigned to the package | The repository object must be assigned to a change request
81
What options do you have when setting a watchpoint?
Stop at any change of a specific variable | Stop at predefined conditions for a specific variable
82
Which comparison operators can you use in a logical expression related to the WHERE clause of the SELECT statement?
LIKE (its pattern) EQ (equals) GT (Greater than)
83
FORM routines (subroutines) can be used in which program types?
Module pools Executables Function groups Subroutine pools
84
You want to loop over an internal table without copying each table row to the work area. How can you achieve this using field symbol?
Loop...Assigning...endloop
85
What parameters can you set when you run the code inspector?
inspection name check variant name Object set name
86
You want to define a field symbol that will be assigned to character string. Which generic type can you use?
Clike Any Csequence
87
You want to deploy a program that processes character type data. When you implement the program you can either used classical string statements or the newer string expressions and functions. what are the main benefit of using the newer string expressions and string functions?
You can reduce the number of intermediate variables You can write compact syntax instead a long sequence of statements
88
What must you sort out before you can create a new transportable function module?
Transport request Package Function group
89
How many kinds of internal tables are supported in the ABAP language?
3
90
Which of the following values are replaceable in debugger mode?
Variables
91
What scheduling technique is used by the ABAP debugger dispatcher for processing user requests?
First in, first out
92
You define a formal parameter to a subroutine that accepts only internal table of type standard and type sorted as actual parameters. Which of the following generic ABAP data types must you use?
Index table
93
Which of the following tools belong to the ABAP Workbench?
Screen painter Class builder Function builder
94
What is the default length of the type C data type?
1
95
You are making changes to a program that already has a transaction code linked to it. Your colleague is testing the transaction in your development system. At what point can the changed version of the program be tested?
When you activate the program
96
In which modularization units can you use parameters?
Function modules Methods Subroutines
97
Which of the following types of SQL statements always bypass the SAP table buffers?
``` SELECT....INNER JOIN SELECT SUM (Sales) ```
98
Which of the following statements create a data object?
Constants Class - data Parameters