Event 07 

Execution : Before correcting the contents of a selected field

Use

This event occurs when the 'Change field contents' function is called. Other activities can be performed for the selected entries, for example:

· check whether the entries’ field can be changed

· fill hidden fields

· update user internal tables.

Realization

This event has no standard routine. The following global data is available for the realization of the user routine:

· internal table EXTRACT.

The entries to be handled are in

- overview screen as marked entries in the internal table EXTRACT

- detail screen in the header line of the internal table EXTRACT or in the field symbol <TABLE1>.

· field symbols

- <XACT> and <XACT_TEXT>

- <XMARK>

· global variable NEXTLINE

· SEL_FIELD_FOR_REPLACE

The variable contains the technical name of the field which was selected for the change.

In view V_T001 the field 'LAND1' is selected in the function 'Change field contents...' SEL_FIELD_FOR_REPLACE is then 'LAND1'.

· SEL_FIELD_FOR_REPLACE_L

The variable contains the technical name of the table/view field which was selected for the change.

In view V_T001 the field 'LAND1' is selected in the function 'Change field contents...' SEL_FIELD_FOR_REPLACE_L is then 'V_T001-LAND1'.

Select additional information