cancel
Showing results for 
Search instead for 
Did you mean: 

WDR_SELECT_OPTIONS: Event for OnEnter ?

mario_abel
Explorer
0 Kudos

Hi all,

I use the WD-Component WDR_SELECT_OPTIONS with two input fields. If I put a username in the first field, the second field should be filled with the corresponding costcenter. What I have to do? For a normal input field there is the Event OnEnter and for a input field created with the Component?

Thanks,

Mario

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184578
Active Contributor
0 Kudos

Hi,

There is no event associated to selection field in select options. You can create a button and create an action for the same.

Or, you can create an OVS help, and populate the other selection based on OVS selected value. you can check this document for reference:

Regards,

Kiran

Former Member
0 Kudos
vivekananthan_sellavel
Active Participant
0 Kudos

hi;

this following code make On enter event

following link will be usefull

[|link]

DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.

lo_cmp_usage = wd_this->wd_cpuse_alv_item( ).

IF lo_cmp_usage->has_active_component( ) IS INITIAL.

lo_cmp_usage->create_component( ).

ENDIF.

DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .

lo_interfacecontroller = wd_this->wd_cpifc_alv_item( ).

DATA lo_value TYPE REF TO cl_salv_wd_config_table.

lo_value = lo_interfacecontroller->get_model( ).

lo_value->IF_SALV_WD_TABLE_SETTINGSSET_DATA_CHECKset_data_check( 01 ).

Regards

Vivekananthan.S

mario_abel
Explorer
0 Kudos

Hi Vivekananthan,

it is not a problem with ALV.

Regards,

Mario