cancel
Showing results for 
Search instead for 
Did you mean: 

Valueset of Dropdownbykey depending on row in a table

mario_abel
Explorer
0 Kudos

Hi all,

i need a dropdownbykey field in a table, where in every row the valueset of the dropdown depends on the value of another field in this row.

How could I realize that issue?

Thanks and greetings.

Mario

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Mario

Check this article

below link shows about the DDBI in table...

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c03227f9-e48f-2c10-4bad-8ebdec704f3d

Thanks

Tulasi

former_member1151507
Participant
0 Kudos

Hi Mario,

As suggested by Krishna, you need to use DropDownByIndex instead of DropDownByKey if you want to change the valueset for every row of the table. Because, for DropDownByKey we can not change the Valueset at element level (At node level, it is possible using IF_WD_CONTEXT_NODE_INFO->SET_ATTRIBUTE_VALUE_SET method ).

Thanks,

Manogna

Former Member
0 Kudos

Hi,

You have to use 'dropdownbyindex' in the case of filling the valuset depending on another field in the table.