ABAP 4

Description

TAW10 - parte 2 - hasta capitulo 7
Jose Bermejo
Quiz by Jose Bermejo, updated more than 1 year ago
Jose Bermejo
Created by Jose Bermejo over 4 years ago
846
0

Resource summary

Question 1

Question
Which of the following statements are true? There are 3 correct answers to this question.
Answer
  • You cannot use a pooled or cluster table for a database view.
  • The tables included in the maintenance view should have foreign key relationships.
  • The tables included in the help view should have a foreign key relationship.
  • Projection views can have more than one table included for the view definition.

Question 2

Question
You 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.
Answer
  • Insert ZZPRICE at the end of the table
  • Create an append structure and add ZZPRICE to it.
  • Add ZZPRICE to the customizing include for the table
  • Insert ZZPRICE into an SAP structure for the table

Question 3

Question
You 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.
Answer
  • Define an append structure with these two fields and assign this append structure to both 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.
  • Define a structure with these two fields and include this structure in both database tables

Question 4

Question
When 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.
Answer
  • XSTRING
  • STRING
  • N
  • T
  • X
  • D
  • C
  • F

Question 5

Question
Which of the following can you define in the technical settings of a transparent table? There are 3 correct answers to this question.
Answer
  • Table name
  • Buffering type
  • Data class
  • Size category
  • Delivery class

Question 6

Question
Which boundary conditions lead to improved access time to an internal table? There are 3 correct answers to this question.
Answer
  • Fully qualified key for sorted tables
  • Left justified part of key for hashed tables
  • Left justified part of key for sorted tables
  • Index access for standard tables
  • Index access for hashed tables

Question 7

Question
An 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.
Answer
  • 1. INITIALIZATION 2. AT SELECTION-SCREEN OUTPUT 3. AT SELECTION-SCREEN 4. START-OF-SELECTION
  • 1. INITIALIZATION 2. AT SELECTION-SCREEN OUTPUT 3. START-OF-SELECTION 4. AT SELECTION-SCREEN
  • 1. AT SELECTION-SCREEN OUTPUT 2. INITIALIZATION 3. AT SELECTION-SCREEN 4. START-OF-SELECTION
  • 1. INITIALIZATION 2. AT SELECTION-SCREEN 3. AT SELECTION-SCREEN OUTPUT 4. START-OF-SELECTION

Question 8

Question
Which of the following can you assign a search help to? There are 3 correct answers to this question
Answer
  • Table type
  • Check table
  • Structure component
  • Data element
  • Domain

Question 9

Question
Which of the following ABAP standard types are numeric? There are 3 correct answers to this question.
Answer
  • F
  • D
  • N
  • I
  • P

Question 10

Question
You want to add a field type CURR to a transparent table. What else must you do? Please choose the correct answer.
Answer
  • Add a key fieldof type CUKY.
  • Add a check table that contains a field of type CUKY.
  • Create a reference to a field of type CUKY.
  • Create a new field CUKY as a pre-defined type.

Question 11

Question
In 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.
Answer
  • 1
  • 10
  • 15
  • 0

Question 12

Question
Which of the following data types are predefined ABAP data types? There are 3 correct answers to this question.
Answer
  • XSTRING
  • FLOAT
  • DECIMALS
  • STRING
  • DECFLOAT34

Question 13

Question
To which ABAP Dictionary definition can you assign fixed values? Please choose the correct answer.
Answer
  • Field of a transparent table
  • Data element
  • Component of a structure
  • Domain

Question 14

Question
What is the SAP recommended naming convention for append structures of standard SAPtables? Please choose the correct answer.
Answer
  • The components of an append structure should start with ZZ or YY.
  • The name of the append structure must start with ZA.
  • The name of the append structure must start with ZZ or YY.
  • The components of an append structure should start with Z or Y.

Question 15

Question
What are the prerequisites when creating an append structure for a standard SAP table? There are 2 correct answers to this question
Answer
  • The table must be copied before the append structure can be created
  • The fields in the append structure should star with YY or ZZ
  • The enhancement category of the table is NOT set to ‘Not enhacable’
  • The table cannot have any fields of type FLTP

Question 16

Question
Which ABAP statement using the local type gty_1 correctly defines a data object? There are 2 correct answers to this question.
Answer
  • DATA gv_1 TYPE gty_1.
  • DATA gv_1 TYPE gty_1 DEFAULT '1'.
  • CONSTANTS gc_1 TYPE gty_1 VALUE '1'
  • DATA gv_1 LIKE gty_1.

Question 17

