Start of Content Area

Internal Table TOTAL  Locate the document in its SAP Library structure

Definition

The table TOTAL contains all data which are read, changed and created in the extended table maintenance. The data is sorted in ascending order.

The table is a formal parameter of a function module. The formal parameter TOTAL can also be accessed via the parameter <view name_TOTAL>, if:

Structure

For views or tables without text tables, the internal table has the structure of the view or table plus a processing and a selection flag.

Example

INCLUDE STRUCTURE <view name> or <table name>

INCLUDE STRUCTURE VIMTBFLAGS

For tables connected to a text table via the foreign key relationship TEXT, the structure of the table comprises the structure of the entity table and the text table, plus two processing flags and a selection flag.

Example

INCLUDE STRUCTURE <table name>

INCLUDE STRUCTURE <text table name>

INCLUDE STRUCTURE VIMTBFLAGS

Note

The structure of the table TOTAL is not transparent. You should define a record with this structure to access the table fields. After assigning the header line of the table TOTAL to the structure, the fields can be accessed via the structure. You can also use predefined table Total header line field symbols.

Processing and Selection flags

Each record in the table TOTAL contains processing and selection flags. They can be read for each record in a loop over the table.

If the maintenance dialog is based on a table with a text table, linked by the foreign key relationship TEXT, the field symbol <ACTION> refers only to the entity table and not to the text table. The text table therefore has its own processing flag with the same semantics, which can be accessed via the field symbol <ACTION_TEXT>.