Start of Content Area

Procedure documentation Loading Hierarchies Using a Process Chain  Locate the document in its SAP Library structure

Use

If you want to automatically load and schedule a hierarchy, you can include this as an application process in the procedure for a process chain.

Prerequisites

You have already created an InfoPackage for loading your hierarchy (see Loading Hierarchies)..

Procedure

You can load a hierarchy into a process chain in the following ways:

      You can create your process chain from the InfoPackage maintenance by choosing This graphic is explained in the accompanying text Process Chain Maintenance. The system takes you step by step through the creation of the process chain.

      You can call process chain maintenance directly from the SAP Easy Access Menu: Choose Administration Process Chains. Follow these steps:

...

       1.      In the Data Warehousing Workbench symbol bar, choose This graphic is explained in the accompanying text Process Chains. The Process Chain Maintenance Planning View screen appears.

       2.      In the left-hand screen area of the required This graphic is explained in the accompanying text display component, navigate to the process chain in which you want to insert the hierarchy loading process. Double-click to select it. The system displays the process chain planning view in the right-hand screen area.

If no suitable process chain is available, create a new process chain. More information: Creating Process Chains

       3.      To insert a process for loading a hierarchy, choose This graphic is explained in the accompanying text Process Types in the left-hand area of the screen. The system displays the available process categories.

       4.      In the process category Loading Process and Postprocessing, choose the application process type This graphic is explained in the accompanying text Execute InfoPackage.

       5.      Insert the Execute InfoPackage application process type with drag and drop into the process chain. The dialog box for inserting process variants appears.

       6.      Use the input help to select the InfoPackage that you want to include in the process chain.

       7.      Confirm your entries. Add the processes This graphic is explained in the accompanying text Save Hierarchy and This graphic is explained in the accompanying text Change Run to your process chain.

Note

You can specify multiple InfoPackages in this process variant so that multiple hierarchies can be saved with one variant. However, the sequence specified in the variant is not maintained here. If you do want to keep the sequence, for example when saving hierarchies as a subtree, you need to insert a Save Hierarchy process after each hierarchy loading process. These Save Hierarchy processes have to be saved serially, one after the other.

Hierarchy-specific processes

Process

Information

This graphic is explained in the accompanying text Save hierarchy

 

This process always has to be included in a process chain, by which a hierarchy is loaded. If the Saving Hierarchies process is missing or is not used, the InfoPackage goes nowhere. This means that the hierarchy is not saved in the BI system.

Caution

Set the indicator for Activate Hierarchies After Loading or Note for Activation if the hierarchy needs to be automatically saved after the load and activated. The respective option in the InfoPackage is not sufficient, because it is only used if the hierarchy loading process (manual) is scheduled using this InfoPackage (see Loading Hierarchies).

If you do not set the indicator for activating the hierarchy in the process Do Not Save Hierarchy, only a modified version of the hierarchy (M version) is saved in the BI system. The hierarchy, however, is not directly activated.

This graphic is explained in the accompanying text Change Run

This process is need if the hierarchy occurs in aggregates.

Caution

If you set the indicator for Activate Hierarchies after Loading or Note for Activation in the Save Hierarchy process and have adopted the Change Run process in the chain, the hierarchy is activated by the change run.

If you are not using any aggregates, you can delete this process from the process chain.

Proceed further as described in Creating Process Chains.

Result

You have included your hierarchy loading process in a process chain.

Example

The following graphic illustrates an example of how a process chain is used to load a hierarchy.

This graphic is explained in the accompanying text

 

 

End of Content Area