on 05-07-2016 10:16 PM
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
for example currently m having the alv values like :
plant | mat | mrp type |
1 | 1 | a |
1 | 1 | u |
1 | 1 | v |
1 | 2 | b |
1 | 3 | c |
1 | 3 | t |
1 | 4 | d |
and I want my alv to display like:
plant | mat | mrp type |
1 | 1 | a, u, v (in dropdown) |
1 | 2 | b |
1 | 3 | c, t (in dropdown) |
1 | 4 | d |
Please guide me how to achieve this.
Thanks in advance,
Puneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
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.