Skip to Content
avatar image
Former Member

Drop down field in ALV values not getting changed

Hi All.

I have created an drop down by key in ALV and I am initialising and filling the values in drop down in Modify view.

When I am executing the application for the first time the values fill in fine in the drop down. However based on user selection the value in drop should changed. Keep in mind all the rows added in ALV should show the same values in drop down.

Now the issue is when ever user changes the value but the drop values which were set initially does not changes.

In other words if user selects supplier A the values for all rows in drop down shows as

A

B

C

But if user selects supplier B the values for all rows in drop down should changed to

X

Y

Z

unfortunatley it still shows values as A,B,C .

I have checked while debugging and values are changed based on condition but when I set them back in ALV using set_attribute_value_set it does not shows the new values.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 31, 2011 at 06:38 AM

    Please can anybody help me on this..

    Thanks in advance.

    Regards

    Shakti

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Guys,

      I have the same issue.

      But in my case its not an ALV table.

      Its a normal table in a view which has two editable columns with drop down by key.

      For each row , the drop down values should change based on the value in the previous column as mentioned by Shakthi.

      Currently all the rows are having the saving drop down values.

      Please help with this issue. Its very urgent.

      Thanks in advance.

  • avatar image
    Former Member
    Oct 31, 2011 at 10:06 AM

    Hi Saravanan,

    Thank you so much...it solved my problem by calling set data method.

    Regards

    Shakti

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 31, 2011 at 10:07 AM

    Thanks for the help..Saravanan

    Add comment
    10|10000 characters needed characters exceeded