You use the DATA_CHECK method in the editable ALV. If the user has changed data in the ALV output, transfer the data from the context node of the ALV component to the context node of your application. In this way, you ensure that all the following functions can be performed on the correct datasets, regardless of whether the user has chosen the Check pushbutton or not.
We strongly recommend using the method before you bind new or changed data (for example, using the BIND_TABLE) to the context node of your application.
The entries also undergo several checks to ensure, for example, that the data type and format are correct.
You can determine when the system calls the method automatically:
· When the user chooses the pushbutton Check
· When the user chooses RETURN or clicks in another cell
To do this, use the method IF_SALV_WD_TABLE_SETTINGS~SET_DATA_CHECK.
Signature |
methods DATA_CHECK |
|
Parameter (Importing) |
- |
|
Return values |
- |
|
Exceptions |
- |
|