Question
Which of the following can you do with the ABAP debugger? There are 3 correct answers to this question.
Answer
  • Compare data objects.
  • Analyze memory usage.
  • Change source code
  • Analyze internal tables
  • Analyze SQL traces.

Question 18

Question
The order of fields for a transparent table in the database… Please choose the correct answer.
Answer
  • Is created in the order of the Data Dictionary.
  • Is created in the order of the ABAP Dictionary.
  • Needs to match the ABAP Dictionary.
  • Is allowed to be different than the ABAP Dictionary.

Question 19

Question
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? Please choose the correct answer.
Answer
  • SELECT … . ENDSELECT.
  • SELECT SINGLE …
  • SELECT … INTO TABLE …
  • SELECT SINGLE … FOR UPDATE

Question 20

Question
What do you have to take into account before you decide to buffer a table? Please choose the correct answer.
Answer
  • The entire table content must be loaded into the table buffer
  • The database server must allow table buffering
  • The data read from the buffer may NOT be current
  • The data must always be read from the buffer

Question 21

Question
What will happen at runtime when accessing a buffered table? Please choose the correct answer.
Answer
  • Following an update to a buffered record, all table buffers in the system will be updated.
  • If table data is read using indexes, the table buffer will not be filled.
  • All SELECT statements will read data from the buffer.
  • If data is read from the table buffer, the existing indexes are not used.

Question 22

Question
In which circumstances is a table considered to be a text table? There are 3 correct answers to this question.
Answer
  • The ABAP runtime system determines that the relationship exists.
  • This table has a foreign key to the data table as a text table.
  • This table only has one character-based data field.
  • The entire key of this data table is included as the key to this table.
  • This table has an additional language key field.

Question 23

Question
A 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.
Answer
  • 1.UPD_VEHI_A 2.UPD_TRAN_B
  • 1. UPD_TRAN_A 2. UPD_VEHI_B
  • 1. UPD_TRAN_B 2. UPD_VEHI_B
  • 1.UPD_VEHI_A 2.UPD_TRAN_A

Question 24

Question
You 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.
Answer
  • At the beginning of the START-OF-SELECTION event block
  • When the assignment to gv_var2 is executed
  • When the value ‘123’ is assigned to the data object
  • As soon as the program is loaded into thie internal session

Question 25

Question
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? Please choose the correct answer.
Answer
  • Change the Data Class and Size category in the technical settings.
  • Provide the correct reference field for the Currency or Quantity field.
  • Select the option Not Classified from the enhancement category.
  • Select any option other than Not Classified from the enhancement category

Question 26

Question
What 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
Answer
  • A database view can be buffered
  • An outer join can only be implemented in a database view
  • A secondary index can be created for a database view
  • A database view can be reused in other programs

Question 27

Question
Which elementary field types are considered a character type? There are 5 correct answers to this question.
Answer
  • N
  • T
  • I
  • X
  • XSTRING
  • C
  • D
  • STRING
  • F

Question 28

Question
Table 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.
Answer
  • SELECT SINGLE FOR UPDATE a b FROM table A INTO CORRESPONDING FIELDS OF ls_A WHERE c EQ ‘1234’.
  • SELECT 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.
  • SELECT a b FROM table A INTO CORRESPONDING FIELDS OF TABLE lt_AB
  • SELECT SINGLE CLIENT SPECIFIED a b FROM table A INTO CORRESPONDING FIELDS OF ls_AB.

Question 29

Question
Where are fixed values for fields stored? Please choose the correct answer.
Answer
  • Data element
  • Field
  • Domain
  • Structure
  • Table

Question 30

Question
What do you need to consider when creating a secondary index on a table? There are 2 correct answers to this question
Answer
  • The most frequently selected fields should be at the first positions in the index
  • The index can be created for specific database systems only
  • The table will be updated more quickly if you create more indexes
  • The index must always be unique
Show full summary Hide full summary

Similar

Basic Insurance Concepts & Principles (Fourth Edition - 2013) from SCI website
shuiziliu
Analysing Text
amberbob27
Human Reproduction (IGCSE Biology)
Emily Woods
Ma Famille
caitlindavies8
Mapa Conceptual de Liderazgo
gabbi.mendoza
Health and Social Care
Kelsey Phillips
Organic Nomenclature
mahnoor.gohar
Psychology Key Words Research Methods
Alfie Moorhead
AS Sociology - Families and Households functionalist perspective.
Camille Bailey
Power and Conflict Poetry
Charlotte Woodward
1PR101 2.test - Část 7.
Nikola Truong