on 01-06-2009 2:06 PM
Dear Experts,
is it possible to execute an Event when i leave a table field like "on enter" ?
Thanks and best regards
René
Hi,
If you are using the ALV then you can use the ON_DATACHECK and can proceed with further validations.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
They are the events for the standard table UI element.
On_DATA_CHECK is used for the ALV component usage is used.
Please try this way-
You can get the table row by using index or using lead selection.
For this lead selection, get the context element.
In the IF_WD_CONTEXT_ELEMENT, use the method IS_ATTRIBUTE_NULL to check the attribute is NULL or not.
Then based on this value, try to explicitly handle the custom event.
Design the custom event and call it explicitly.
I don't think there is explicit ONENTER event for the TABLE UI element.
Regards,
Lekha.
Hi Rene,
If you want to remove a particular column from getting displayed within your ALV then you can try proceed as follows:
DATA: l_value TYPE REF TO cl_salv_wd_config_table.
l_value = l_ref_interfacecontroller->get_model( ).
" Delete column STATUS as it was created only to show
l_value->if_salv_wd_column_settings~delete_column( 'STATUS' ).
Regards,
Uday
Hi Rene,
OnDataCheck () is an event handler method which we need to write and use them.
It defaulty does not exists as the other Hook methods.
Regards,
Sana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.