Internal Table <VIM_TEXTTAB>


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.

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.

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)

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:

  • ORIGINAL: the same as the database status
  • NEUER_EINTRAG: new entry
  • AENDERN: changed entry
  • GELOESCHT: flagged for deletion
  • NEUER_GELOESCHT: entry first newly created, not yet saved, and then flagged for deletion
  • UPDATE_GELOESCHT: entry first changed and then flagged for deletion

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.