on 08-29-2014 9:28 AM
Hey,
I am struggling implementing the new feature (that came with 7.4 SP6) that allows to have line specific drop down values.
Am I correct that I have to set the enumeration for a specific field within the GET_DATA method of the interface using the method SET_FIELD_ENUMERATION of the object IO_EXTENDED_CTRL?
If yes, what exactly is a field identifier? could you give an example?
Cheers,
Josh
I went a little bit in the wrong direction. A colleague of mine knew the answer. Here is a little snippet how to implement it:
IF_FPM_GUIBB_LIST~GET_DEFINITION:
set column in description to fixed_values_is_row_specific = abap_true
IF_FPM_GUIBB_LIST~GET_DATA:
data: lo_set_handler type ref to if_fpm_list_ats_value_set,
lt_set type if_fpm_list_ats_value_set=>ty_t_set,
ls_set type if_fpm_list_ats_value_set=>ty_s_set.
lo_set_handler = io_extended_ctrl->get_value_set_handler( ).
ls_set-key = '1'.
ls_set-text = 'One'.
append ls_set to lt_set.
ls_set-key = '2'.
ls_set-text = 'Two'.
append ls_set to lt_set.
lo_set_handler->set_row_specific_value_set( exporting iv_column_id = 'COLUMNNAME it_row_set = lt_set iv_row_index = 1 ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.