You can load hierarchies from different source systems:
from an SAP system
Since the metadata have already been delivered, you can load the standard hierarchies from an SAP system.
from an external system (BAPI, file)
If you want to load the hierarchies from an external system, you first need to define the metadata for these hierarchies.
In the InfoObject maintenance screen, the With Hierarchies flag is set for the hierarchy basic characteristic. This means that the characteristic can have hierarchies.
Before you load a hierarchy, you first need to select the permitted characteristics in the InfoObject maintenance screen. See Tab: Hierarchy of InfoObject maintenance screen.
You have assigned an InfoArea to the characteristic in the InfoObject maintenance screen. This makes the hierarchy into an InfoProvider.
1. Create a transformation.
Create a transformation for your hierarchy.
More information: Creating a Transformation for a Hierarchy
2. Creating an InfoPackage Project.
Create an InfoPackage using the context menu of your DataSource.
More information: Defining an InfoPackage
Enter a description for the InfoPackage. Select the required DataSource (data type Hierarchies), and confirm you selection.
On the Hierarchy Selection tab, select the hierarchy that you want to load into your BW system.
If you want to load a hierarchy from an external system with BAPI functionality, configure the relevant BAPI-specific settings.
Load a hierarchy from a file and configure the settings in the External Data tab.
Configure the Processing tab.
Configure the Update tab.
3. Create a data transfer process.
In the context menu of the hierarchy, choose Create Data Transfer Process.
More information: Creating Data Transfer Processes
All the data from one hierarchy must be processed in one single package (if the field object ID is not filled with a unique ID for each hierarchy). The extractors usually return a hierarchy per request. In PSA the following scenarios affect the settings in the DTP:
Old requests are saved in the PSA and the new request is updated immediately using a DTP:
In DTP the setting Only Load Last Request must be activated - otherwise all old requests will be loaded. This option is available for DTPs in full mode.
Only one request is loaded from the source at a time. The request is then updated using the DTP and then deleted from the PSA:
Data can only be loaded using a DTP in full mode.
Multiple InfoPackages are used to write several hierarchies to the PSA and the hierarchies are updated with a DTP:
You need to use a DTP in the delta model with the option Request by Request Update to ensure that the data of a hierarchy is processed in one update.
On the Update tab, set the Activate Hierarchy flag.
4. Define a process chain.
Define a process chain and schedule it.
More information: Loading Hierarchies Using a Process Chain
The hierarchy structure and node texts or intervals are loaded. The structure information and hierarchy texts are stored in the BW system. You can edit the hierarchy.
You need to activate the hierarchy to use it for analysis and reporting.