Cost Center group can be viewed from field SETCLASS of table SETLEAF.
To Fetch the relevant cost center from a cost center group, we can use FM: ‘K_HIERARCHY_TABLE_READ’.
Sample code for this purpose: Call Function module to fetch values corresponding to a.
CALL FUNCTION ‘ K_HIERARCHY_TABLES_READ ‘ EXPORTING.
e_class = p_c.
, Cost Center group can be viewed from field *SETCLASS* of table *SETLEAF*.
To Fetch the relevant cost center from a cost center group, we can use FM: * ‘K_HIERARCHY_TABLE_READ’*.
Sample code for this purpose: – Call Function module to fetch values corresponding to a – CostCenter group.
CALL FUNCTION *’ K_HIERARCHY_TABLES_READ ‘* EXPORTING, 10/10/2016 Alternatives How to read Cost Center Hierarchy in SAP.
Try the SETHEADER table.
SETCLASS = #0101#.
SUBCLASS may be your planning area (KOKRS) You can also use the FM K_HIERARCHY_TABLES_READ.
You can use the following BAPI to get cost center hirarchy BAPI_COSTCENTER_GETDETAIL.
To find cost centers in a group use this bapi: #, Upto selection of the cost center it= is accepted, but when I click on remove button, it is giving a message tha= t ‘Function =A0is not supported in the standard hierarchy’.
=0A=0AI have tr= ied to remove these cost centers from the change mode of cost center group.
= There also, it is giving same msg.
I can neither find these cost center =, 23/07/2008 Some reports may need to use Profit Center or Cost Center hierarchy defined in the SAP Master Data.
Rather than define a table to provide the same information, you could use function module provided by SAP.
Lets say that we have Cost Center hierarchy like below and we want to get all cost center #, 22/02/2010 Hierarchy Tables.
Hierarchy Directory, Header Information.
Hierarchy directory texts /BI*/H Hierarchy structure table, Hi, Can anyone of you help me, please ?
I am loading FSV # USGAP Hierarchy in BW.
Clients wants to delete or exclude all the accounts that are blocked for posting (Blocked for posting is an attribute of 0GL_ACCOUNT), it means client do not want those account in the hierarchy node.