Example: Loading Master Data and Hierarchies of Cons. Units This example shows you the details for customizing the method Load from Data Stream .
You want to load the master data of the characteristic
consolidation profit center
from the InfoObject 0PROFIT_CTR into the consolidation system (SEM‑BCS).
Note
You first have to load the master data of the consolidation groups (see Example: Loading Master Data of Consolidation Groups ). Only then can you load the master data and hierarchies of consolidation units.
You are only interested in profit center hierarchy H1 (source selection).
The consolidation profit centers you select are to be allocated to controlling area 1000 . You also want to set the following attributes:
Fiscal year variant: K4
Year of First Data Entry: 2005
Period of First Data Entry: 012
The method uses the data type
consolidation units
with the characteristic
consolidation profit center
.
The following table shows the settings on the
Settings
tab page:
Group Box |
Checkbox |
Value |
Source Data |
Source Data Basis |
Q1 |
InfoObject |
0PROFIT_CTR |
|
InfoProvider |
– |
|
Options for Master Data and Hierarchies |
Load Master Data |
|
Use Text Nodes from Hierarchy |
– |
|
Load Hierarchy |
|
|
Load Hierarchy Relationship Attributes |
– |
|
Update Mode |
Existing Settings |
Overwrite |
BAdI Filter |
BAdI Filter Value |
– |
The following table shows how the method is mapped:
Target Field |
Operator |
Value/Source Field |
Controlling Area |
Move |
’1000’ |
Consolidation Profit Center |
Move |
Profit center |
Period of First Data Entry |
Move |
’012’ |
Fiscal Year Variant |
Move |
’K4’ |
Year of First Data Entry |
Move |
’2005’ |
Medium Description |
Move |
Medium Description |
Short Description |
Move |
Short Description |
Consolidation Profit Center Group |
Move |
Hierarchy Node |
Hierarchy |
Move |
Hierarchy |
On the
Selection
tab page, you make a source selection so that only the profit center hierarchy H1 is loaded:
Characteristic |
Selection Condition |
|
|---|---|---|
Selection for Source |
Profit center |
|
Selection for Target |
– |
– |
For more information about selection conditions, see Single Selection .