Ansicht
Dokumentation

UH_REUSE_SRC - Configure Sources for Hierarchy Reuse

UH_REUSE_SRC - Configure Sources for Hierarchy Reuse

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you configure the sources for hierarchy reuse, so that in Manage Global Hierarchies, you can import the hierarchies or hierarchy nodes available in these sources.

Note: This activity is also required if you intend to import hierarchies or nodes from the hierarchies created by using the Manage Global Hierarchies app itself.

You have defined the relevant hierarchy types.

SAP delivers various hierarchy reuse sources, such as Cost Center Group, Profit Center Group, Flexible Hierarchy, and the hierarchies maintained in Manage Global Hierarchies, which you can reference when creating your own sources.

To add a new reuse source, take the following steps:

  1. Choose New Entries.
  2. Select the hierarchy type.
  3. Specify an ID and a description of the reuse source.
Note: The description will be displayed as an option in the Source field when importing hierarchies or nodes in Manage Global Hierarchies.
  1. Depending on whether you want to enable the source for hierarchy import or node import, maintain the Hierarchy ID Field Label and Node ID Field Label for the hierarchy type as follows:
  • For hierarchy import:
  1. In Hierarchy ID Field Label, specify the label text for the field where users can select hierarchy ID.
  2. Enter the search help name, search help field, and search help text field for the hierarchy ID selection.
Note: If you are defining a source for reusing hierarchies created in the Manage Global Hierarchiesapp itself, you can use the standard hierarchy ID search help FAC_UH_GENERIC_HRYID_SHLP, field VERSIONID, and text field HIERARCHYVERSIONTEXT. If you want to build your own search help, you can reference FAC_UH_COSTCTR_HRYID_SHLP.
  1. Select the Reuse Hierarchy checkbox.
  • For node import:
  1. In Hierarchy ID Field Label, specify the label text for the field where users can select hierarchy ID.
  2. In Node ID Field Label, specify the label text for the field where users can select hierarchy node ID.
  3. Enter the search help names, search help fields, and search help text fields for the hierarchy ID and node ID selection.
Note: If you are defining a source for reusing hierarchy nodes created in the Manage Global Hierarchiesapp itself, you can use the standard node ID search help FAC_UH_GENERIC_UHNODE_SHLP, field NODEID, and text field NODEVALUETEXT. If you want to build your own search help, you can reference FAC_UH_COSTCTR_UHNODE_SHLP.
  1. Select the Reuse Node checkbox.
Exception: If you are defining set-based groups as the source for node importing, you only need to maintain Node ID Field Label and the relevant search help. This is because these groups are processed as nodes in Manage Global Hierarchies.
Note: Add separate rows for enabling hierarchy import and node import with different Reuse Source Names even if the hierarchy type is same.
  1. If for a hierarchy type, you have multiple reuse sources for hierarchy import or node import, specify UI display order for these sources in the Display Ordercolumn. It will determine their display sequence in the Source drop-down list of the Import Hierarchyand Import Nodeswindows.
  2. For the nodes that can be used as the source for node import, that is, with the Reuse Node checkbox selected, you have the option to select Use as Referenced Node so that when the source nodes are changed, the hierarchies that reuse these nodes can be updated automatically.
Note: Only the nodes created with Manage Global Hierarchiescan be used as referenced nodes.

After completing the steps above, you need to implement the BAdI BADI_FINS_UH_REUSE_OBJECTto define your copy logic. The BAdI is delivered with two implementations for copying hierarchies and nodes from the following sources:

  • Set-based groups
  • Hierarchies created in Manage Global Hierarchies

For copying from these two sources, you can reuse the BAdI by adding your 4-digit hierarchy type key to the BAdI implementation filter. However, to copy data from other sources, you need to implement your own copy logic based on the BAdI.






PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5970 Date: 20240523 Time: 152735     sap01-206 ( 100 ms )