cancel
Showing results for 
Search instead for 
Did you mean: 

List ats uibb - drop down list

Former Member
0 Kudos

Hello everybody.

I need to do a drop down list column in the table.

In regular i use the fixed value table in the field catalog table in the get data /get definition table.

However now i need that for every row will be different value on the drop down( dynamic according other table row field)

How can i do this? Because in the regular way its the same value for all the rows.

Accepted Solutions (1)

Accepted Solutions (1)

ulrich_miller
Active Participant
0 Kudos

Hello Bar,

it is possible to do that. Here is an example:

https://ldciu1y.wdf.sap.corp:44355/sap/bc/webdynpro/sap/

fpm_test_guibb_list_ats?sap-language=EN&sap-wd-configId=

FPM_TEST_LIST_ATS_CELL_EDITOR_AC#

Basically what you need to do is:

- in the configuration set display type drop down list box for that column

- in the feeder class, get_definition, et_field_description, set

  attribute FIXED_VALUES_IS_ROW_SPECIFIC = abap_true.

- in feeder class method get_data, use this API IO_EXTENDED_CTRL

  ->GET_VALUE_SET_HANDLER()

That is all. Be sure each row does have a value set. I. e. I would recommend

to call method IF_FPM_LIST_ATS_VALUE_SET->SET_DEFAULT_VALUE_SET()
and then SET_ROW_SPECIFIC_VALUE_SET for rows where you need a different set.

Kind regards,
Ulrich

former_member226239
Contributor
0 Kudos

Bar, Just a quick note...... this is available in recent systems only.

First check whether you have the field attribute FIXED_VALUES_IS_ROW_SPECIFIC in the structure: FPMGB_S_LISTFIELD_DESCR. If you have it then you can implement the steps mentioned by Ulrich.

-Chandra

Former Member
0 Kudos

its work, thank you.

Answers (0)