Skip to Content

Sorting SALV_WD_TABLE ALV hierarchy

Hi all,

I've got following hierarchic ALV table (see attached).

My problem is to sort the table according to the numbers given in the secaond and third column (caption "Nr"). Whereas second column is the ranking order of the hierarchy column (master column. e.g. "Elektrolyte", "Gerinnung ") and the other "Nr" the sorting order of the leaves.

By standard a hierarchic ALV sorts alphabetical. is there a way to prohibit this and sort by my "Numbers"? I need this sorting, since the sorting has to be individual. Maybe somebody knows a way to realize this hierarchical table with sorting with a different technique. E.g. Could I use a normal table for that?

Thanks a lot for your suggestions.


salv_hier.jpg (239.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 07, 2013 at 12:41 PM


    I do not remember that there is a UI Element hierarical ALV in Webdynpro but you can achieve the requirement by using Table UI Element and Table Tree inside Table UI Element.You need to sort the internal table first as you want then bind the internal table to Node of UI Table Element.

    You can see an example on Web Dynpro Component 'WDR_TEST_TABLE' on view CELL_DESIGN.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.