Skip to Content
avatar image
Former Member

filtering in ALV

I have enabled filterline in my ALV table. There is one Dropdown by key field, for e.g., 'PRIORITY' in this ALV table, contained in its underlying context, for which the filter value list has to be modified manually. How do I do this ? As the filter value list is automatically taken from the domain of the underlying field ! I need to insert 2 extra values in this filter value list.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 24, 2009 at 05:38 AM

    Hi,

    Iam not sure if I got your question right. Do you want to modify the valuehelp list of the dropdown within the ALV? In that case what you could do is the following: use the Function module DDIF_FIELDINFO_GET(Pass the domain name as parameter) and get the domain values in an internal table(key/value pair). Append the 2 new entries that you want to add to the list. Now bind the internal table back to the node_info(metadata) of the context attribute. The new values will be reflected in the dropdownlist.

    Best Regards,

    Viqar Ali.

    Add comment
    10|10000 characters needed characters exceeded