on 09-08-2008 9:17 AM
Dear all,
Could anybody please tell me how to read the standard hierachy of profit centers
using RFC module(s) for a certain controlling area?
I found lots of classes and modules in the standard dialogs but nothing remote enabled :-(.
Thanks in advance,
Marcel
Hi Eli,
thats great thank you.
But the module needs the root nodes to start.
Do you know how to find those too?
br,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eli,
now i understood and it works.
This has been a very unusual way to flatten hierarchies..
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eli,
the BAPI group get detail provides the following returns
GROUPNAME Profit center group name
HIERLEVEL Hiearchy level
VALCOUNT Number of assigned leafs
DESCRIPT Group name
As well as some values.
But this does not include any relational data between the groups/nodes.
br,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcel,
It's due to the order of appearance; let's say you have the following:
Then, the table will show
Group1 0
Group11 1
Group111 2
Group112 2
Group12 1
So, the connection is defined: you know that Group 111 is assigned to Group11, because it's level is 2 and the first group above it with level 1 is Group11. The same is with values by the order of appearance as you know for each group the quantity of the values.
Regards,
Eli
Hi Eli,
thanks for the fast answer
I need to cvompletyl rebuild the hierarchy in a dialog in a CRM system.
For this i need the relations between the tree nodes to correctly display and drill down
into the table / tree.
The standard API only returns the leaf/nodes names with the hierarchy depth.
Without the relations i cannot tell which leafs or sub nodes relate to whcih root/parent node.
Could you advise how to read this? If possible with standard BAPIS or RFC modules
Thanks & br,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all,
Eli has already helped me to understand and the standard hierarchy elements for profit center groups.
Anyway tthe stadnard modules do not supply any information about the node relations.
I need to display the relations in an other SAP system.
Could anybody please help or advise?
Thansk & br,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcel,
You can use BAPI BAPI_PROFITCENTERGRP_GETDETAIL.
Regards,
Eli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.