Quiz
ABAP 4
Perguntas do quiz (30)
1Which of the following statements are true?
There are 3 correct answers to this question.- AYou cannot use a pooled or cluster table for a database view.
- BThe tables included in the maintenance view should have foreign key relationships.
- CThe tables included in the help view should have a foreign key relationship.
- DProjection views can have more than one table included for the view definition.
2You want to add a field ZZPRICE to the SAP standard transparent table EKKO.
Which of the following actions result in an enhancement of the SAP standard?
There are 2 correct answers to this question.- AInsert ZZPRICE at the end of the table
- BCreate an append structure and add ZZPRICE to it.
- CAdd ZZPRICE to the customizing include for the table
- DInsert ZZPRICE into an SAP structure for the table
3You want to define two database tables with different structures. Both tables should contain the fields CHANGE_DATE and CHANGE_TIME.
How do you implement this in order to minimize the maintenance effort?
Please choose the correct answer.- ADefine an append structure with these two fields and assign this append structure to both database tables.
- BDefine the two fields in one database table and copy them to the other database table.
- CDefine the two fields in each database table separately.
- DDefine a structure with these two fields and include this structure in both database tables
4When included in a structure, which elementary field types allow the structure to be considered a character-type data object?
There are 4 correct answers to this question.- AXSTRING
- BSTRING
- CN
- DT
- EX
- FD
- GC
- HF
5Which of the following can you define in the technical settings of a transparent table?
There are 3 correct answers to this question.- ATable name
- BBuffering type
- CData class
- DSize category
- EDelivery class
6Which boundary conditions lead to improved access time to an internal table?
There are 3 correct answers to this question.- AFully qualified key for sorted tables
- BLeft justified part of key for hashed tables
- CLeft justified part of key for sorted tables
- DIndex access for standard tables
- EIndex access for hashed tables
7An executable ABAP program contains a standard selection screen and uses the event blocks AT SELECTION SCREEN, AT SELECTION-SCREEN OUTPUT, INITIALIZATION, START-OFSELECTION.
In which sequence will ABAP runtime call these event blocks?
Please choose the correct answer.- A1. INITIALIZATION
2. AT SELECTION-SCREEN OUTPUT
3. AT SELECTION-SCREEN
4. START-OF-SELECTION - B1. INITIALIZATION
2. AT SELECTION-SCREEN OUTPUT
3. START-OF-SELECTION
4. AT SELECTION-SCREEN - C1. AT SELECTION-SCREEN OUTPUT
2. INITIALIZATION
3. AT SELECTION-SCREEN
4. START-OF-SELECTION - D1. INITIALIZATION
2. AT SELECTION-SCREEN
3. AT SELECTION-SCREEN OUTPUT
4. START-OF-SELECTION
- A1. INITIALIZATION
8Which of the following can you assign a search help to?
There are 3 correct answers to this question- ATable type
- BCheck table
- CStructure component
- DData element
- EDomain
9Which of the following ABAP standard types are numeric?
There are 3 correct answers to this question.- AF
- BD
- CN
- DI
- EP
10You want to add a field type CURR to a transparent table. What else must you do?
Please choose the correct answer.- AAdd a key fieldof type CUKY.
- BAdd a check table that contains a field of type CUKY.
- CCreate a reference to a field of type CUKY.
- DCreate a new field CUKY as a pre-defined type.
11In addition to the primary key of an internal table, how many secondary indexes can you define for an internal table?
Please choose the correct answer.- A1
- B10
- C15
- D0
12Which of the following data types are predefined ABAP data types?
There are 3 correct answers to this question.- AXSTRING
- BFLOAT
- CDECIMALS
- DSTRING
- EDECFLOAT34
13To which ABAP Dictionary definition can you assign fixed values?
Please choose the correct answer.- AField of a transparent table
- BData element
- CComponent of a structure
- DDomain
14What is the SAP recommended naming convention for append structures of standard SAPtables?
Please choose the correct answer.- AThe components of an append structure should start with ZZ or YY.
- BThe name of the append structure must start with ZA.
- CThe name of the append structure must start with ZZ or YY.
- DThe components of an append structure should start with Z or Y.
15What are the prerequisites when creating an append structure for a standard SAP table?
There are 2 correct answers to this question- AThe table must be copied before the append structure can be created
- BThe fields in the append structure should star with YY or ZZ
- CThe enhancement category of the table is NOT set to ‘Not enhacable’
- DThe table cannot have any fields of type FLTP
16Which ABAP statement using the local type gty_1 correctly defines a data object?
There are 2 correct answers to this question.- ADATA gv_1 TYPE gty_1.
- BDATA gv_1 TYPE gty_1 DEFAULT '1'.
- CCONSTANTS gc_1 TYPE gty_1 VALUE '1'
- DDATA gv_1 LIKE gty_1.
17Which of the following can you do with the ABAP debugger?
There are 3 correct answers to this question.- ACompare data objects.
- BAnalyze memory usage.
- CChange source code
- DAnalyze internal tables
- EAnalyze SQL traces.
18The order of fields for a transparent table in the database…
Please choose the correct answer.- AIs created in the order of the Data Dictionary.
- BIs created in the order of the ABAP Dictionary.
- CNeeds to match the ABAP Dictionary.
- DIs allowed to be different than the ABAP Dictionary.
19In 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?
Please choose the correct answer.- ASELECT … . ENDSELECT.
- BSELECT SINGLE …
- CSELECT … INTO TABLE …
- DSELECT SINGLE … FOR UPDATE
20What do you have to take into account before you decide to buffer a table?
Please choose the correct answer.- AThe entire table content must be loaded into the table buffer
- BThe database server must allow table buffering
- CThe data read from the buffer may NOT be current
- DThe data must always be read from the buffer
21What will happen at runtime when accessing a buffered table?
Please choose the correct answer.- AFollowing an update to a buffered record, all table buffers in the system will be updated.
- BIf table data is read using indexes, the table buffer will not be filled.
- CAll SELECT statements will read data from the buffer.
- DIf data is read from the table buffer, the existing indexes are not used.
22In which circumstances is a table considered to be a text table?
There are 3 correct answers to this question.- AThe ABAP runtime system determines that the relationship exists.
- BThis table has a foreign key to the data table as a text table.
- CThis table only has one character-based data field.
- DThe entire key of this data table is included as the key to this table.
- EThis table has an additional language key field.
23A transport company keeps track of this availability in two tables, table VEHICLES and table TRANSPORT. To accept a new transport of a certain capacity must be found in table VEHICLES. If a record is found, a record is created in table TRANSPORT. The capacity is then adjusted in table VEHICLES.\
You have four function modules at your disposal.
UPD_VEHI_A and UPD_VEHI_B update a matching report in table VEHICLES. If an error occurs both issue a message of type X. If no error occurs only UPD_VEHI_A issues a message of type X. If no error occurs UPD_VEHI_A issues a message of type I.
UPD_TRAN_A and UPD_TRAN_B create a single record in table TRANSPORT. If an error occurs both issues a message of type X. If no error occurs only UPD_TRAN_A issues a message of type I.
Which of the following function module calls ensures a single logical unit of work?
Please choose the correct answer.- A1.UPD_VEHI_A
2.UPD_TRAN_B - B1. UPD_TRAN_A
2. UPD_VEHI_B - C1. UPD_TRAN_B
2. UPD_VEHI_B - D1.UPD_VEHI_A
2.UPD_TRAN_A
- A1.UPD_VEHI_A
24You run an executable program which 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’.
At what point does the system reserve memory for the data object gv_var1?
Please choose the correct answer.- AAt the beginning of the START-OF-SELECTION event block
- BWhen the assignment to gv_var2 is executed
- CWhen the value ‘123’ is assigned to the data object
- DAs soon as the program is loaded into thie internal session
25You 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?
Please choose the correct answer.- AChange the Data Class and Size category in the technical settings.
- BProvide the correct reference field for the Currency or Quantity field.
- CSelect the option Not Classified from the enhancement category.
- DSelect any option other than Not Classified from the enhancement category
26What are the advantages of creating a database view to implement a join, instead of formulating the join directly in an Open SQL SELECT statement?
There are 2 correct answers to this question- AA database view can be buffered
- BAn outer join can only be implemented in a database view
- CA secondary index can be created for a database view
- DA database view can be reused in other programs
27Which elementary field types are considered a character type?
There are 5 correct answers to this question.- AN
- BT
- CI
- DX
- EXSTRING
- FC
- GD
- HSTRING
- IF
28Table A and table B are partially buffered.
Which of the following SELECT statements always access the database?
There are 2 correct answers to this question.- ASELECT SINGLE FOR UPDATE a b FROM table A INTO CORRESPONDING FIELDS OF ls_A WHERE c EQ ‘1234’.
- BSELECT a b c d FROM table A JOIN table B ON table A~a EQ table B~
eINTO CORRESPONDING FIELDS OF TABLE lt_A_B. - CSELECT a b FROM table A INTO CORRESPONDING FIELDS OF TABLE lt_AB
- DSELECT SINGLE CLIENT SPECIFIED a b FROM table A
INTO CORRESPONDING FIELDS OF ls_AB.
29Where are fixed values for fields stored?
Please choose the correct answer.- AData element
- BField
- CDomain
- DStructure
- ETable
30What do you need to consider when creating a secondary index on a table?
There are 2 correct answers to this question- AThe most frequently selected fields should be at the first positions in the index
- BThe index can be created for specific database systems only
- CThe table will be updated more quickly if you create more indexes
- DThe index must always be unique
Informações
- Descrição
- TAW10 - parte 2 - hasta capitulo 7
- Autor
- Jose Bermejo
- Idioma
- Español
- Visualizações
- 884
- Etiquetas
- Avaliação
- 4,0 de 5 · 1 avaliação Avalie este quiz