on 2015 Jan 05 5:58 PM
Hi All
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
* EXPORTING
* IO_CONTEXT_ELEMENT = lo_context_element
* IV_INCLUDE_ELEMENT = ABAP_TRUE
IMPORTING
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.
Regards
Anup
Request clarification before answering.
Hi Anup,
You could also try FM PVSHI_PNCMP_READ.
Add the Node_ID to table componentnodedata. The table componentrelation will give you all the relationships (downward and upward).
Regards, Frans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.