Hi,
i created "dynamic" a ui element, now i would add e event, i dont know how, but i had searched on diffrent places, but i get no info.
I only read something about add_eventhandler and to registrated a evendhandler. I couldnt believe that this is the correct way.
Here the code for a selection_field...:
lt_range_table = wd_this->go_so->CREATE_RANGE_TABLE( i_typename = '/BVCCSAP/VE_BCOD1' ).
wd_this->go_so->add_selection_field(
i_id = 'BCODE'
it_result = lt_range_table
i_description = 'Barcode'
i_no_intervals = abap_true
i_read_only = read_only
).
Thanks a lot for your help and hints
Alex