on 12-16-2015 1:42 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.