Show TOC Entering content frame

Background documentation Defining the Checking Time Locate the document in its SAP Library structure

In the editable ALV the user can change data and add or delete rows. These changes are initially only stored in the context of the ALV component. At defined times, the system transfers the data of the ALV context into the context of your system and checks the data for the correct data type, and so on. This ensures that future actions are applied to the more current data.

Example

When the user chooses the pushbutton Settings from the toolbar in order to use ALV services, the system automatically checks the data.

You can define these additional times at which the current data status of the ALV output is to be synchronized with that of the application:

·        When the user chooses ENTER or triggers a system action

Use this setting if you only anticipate a small number of data changes and will not greatly affect the performance of the system by frequent checks.

·        When the user chooses the pushbutton Check

This pushbutton is shown by default as soon as you switch off write-protection for the ALV output.

This setting is useful if the user is to process multiple data records one after the other without greatly affecting the performance of the system by frequent checks. You should also use this setting if you only want checks to be made if the user triggers the check himself or herself.

·        When you trigger the check in your system (see DATA_CHECK)

For information on showing or hiding the pushbutton Check, see Editable ALV in Providing Standard ALV Functions.

Defining the Time of the Check by the User

To define which user action triggers the data check, use the methods of the interface class IF_SALV_WD_TABLE_SETTINGS (implementing class CL_SALV_WD_CONFIG_TABLE).

Methods for Setting Checking Times

Function

Method

Set time

SET_DATA_CHECK

Get time

GET_DATA_CHECK

Event Handling

When the data is to be checked, the event ON_DATA_CHECK is triggered (see ON_DATA_CHECK).

 

Leaving content frame