cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic values in dropdown in webdynpro alv

Former Member
0 Kudos

Hello Experts,

I am just wondering if we can have dynamic values in webdynpro alv cells of some column.
suppose if I have three column in my alv display plant, material and mrp type.
so in the first row of alv for one material plant combination we have some mrp type values in drop down (say a, b, c).
and in second row for another material plant combination we have some other mrp type values in drop down (say e, f).
Please suggest some sample code if we can achieve this kind of functionality.

P.S. In actual scenario there would be approx. 20 columns to display as dropdown in alv.

Thanks,
Puneet

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

for example currently m having the alv values like : 

plant matmrp type
11a
11u
11v
12b
13c
13t
14d

and I want my alv to display like:

plant matmrp type
11a, u, v (in dropdown)
12b
13c, t (in dropdown)
14d

 

Please guide me how to achieve this.

Thanks in advance,

Puneet

RicardoRomero_1
Active Contributor
0 Kudos

Hi,

Check this doc

From the doc:

"Some times we may have a requirement to show the different values in each row of an ALV using Drop down. This is possible with dropdown by index using which we can assign different values to each and every row of an ALV"

You can fill the table VALUESET dinamically using the event ON_DATA_CHECK here you have how to use it : link


Regards,

Ricardo.