The table <VIM_TEXTTAB> contains all texts which are not in the logon language, which were read in, changed and created by the maintenance for the function 'Translation'.
The structure of the table <VIM_TEXTTAB> is not transparent and has no header. To access the fields of the table, define a structure as follows:
BEGIN OF WA_TEXT K1 LIKE <Schlüssel der Entitätentabelle/View> (weitere Schlüssel entsprechend) KT1 LIKE <Schlüssel der Texttabelle> (weitere Schlüssel entsprechend) F1 LIKE <Funktionsfeld der Texttabelle (weitere Felder entsprechend) ACTION_FLAG LIKE VIMTBFLAGS-VIM_ACTION (Verarbeitungskennzeichen) END OF WA_TEXT.
If the entity table/view is time-dependent, but the text table is not, the time-delimitation key is not kept, as it is not relevant for the texts.
You can access the fields via the structure when you have assigned a record of the table <VIM_TEXTTAB> to it.
The data is sorted in ascending order by entity table/view and text table key.
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. The possible values can be checked against the following constants:
ORIGINAL: The entry is identical with the database status
NEUER_EINTRAG: Entry is newly created
AENDERN: Entry changed
GELOESCHT: Entry flagged for deletion
NEUER_GELOESCHT: Entry was first newly created, not yet saved and then flagged for deletion
UPDATE_GELOESCHT: Entry was first changed and then flagged for deletion
The processing flag is set during the dialog by user action, with the exception of the delete flag which is set when the data is saved. 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 is 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.