Get above node in Product structure
I have a requirement to calculate Roll up weight in Product Structure.
I can get the current node selected, I need to find out the node above that (parent node)
Any idea of any method or BAPI for this ?
There is one method GET_HIERARCHY_ABOVE of assistance class /PLMU/CL_PPE_CMP_TREE_ASSIST, which I came across
CALL METHOD OBJ->GET_HIERARCHY_ABOVE
* IO_CONTEXT_ELEMENT = lo_context_element
* IV_INCLUDE_ELEMENT = ABAP_TRUE
ET_HIERARCHY = lt_hierarchy
It does't return any thing, the IO_CONTEXT_ELEMENT is optional.
Has any body used this method, or what need to be passed in IO_CONTEXT_ELEMENT ?
I have enhanced the webdynpro component /PLMU/WDC_CLF view V_VALUE, method ONACTIONCHECK_ENTRIES.
Any help would be highly appreciated.