cancel
Showing results for 
Search instead for 
Did you mean: 

How to sort master-node in master-detail scenario without losing subnodes?

RolfC
Explorer
0 Kudos

Hi,

I've a master-detail scenario and want to sort my master node.

How can I sort the master node without losing the detail-subnodes?

If I take a look in class CL_WDR_TABLE_METHOD_HNDL and method IF_WD_TABLE_METHOD_HNDL~APPLY_SORTING

Sorting is done by

- unload node with context_node->get_static_attributes_table into an internal table

- keeping node state like lead_selection(s) and attribute_properties

- sort internal table

- bind internal table to node

- set lead_selection and properties

But all subnodes are gone.

How do you sort a master node?

Thanks and Regards

Carsten

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think you have to write your own logic for that . May be you can implement IF_WD_TABLE_METHOD_HNDL in your class and extend the current logic to support subnodes.