Examen All Taw10!1!2
Examen All Taw10!1!2
Examen All Taw10!1!2
After Database is re-organized Immediately, providing the object is activated Next time user signs on Next time program is re-generated
Which fields are used for sorting the internal table itab in the following code Types: begin of itab_structure, Field1 type p, Field2 type c, Field3 type I, Field4 type n, end of itab_structure. Data: itab type table of itab_structure. Sort itab. Field2, Field4 Field2 Field1 Field1, Field3
What will be written to the list in the following code. Assume all defaults are taken when the function was defined. Data: fielda(4) type c. fielda = AAAA .
TAW10 1/2 ABAP Workbench Fundamentals Call Function Z_TEST_FUNCTION Exporting f_fielda = fielda. Write fielda. Function Z_TEST_FUNCTION Importing f_fielda Exporting f_fieldb f_fielda = f_fieldb = BBBB . CCCC BBBB AAAA CCCC
The User The Programmer The Dispatcher The run time system
Reduces the size of the generated load module Hides the code between keywords Limits the functionality of runtime analysis to base features Provides the ability to powertype key words
Refer to the following code. What is the value of Field1 and Field 2 SPLIT 'SAPDOMAIN' AT 'DO' INTO FIELD1 FIELD2. Field1 contains 'DO', Field2 contains 'DOMAIN' Field1 contains 'SAP', Field2 contains 'MAIN' Field1 contains 'SAPDO', Field2 contains 'MAIN'
(More than one answer is correct) CREATELIST GETDETAIL UPDATEDETAIL GETLIST CREATEFROMDATA
10
What statement is used in ABAP programming to check if a user is authorized to perform an action
11
What is the value of result after the following code is executed. Assume that the user default is set to Fixed Point Arithmetic DATA: result TYPE p DECIMALS 2. Result = '3000.00' * '0.30'. result = 90000.00 result = 900.00 result = 9000000 result = 900.0000
12
Identify the servers of which only one can exist in an R/3 system.
TAW10 1/2 ABAP Workbench Fundamentals (More than one answer is correct) One application server One database server One enqueue server One message server One presentation server
13
How much memory is reserved for the data object input_record in the following statement. Types: begin of rec_type, flag type c, count(3) type c, today type d, end of rec_type. Data: input_record type rec_type. 0 bytes 12 bytes 5 bytes 4 bytes
14
What interface parameter would you check to determine the success of a BAPI call
Exceptions Parameter 'RETURN' Dictionary Structure BAPIRET2 Export Parameter 'sy-subrc' Export Parameter 'RETURN'
15
In the case of a function, Identify the item that is not a valid interface element
16
to uniquely identify each object in a large project independent 3rd party development projects small internal projects
17
18
19
a program that asks for info from another system a software component that provides a service a Unix server a service that makes a request to the client
20
21
The user has an authorization containing the required values The user does not have the required authorization The authorization check used the incorrect authorization object
22
The authorization concept is used to restrict access to servers and work processes The authorization concept is used to restrict access to users The authorization concept is used to restrict access to the dictionary The authorization concept is used to restrict access to data and transactions
23
24
How many column headers are displayed on the screen in a standard list
25
On the Program Attributes screen, mark the fields that are mandatory when creating a program.
TAW10 1/2 ABAP Workbench Fundamentals (More than one answer is correct) Title Program Name Application Type Status
26
27
Static data records that have a long life are considered to be:
28
29
30
If you do not want to carry out a check for a field, it must contain the value "DUMMY" Fields of the Authority-check are optional The Authority-check object must be in your profile
31
What is the effect when a CLEAR statement is used on an internal table without header line
Nothing All the lines of the table are deleted All the lines of the table are initialized The work area is intitialized
32
What is the result of the following date calculation. Assume current date is 20001220 Data: Today(8) type C. Today = sy-datum. Today = 10. 20001220 10 20011210 10001220
33
34
8 8
35
Structure MY_STRUCTURE is created in the dictionary. When does the structure get created in the underlying database
It does not correspond to an object in the underlying database and does not get created When the table is activated When the database administrator physically creates the table At the beginning of the table creation At the end of the table creation after it is saved.
36
(More than one answer is correct) Defines permissable values for each authorization field listed in the authorization object An authorization is defined in the program attributes It is attached to profiles
37
38
TAW10 1/2 ABAP Workbench Fundamentals Start program in background mode In Development workbench, set breakpoint In the program editor, set breakpoint Put a break-point statement in your program code
39
No effect Forms are less flexible and are guaranteed no chance of a run time error Conversion never occurs Conversion always occurs Forms are more flexible but prone to a short dump if conversion does not work
40
(More than one answer is correct) One Application server and many Database servers One Application server and one Database server Many Application servers and one Database server No Application server and one Database server
41
42
Where does the message get issued in the following. Report ZPROGA. Data: fielda type c. Call Function Z_TEST_FUNCTION Exporting fielda = fielda Exceptions No_Entry = 01 Failure = 02. 10
TAW10 1/2 ABAP Workbench Fundamentals If sy-subrc = 01. Message E123. Endif. Function Z_TEST_FUNCTION Importing f_fielda Exporting f_fieldb Exceptions No_Entry Failure Message E123 Raising No_Entry It willl abend in the runtime system In Program ZPROGA and Function Z_TEST_FUNCTION In Function Z_TEST_FUNCTION In Program ZPROGA
43
(More than one answer is correct) manages communication media builds screen sequences automates executon of activities controls information flow
44
What does the following statement mean Write 'Hello'(001) Write 'Hello'(001) This is not a valid statement If Text Element 001 is not in your login language, then 'Hello' is displayed Add the variable 'Hello' to message 001 Write out 'Hello' and the contents of text element 001
45
What can occur if a conversion rule does not exist for fields of incompatible data types
11
TAW10 1/2 ABAP Workbench Fundamentals A run time error for dynamically defined fields A syntax error for statically defined fields A syntax error for dynamically defined fields A run time error for statically defined fields
46
47
Authorization Objects contain permissable values for the fields Groups up to 10 authorization fields in an AND relationship Groups up to 10 authorization fields in an OR relationship
48
49
Refer to the following Code. What is the value of sy-fdpos and sy-subrc after the search is executed Data: mystring type c value 'SAPDOMAIN'. Search mystring for 'X' sy-fdpos = 4 and sy-subrc = 4 sy-fdpos = 4 and sy-subrc = 0 sy-fdpos = 0 and sy-subrc = 0 sy-fdpos = 0 and sy-subrc = 4 12
50
51
An ABAP program makes calls to function modules from the same function group. What happens with the Global data from the function group
(More than one answer is correct) Function modules from the same function group can access the global data when they are called The global data remains available for the duration of the calling program The global data is reinitialized for each new call The global data remains active for the duration of the function call only
52
What method of Class CL_GUI_ALV_GRID would be used to display the contents of an internal table
53
What is the value of result after the following code is executed DATA: result TYPE I. result = 5 / 10. result = 0 result = .5 result = 2 result = 1 13
54
(More than one answer is correct) Types: t_mytab like lfa1. Types: t_mytab type lfa1 of standard table. Type: t_mytab type lfa1. Types: t_mytab type lfa1.
55
F FZ Y_ or Z_ Y or Z
56
What happens in the case when a formal parameter typed with 'TYPE ANY' is used
formal parameter takes on the type of the actual parameter Syntax Error Conversion routines from the Domain are executed Conversion routines from the Data Element are executed
57
14
Multiple application servers a presentation, application and database server dispatcher, work processes, and services work processes only
59
60
61
At what point does the standard selection screen (as a result of a select-options) get displayed
Before the Report Statement Prior to Initialization event After Initialization event At Start-of-Selection event
62
(More than one answer is correct) Input validation Hiding input fields 15
63
64
65
(More than one answer is correct) Stored calculated values on the presentation server Increased Database Load Smaller and simpler Programs Reuseability Object oriented Programming
66
What system parameter is responsible for setting the time-out on a long running dialog transaction
67
What is the value of ZFIELDB after the last line of the following code is executed
16
TAW10 1/2 ABAP Workbench Fundamentals Data: ZFIELDA(5) type c value 'ABCDE'. ZFIELDB(4) type c. ZFIELDA = XX . Clear ZFIELDA. ZFIELDB = ZFIELDA. BCDE ABCDE Spaces ABCD
68
Program abend Uses linear search rather than binary Breaks the sort sequence Syntax error
69
70
You are in screen painter. What is a requirement when assigning program fields to the screen
data objects must be activated in the dictionary the program must be activated the fields attributes have to be manually defined in the screen painter the data objects must be activated
71
Cobol 17
72
What is the effect of the EXIT statement in the following code Report ABC Data: .. Start-of-Selection. Perform Form A. End-of-Selection. Form A. Loop at inttab. ... Exit. Endloop. Endform. Exits the Form Exits the Loop Exits the Program Exits the Start-of-Selection Event
73
What is written to the report in the following code Data: Fielda type i value 1. Perform Calculate_Sales. Fielda = fielda + 1. write:/ fielda. Form Calculate_Sales. Data: Fielda type I value 2. Fielda = Fielda + 2. Endform. 1 2 4 3 5
74
18
(More than one answer is correct) Standard Indented Sorted Key Hashed
75
Dispatches tasks to non R3 systems Issues SQL requests to the underlying database Controls resources for the R/3 applications Manages services between R/3 systems
76
Which statement is valid for processing internal table itab.Data: itab type table of zmytab with header line.
Loop at itab.Endtab. Loop at itab where id = A .Endloop. Loop where itab-id = A .Endloop. Loop at itab where itab-id = A .Endloop.
77
Where only numbers are allowed and there is a need for arithmetic operations Where only numbers are allowed and there is no need for arithmetic operations Where there is a need for numbers, characters, and arithmetic operations
78
TAW10 1/2 ABAP Workbench Fundamentals Run RDDMASG0 Run SPDD to adjust dictionary objects
79
What part of an SAP system is responsible for converting OPEN SQL statements to Native SQL
80
What is true of passing by value and result in the following code. Perform calculate_sales using amount. FORM calculate_sales changing value(f_amount) (More than one answer is correct) Formal parameter is not copied to memory space of actual parameter Formal parameter is copied to memory space of actual parameter at the end of the form The address of the actual parameter is passed to the formal parameter Formal Parameter f_amount is allocated it s own memory space
81
82
TAW10 1/2 ABAP Workbench Fundamentals Customizing Organizer ABAP WorkBench Repository Infosys
83
84
85
86
(More than one answer is correct) only called programs only the current program named programs locally
87
How would you clear the body of an internal table (with a header line).
21
(More than one answer is correct) Clear ITAB[] Refresh ITAB Clear ITAB Refresh ITAB []
88
(More than one answer is correct) distributing transaction load organizing communication performing program syntax checks assigning users to work processes
89
When a CREATE OBJECT statement is processed When a method of an object is called When the program is loaded When the reference variable for the class is defined
90
What system field would you query to determine the current detail list
91
Mark the valid syntax and usage of the message statement. Assume the message class UD is defined in the REPORT statement.
TAW10 1/2 ABAP Workbench Fundamentals Message E004 Message E004(UD) Message ID UD Type E Number 0004
92
Select the one item that is not a SAP Default Navigation Button on a standard list
93
(More than one answer is correct) When calling by value, the address of the actual paramter is passed to the form The number of actual and formal parameters must be the same Type checking is performed on parameters Optional parameters are allowed
94
95
23
TAW10 1/2 ABAP Workbench Fundamentals 96 What happens to the program context once the user input from a dialog step has been processed
It remains in the buffer It get rolled in It gets rolled out It remains in the database
97
98
99
100
TAW10 1/2 ABAP Workbench Fundamentals on the operating system on the database server
101
Which software component in the work process is responsible for controlling commits and rollbacks
102
Smallest units in ABAP Processing units that execute based on their position in the source code An active section of program code Processing areas for the Global Data of a program
103
(More than one answer is correct) Specify the INDEX Specify the full key Sort the table first by the key Use the TABLE KEY option Use UNIQUE KEY option
104
If you want the debugger to stop when the value of 'fielda' changes. Which option would you set in the debugger
25
TAW10 1/2 ABAP Workbench Fundamentals 105 Identify the one item that is not an ABAP Workbench tool
106
Mark the valid statement for reading an entry from an internal table of type sorted
Read Table itab by key K1 Read Table itab with Table Key K1 Read Table itab with sorted key k1 Read Table itab by binary key k1
107
Processing continues with the next processing block Processing resumes at the beginning of the next loop pass The same processing block is re-executed Processing continues with the next processing block
108
Where is the record inserted in the internal table itab. Types: begin of itab_structure, Field1 type p, Field2 type c, Field3 type I, Field4 type n, end of itab_structure. Data: itab type standard table of itab_structure. Data: wa_itab type itab_structure. Insert wa_itab into table itab. At the beginning It can't be done in the correct sorted position 26
109
110
A Program makes the function call listed below. What takes place if the function raises an exception and the calling program does not list the exception in its call to the function Call Function 'MYFUNCTION' exporting e1 = p1 importing i1 = p2 Program continues Message occurs Runtime error Program is suspended
111
(More than one answer is correct) Selection Screen Lists Business Objects Screens Logical Database
112
When creating a function using the function builder, you can set the attribute of the function to determine its processing type. What are the available processing types.
27
TAW10 1/2 ABAP Workbench Fundamentals Non Updateable Enabled Update Normal Remote-enabled
113
No other requirement exists The field must be numeric Decimals must be defined in the domain The field must be linked to another field of type CUKY
114
When objects belong to development class $TMP On Include Programs Whend comparing across instances When the task is released
115
How could you retrieve a single entry from MYTABLE . (Key fields are number, name)
Select single * from MYTABLE with keys Select * from MYTABLE where number = '01' Endselect. Select single * from MYTABLE where number = '01' and name = 'LISA'. Select * from MYTABLE where number = '01' and name = 'LISA'.
116
(More than one answer is correct) Business objects are business oriented
28
TAW10 1/2 ABAP Workbench Fundamentals Business objects provide methods to implement business functions Business objects are managed in the Business Object Repository (BOR) Business objects ONLY use BAPI's to access data Business objects require knowledge of the internal source code to be able to access the data
117
118
119
What statement will clear the entire contents of the internal table itab that has no header line. Types: begin of itab_structure, Field1 type p, Field2 type c, Field3 type I, Field4 type n, end of itab_structure. Data: itab type standard table of itab_structure. Data: wa_itab type itab_structure. Clear wa_itab Initialize itab Clear itab Initialize wa_itab
120
121
selection screen menu bar application toolbar Function key settings standard toolbar title bar
122
Database Multiple Application Servers Instance plus Database Instance plus system services
123
Constants: C1(4) type D. Constants: C1(4) type C. Constants: C1(4) type C value 'ABCD'. Constants: C1(4) type C like mytab-booking.
124
The database breaks The update task removes them at the end of the SAP LUW The update task removes them at the beginning of the SAP LUW Commit Work statement is issued 30
125
Mark the item that is not true about the Catch..EndCatch statement
the return value assigned to the system exception is stored in sy-subrc the Others option catches any runtime errors not already assigned a runtime error causes the system to go to the ENDCATCH statement a runtime error in a form called within a catch block is caught
126
Server and client are both located on the same hardware platform Client responds to a server request regardless of hardware Server and client are both located on the same software Server responds to a client request regardless of hardware
127
(More than one answer is correct) System Status Options Help Tools
128
What is the structure of the internal table when a select-options is declared in your program.
Low High Sign Option High Low Sign Operator Sign Operator High Low 31
129
(More than one answer is correct) Debugger Customizing Dictionary Trace CATT SQL Trace
130
(More than one answer is correct) Requesting an access key for a change to SAP code Issuing Problem Messages to SAP Maintaining Authorizations Booking SAP training
131
Mark the valid use of the data statement. Assume that ZBOOK-ID is a dictionary object
Data fielda(5) like zbook-id Data fielda value zbook-id Data fielda type c like zbook-id Data fielda like zbook-id
132
What is the effect of the Move-Corresponding between 2 field strings in the following code. Data: begin of fs1, Field1 type c value 1 , Field2 type n value 2 , Field3 type I value 3, end of fs1. Data: begin of fs2, Field3 type c, 32
TAW10 1/2 ABAP Workbench Fundamentals Field4 type n, Field5 type I, end of fs2. Move-Corresponding fs1 to fs2 fs2-field3 = 1 fs2-field3 = 3 All fields of fs1 are moved to fs2 fs2-field5 = 3
133
Which field gets set in the calling program if an exception occurs in a function module
134
What is the result of the following code. Assume there are 5 records in itab. Loop at itab. ctr = ctr + 1 write: sy-tabix. check ctr = 3. delete itab endloop. 12345 12334 1245 1234
135
(More than one answer is correct) It is an interface Can only be use inside SAP Can be a method of an object It is an Object It is impemented as a function 33
136
in the USER01 table In the tauth table In the user master record In the users own data
137
(More than one answer is correct) They all set sy-subrc They all set sy-fdpos They all treat the operands as type C regardless of their actual type They all distinguish between upper and lower case The actual type of each operand determines how the string processing is performed
138
139
140
Assuming you have created a data object of type c with the name ZFIELDA in your program. Which of the following is allowed 34
Data: ZFIELDA type c Data: ZFIELDA type n Constants: ZFIELDA type n Types: ZFIELDA type I
141
Refer to the following code and indicate which statements are true Data: cl_container type ref to cl_gui_custom_container, cl_grid type ref to cl_gui_alv_grid. (More than one answer is correct) cl_grid points to the object that communicates with the container control cl_grid points to the object that communicates with the ALV grid control cl_container points to the object that communicates with the ALV grid control cl_container points to the object that communicates with the container control
142
Only One At least One One for every explicit database commit One for every transaction in the SAP LUW
143
Which use of the FORM statement works successfully when passing IT to FORMA Types: Begin of line, ... End of Line. Types IT_LINE Type Standard table of line. Data IT TYPE IT_LINE. Perform FORMA using IT FORM FORMA Using P_IT like IT_LINE FORM FORMA Using P_IT like LINE FORM FORMA Using P_IT type IT_LINE FORM FORMA Using P_IT like LINE 35
144
145
Look for training courses Seek Problem resolution Search the Note database Connect to other SAP sites
146
147
for referencing an address of a field for re-assigning field types for graphic symbols on screens and lists for referencing multiple fields at the same time
148
What table contains the valid activities and values for a specific authorization object
149
150
You can use text elements with parameters Lower Case is the default Parameter objects are a maximum of 30 characters in length
151
Which part of the internal table syntax determines how abap accesses the rows of the internal table
152
What is the system variable for determining how many database operations were performed
153
Refer to the following code. What is required to successfully access the individual structure fields in the FORM Data: st_mytab like mytab. Perform write_lines using st_mytab. 37
TAW10 1/2 ABAP Workbench Fundamentals Form write_lines using rec. Write: / rec-field1, rec-field2. Endform. Rec needs to be defined LIKE mytab in the FORM Rec needs to be defined globally as a DATA object The formal parameter 'rec' ahould be referenced by value The prefix REC is not needed
154
(More than one answer is correct) Hashed Sorted Index Key Standard
155
156
157
Which statements would bypass current loop processing in the DO LOOP and continue processing with the next loop pass.
38
TAW10 1/2 ABAP Workbench Fundamentals Report ABC. Data: Start-of-Selection. Perform Form A. End-of-Selection. Form A. Do 10 Times. A = A + 1. . Enddo. Endform. (More than one answer is correct) EXIT Reject Continue CHECK with a false expression
158
write ctr1: ctr2:ctr3. write: ctr1 ctr2 ctr3. write ctr1, ctr2, ctr3. Write: ctr1, ctr2, ctr3. Chain write ctr1 ctr2 ctr3.
159
160
The statement immediately following the CATCH statement is executed in the event of an error trapped by the CATCH statement A data variable defined with type X must be defined to receive the raised error code 39
TAW10 1/2 ABAP Workbench Fundamentals A CASE statement can be used to validate the value of the error class An Endcatch statement is required
161
What does the runtime system do with dates if they are assigned to a numeric field
It leaves the date as a numeric field It calculates the number of days that have elapsed since 01.01.0001 It calculates the number of days that have elapsed since 00.00.0000 It converts the date to a julian date
162
163
(More than one answer is correct) Internet Database Presentation Communication Application
164
What system variable is reset at the exit of a loop of an internal table. i.e. Loop at itab. ... Endloop.
165
166
167
(More than one answer is correct) Classes are an instance of an object Objects can change their class Objects are an instance of a class Class is a template for an object
168
(More than one answer is correct) Import Parameters User dialogs Exceptions Export Parameters
169
41
170
171
Where does information come from when you press F1 on a screen field
Domain short text Data element documentation Search help Domain Help values
172
What are the differences between Parameters and Select-Options in a selection screen
(More than one answer is correct) Select-options use the FOR statement, Parameters use the Type statement Select-options create a single field, Parameters create multiple fields Parameters create a single field, Select-options create multiple fields Parameters use the FOR statement, Select-Options use the Type statement
173
42
TAW10 1/2 ABAP Workbench Fundamentals (More than one answer is correct) Registering changes to SAP objects Registering developers Registering changes to customer objects Registering customer objects for local development
174
175
Table ZMYTABLE is created in the dictionary. When does the table get created in the underlying database
At the end of the table creation after it is saved When the database administrator physically creates the table When the table is activated At the beginning of the table creation It does not correspond to an object in the underlying database and does not get created
176
What possibilities are made available to the user when using selection screens
(More than one answer is correct) Variants Complex Entries Type Checks Menu trees Translation Utilities
177
Which object would you interrogate to determine the length of a field on a screen.
43
178
How many fields are available for viewing in field display mode while in debugger
4 8 unlimited 2
179
180
(More than one answer is correct) Event Function Dialog Module Declarations
181
Identify the includes that would get generated if your program name is SAPMZMYPROGRAM
182
Data fielda(5) type n Data fielda(5) type t Data fielda(5) type x Data fielda(5) type c
183
184
How would you determine the program name currently being executed
45