Start of Content Area

Internal Table <VIM_TEXTTAB>  Locate the document in its SAP Library structure

Definition

The table <VIM_TEXTTAB> contains all texts which are not in the logon language, which were read in for the 'Translation' function, changed and created by maintenance.

Note

The structure of the table <VIM_TEXTTAB> is not transparent and has no header line. You should define a record with the following structure to access the table fields.

BEGIN OF WA_TEXT
K1 LIKE <entity table/view key>
(other keys as required)
KT1 LIKE <text table key>
(other keys as required)
F1 LIKE <text table function field>
(other fields as required)
ACTION_FLAG LIKE VIMTBFLAGS-VIM_ACTION (processing flag)
END OF WA_TEXT.

If the entity table/view is time-dependent, but the text table is not, the time restriction key is not included, because it is not relevant for the texts.

After assigning a record of the table <VIM_TEXTTAB> to the structure, its fields can be accessed via the structure fields .

The data are sorted in ascending order of the entity table/view and text table keys.

Processing flag

Each record in the table <VIM_TEXTTAB> contains a processing flag. They can be read for each record in a loop over the table. You can get the possible values via the following constants:

Note

The processing flag is set during the dialog according to user action, except for delete flags, which are only set when the data is to be saved. All text entries for which the entity entries are to be deleted are flagged for deletion. The data are only deleted from the database in the central table maintenance dialog save routine, they are deleted from the internal table <VIM_TEXTTAB> in the general routine VIM_TEXTTAB_DB_UPDATE or in the routine defined at event AH instead of the database change for texts in other languages.