2015 Sep 08 7:20 PM
Hi All,
I'm using oops editable ALV which have F4 functionality for the fields.
Issue is the changed_data event is triggered even if F4 is used.
I want check_changed_data to be triggered only upon 'SAVE' as I want validation to happen only at that stage.
Please note I do not want to trigger the event at all when F4 is pressed.
Thanks in advance,
Hi All,
I'm using oops editable ALV which have F4 functionality for the fields.
Issue is the changed_data event is triggered even if F4 is used.
I want check_changed_data to be triggered only upon 'SAVE' as I want validation to happen only at that stage.
Please note I do not want to trigger the event at all when F4 is pressed.
Thanks in advance,
2015 Sep 09 1:28 AM
Use the event AFTER_USER_COMMAND and check the e_ucomm = 'SAVE' before having ur code
2015 Sep 09 4:01 AM
Try putting below code inside the onF4 method :
er_event_data->m_event_handled = 'X'.
Also, the event should be called using these parameters:
onf4
FOR EVENT onf4
OF cl_gui_alv_grid
IMPORTING
e_fieldname e_fieldvalue es_row_no er_event_data,
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |