TAW12 PART-I Flashcards
Pooled table
logical tables that must be assigned to a table pool when they are defined.
Pooled tables are used to store control data.
Several pooled tables are combined in a table pool.
Indexes for non-key fields cannot be created
Clustered table
Cluster tables are logical tables that must be assigned to a table cluster when they are defined.
Cluster tables can be used to store control data.
They can also be used to store temporary data or texts, such as documentation. Basically used to hold application data.
Advantage - data is stored in a compressed format, reducing memory space and the landscape network load for retrieving information from these tables.
Native SQL cannot be used on these tables
Database views, join statements or append statements cannot be used on these tables
indexes for non-key fields cannot be created
Table Pool
A table pool is a database table on the database made up of many pooled tables.
It contains all rows of the pooled tables assigned to it.
Many to one relationship.
Table Cluster
A table cluster is a database table on the database made up of many clustered tables.
Many to one relationship.
PAI
Process After Input
PBO
Process Before Output
Input Checks
In the PAI event, the screen makes a series of automatic input checks. These are carried out before any data is transferred to the ABAP program, and before the screen flow logic is processed.
ABAP Dictionary views
A view in ABAP Dictionary is a grouping of columns in one or more database tables in accordance with an application-specific view.
Can be used to restrict database access to specific fields (known as projection) or to specific rows (known as selection).
Views for multiple database tables use joins or subqueries to join these tables and to read the required fields and rows
Usually platform-independent.
Four different view types
Database View (Uses inner Join) Projection Views (outer join) Maintenance Views (outer join) Help views (outer join)
Search help
objects that you can use to assign input help (F4 Help) to screen fields. You can do this by creating a search help in the ABAP Dictionary and attaching it to the corresponding screen field.
Two types of search helps
Elementary search helps, They describe a search path
Collective search helps, combine several elementary search helps
Factory method
a static method that creates and then returns (as a parameter) a reference to the object of the class it belongs to
RTTI
Runtime Type Identification
A technique for obtaining all information about a data type at runtime.
implemented in ABAP Objects using description objects
ABAP Runtime Type Services (RTTS) consists of two components
RTTI
RTTC
RTTC
Runtime Type Creation
Provides the methods to create the data objects at runtime with any type definition
ABAP RTTS
allows to get the definition of variables or to create them during program execution
Field Symbol
A placeholder for data object, which points to the value present at the memory address of a data object. It does not reserve any physical memory space when we declare them. It only points to a data object at run time.
Field symbols are of two types
Typed Field Symbol
Generic Field Symbol
Typed Field Symbol
Specific field symbol declaration
FIELD-SYMBOLS: TYPE i.
Generic Field Symbol
Generic field symbol declaration
FIELD-SYMBOLS: TYPE ANY.
Data references
Point to any data objects or to their parts (components, rows of internal tables, or sections specified by offsets and lengths).
Nothing but pointers. It stores the memory address of any data object. But to access the actual data object which data reference is pointing to, we first need to deference it using dereferencing operator ->*.
Field Symbol vs Data references
Field symbol is a placeholder for data object which it is assigned and points to the content of data object, so it can be used at any operand position (no need to dereference it) and works with the content of the referenced memory area (value semantics).
Data references are pointers to data objects and it contains the memory address of data object (reference semantics). Data reference cannot be used at operand position directly; it should be dereferenced first.
two types of data references
Typed Data Reference,
Generic Data Reference
Typed Data Reference
DATA lr_num TYPE REF TO i.
CREATE DATA lr_num.