Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Changing the order of the nodes using the RS_TREE FMs

Dear developer community,

I'm generating a standard SAP tree structure using the

Function Modules RS_TREE_CREATE, RS_TREE_ADD_NODE and

RS_TREE_LIST_DISPLAY. The result looks good. The only thing that bothers me and prevents me from calling this job finished is that the sorting order on each hierarchy level is exactly top-down, the nodes added at last are displayed first and vice versa. In the FM-parameters as well as in the node-datastructures I don't find anything that seems to offer me to take influence on the sorting order. Anyway: Due to the very special way we collect the information that finally is supposed to be displayed hierarchically, changing the order of the node-generation unfortunetaly is not an option !

Does anybody have experience with this group of FMs who could tell me how this can be achieved ?

Thanks in advance

Andreas

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question