DDIC Declarations
Use
A range of structure and table definitions is required in the maintenance interface. When these relevant DDIC objects are declared, the following applies:
-
The starting point for an own implementation of a runtime and maintenance class is a data model in which at least one specialization table for TBRF150 has been created.
In the following, class CL_VALUE_REQUEST_TABLE_MNT_BRF is used again. In turn, this class uses the tables TBRF142 and TBRF144.
-
TBRF142 is displayed on the subscreen as a structure
-
TBRF144 is displayed in an SAP List Viewer
-
-
The screen structure for TBRF142 is SBRF142.
This screen structure SBRF142 is set up as follows:
-
It includes TBRF142
-
It contains complementary text fields and other additional information
-
-
The screen structure for TBRF144 is SBRF144.
This screen structure SBRF144 has the following effect:
-
It includes TBRF144
-
It also contains some complementary text fields
-
-
With TBRF144, the following additional table types exist
-
SBRF144_T
This table type is based on screen structure SBRF144.
SBRF144_T is used for the declaration of the following member tables:
-
DT_BRF144 (MT_BRF144_SCR)
-
-
TBRF144_T
This table type is based on TBRF144.
TBRF144_T is used for the declaration of the following member tables:
-
MT_BRF144_OLD
-
MT_BRF144_CUR
-
-
Example: 'Structure-like' table TBRF142
In the following table, using the "structure-like" table TBRF142 as an example, you can see:
-
Typical objects derived from the table (column DDIC)
-
Use of the derived object in the maintenance class
-
Use of the derived object in the associated function group
-
Use of the derived object in the runtime class
'Structure-like' means those tables whose entries are not displayed in an SAP List Viewer in maintenance of a BRF object.
|
DDIC |
Maintenance class |
Function group |
Runtime Class |
|
TBRF142 |
MS_BRF142_OLD TYPE TBRF142 |
Not relevant |
MS_BRF142_OLD TYPE TBRF142 |
|
TBRF142_T = Table type (TBRF142) |
Not relevant |
Not relevant |
Not relevant |
|
SBRF142 = TBRF142+X |
DS_BRF142 TYPE SBRF142 (MS_BRF142_SCR TYPE SBRF142) |
TABLES SBRF142. Screen elements: SBRF142-* |
Not relevant |
|
SBRF142_T = Table type (SBRF142) |
Not relevant |
Not relevant |
Not relevant |
Example: 'Table-like' table TBRF144
In the following table, using the "table-like" table TBRF144 as an example, you can see:
-
Typical objects derived from the table (column DDIC)
-
Use of the derived object in the maintenance class
-
Use of the derived object in the associated function group
-
Use of the derived object in the runtime class
'Table-like' means those tables whose entries are displayed in a table control in maintenance of a BRF object.
|
DDIC |
Maintenance class |
Function group |
Runtime Class |
|
TBRF144 |
Possibly local declarations |
Not relevant |
Not relevant |
|
TBRF144_T = Table type (TBRF144) |
MT_BRF144_OLD TYPE TBRF142_T |
Not relevant |
MT_BRF144 TYPE TBRF144_T |
|
SBRF144 = TBRF144+X |
Possibly local declarations |
TABLES SBRF144. Table columns: SBRF144-* |
Not relevant |
|
SBRF144_T = Table type (SBRF144) |
DT_BRF144 TYPE SBRF144_T (MT_BRF144_SCR TYPE SBRF144_T) |
DATA GT_BRF144 TYPE SBRF144_T. |
Not relevant |