ABAP Programming Fundamentals: Key Concepts Q&A
Classified in Computers
Written on in
English with a size of 4.67 KB
ABAP Fundamentals: Key Concepts and Technical Q&A
Review essential knowledge points covering ABAP syntax, data structures, system fields, and event processing.
Client Dependency in ABAP Dictionary Tables
If a table does not have
MANDTas part of the primary key, it is:Client-independent
Invalid ABAP CALL Statement
In regard to
CALL, which of the following is NOT a valid statement?CALL PROGRAM
Characteristics of Transparent Tables
Name the type of ABAP Dictionary table that has these characteristics:
- Same number of fields as the database table
- Same name as the database table
- Maps 1:1 to the database table
Transparent Table
ABAP Event Structure
An event starts with an event keyword and ends with:
Another event keyword
System Field for Current Date
What is the system field for the current date?
SY-DATUM
Understanding APPENDING TABLE Clause
The following code indicates:
SELECT fld1 fld2 FROM tab1 APPENDING TABLE itab WHERE fld1 IN sfld1.Add rows to the existing rows of
itab.Modifying ABAP Constants
You may change the following data object as shown below so that it equals 3.14:
CONSTANTS: PI TYPE P DECIMALS 2 VALUE '3.1'. PI = '3.14'.FALSE (Constants cannot be changed.)
SAP Locking Service for Data Integrity
The SAP service that ensures data integrity by handling locking is called:
Enqueue/Dequeue
The GET LATE Event Description
Which of these sentences most accurately describes the
GET VBAK LATEevent?This event is processed after all occurrences of the
GET VBAKevent are completed.Hashed Internal Table Performance
Which of the following is not a true statement regarding a hashed internal table type?
Response time for accessing a row depends on the number of entries in the table. (Hashed tables offer near-constant access time.)
Database-Specific SQL in ABAP
To include database-specific SQL statements within an ABAP program, code them between:
EXEC SQL and ENDEXEC
Measuring Code Execution Time
To measure how long a block of code runs, use the ABAP statement:
GET RUN TIME FIELD
Obsolete Internal Table Declaration
Given the declaration:
DATA: BEGIN OF itab OCCURS 10,This will result in: None of the above. (This syntax is obsolete and defines a header line.)
SY-TFILL After DESCRIBE TABLE
After a
DESCRIBE TABLEstatement,SY-TFILLwill contain:The number of rows in the internal table.
Declaring Custom Internal Table Types
You may declare your own internal table type using the
TYPESkeyword.TRUE
Mixing COLLECT and APPEND
After adding rows to an internal table with
COLLECT, you should avoid adding more rows withAPPEND.TRUE
Control Break Processing Components
Which of the following is not a component of control break processing when looping at an internal table?
AT START OF (Note: This answer is likely intended to be an incorrect option from a list, as AT START OF is a valid control break event.)
Using the TABLES Statement
A dictionary table is made available for use within an ABAP program via the
TABLESstatement.FALSE (The TABLES statement is obsolete.)
Hiding Selection Criteria
Which statement would be best for hiding further selection criteria until a function is chosen?
CALL SELECTION-SCREEN
Flow Logic Condition for Non-Initial Values
What must you code in the flow logic to prevent a module from being called unless a field contains a non-initial value?
ON INPUT
Triggering AT USER-COMMAND
The
AT USER-COMMANDevent is triggered by functions defined in the:Menu Painter Status