0% found this document useful (1 vote)
1K views

Loading Cost Center Hierarchy

This document discusses loading cost center hierarchies into SAP using BAPI and LSMW. It describes defining a file structure with header and line records to create cost center hierarchies per controlling area. Sample data and fields to populate for the BAPI method are provided. Post-load validation can be done using transaction KSH3.

Uploaded by

Neelesh Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
1K views

Loading Cost Center Hierarchy

This document discusses loading cost center hierarchies into SAP using BAPI and LSMW. It describes defining a file structure with header and line records to create cost center hierarchies per controlling area. Sample data and fields to populate for the BAPI method are provided. Post-load validation can be done using transaction KSH3.

Uploaded by

Neelesh Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Loading Cost Center Hierarchy (CCH) into SAP using BAPI & LSMW

Definition groups of cost centers in a tree structure within a controlling area that represent specific areas of cost incurrence from a Controlling perspective.

A cost center hierarchy comprises all cost centers for a given period and therefore represents the whole enterprise. This hierarchy is known as the standard hierarchy.

Cost Center hierarchies are typically defined before creating cost centers.

Usually considered as configuration objects, high volume and complexity in nesting may call for automated load methods. Heres one way of automating creation (load) of CCH into SAP.

Define Input/Load File Structure

Since CCH is defined at CO. Area level, a header line is used to create CCH per Co. Area. This way, the same process/files can be reused for loading standard and alternate hierarchies under same/different controlling areas.
Columns LNIND VALU1 VALU2 VALU3 VALU4 Data type CHAR CHAR CHAR CHAR CHAR Length 1 15 10 10 40 Column Description Line indicator - Header/Line Controlling Area/Group Name Hierarchy Level Value Count Description

Sample Data
Header (Co. Area) Line (Nodes) H L L L Controlling Area Group Name 1000 C1000 C1010 C1110

A. Hier. Level

Value # 0 0 0

Description IDES Corporate Executive Board

0 1 2

L L L L L L L L

1234 4567 C1120 98763 C1200 C1210 C1220 C1230

3 3 1 3 1 2 2 2

0 0 0 0 0 0 0 0

test yress Internal Services sdfdsfds Administration & Financials Administration Human Resources Procurement

LSMW:

LSMW method: BAPI - BAPI_COSTCENTERGROUP_CREATE Business Object: BUS1112, Cost center group Method: CREATE Message Type: COSTCENTERGROUP_CREATE Basic Type: COSTCENTERGROUP_CREATE01

Structures/Fields to populate:

E1COSTCENTERGROUP_CREATE (Header segment) o CONTROLLINGAREAIMP

Note: Populate the above field with controlling area value only for header records

E1BPSETHIET (Interface structure for groups Hierarchy table) o GROUPNAME o HIERLEVEL o VALCOUNT o DESCRIPT

Note: Populate the above fields only for hierarchy lines

Post-load review/reconciliation

Execute transaction KSH3 Input Top Node name & Display Validate if all nodes have been created correctly

KP (Blogging Irregular)

You might also like