cancel
Showing results for 
Search instead for 
Did you mean: 

Line specific dropdown list

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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 ).

link to documentation

Answers (0)