SAP ABAP Data Element HIER_FLAG (Indicator: Break down set hierarchy)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-SL-IS (Application Component) Information System
     GRWT (Package) Report Painter / Report Writer
Basic Data
Data Element HIER_FLAG
Short Description Indicator: Break down set hierarchy  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type XFELD    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Hierarchy 
Medium 15 Hierarchy 
Long 25 Break down hierarchy 
Heading
Documentation

Definition

Hierarchy indicator:

Hierarchies for reports are created using sets. Using the fixed/hierarchy indicator, you can define how a hierarchy or set is to be processed when you use the multiple selection function.

If the fixed indicator is activated, the hierarchy (or set) you entered is not broken down, that is, the system only processes the specified set.

If the indicator is not activated, the set hierarchy is broken down. The hierarchy indicator determines how the hierarchy is broken down.

If the hierarchy indicator is activated, the set you entered and all the subordinate sets in the hierarchy are processed. If the hierarchy indicator is not activated, only the lowest hierarchy nodes (basic sets) are processed.

Example:

The set SET10 was entered. It has the following structure:


---------
| SET10 |
---------
------------|------------
----|---- ----|----
| SET20 | | SET21 |
--------- ---------
------|------ ------|------
----|---- ----|---- ----|---- ----|----
| SET30 | | SET31 | | SET32 | | SET33 |
--------- --------- --------- ---------

You can enter the following combinations for the indicators:
Fixed Hierarchy Selected sets
------------------------------------------------------
'X' ' ' SET10
' ' 'X' all
' ' ' ' SET30, SET31, SET32, SET33

General information on the 'Multiple selection' function

The 'Multiple Selection' function allows you to repeatedly select and output a series of input data.

If the selection program contains input parameters for values, you can use the multiple selection function to enter a range of values or a set from which values are taken.

  • Example:
    A report definition contains a value variable for the field 'Company code'. When you call up the 'Execute Report Group' transaction and select the function 'Select', an input field for the company code is displayed on the initial screen for the selection:

    Company code............. ____

    Here you can specify the company code for which the report is to be output.
    If you want to create the report for several company codes, you can do so using the 'Multiple selection' function. If you select this function, you access an initial screen which is similar to the one used for the selection, but you can now enter several company codes instead of just one company code:

    Company code............. ____ ____ __ _
    or set................... ____________

    You can enter a company code interval, several intervals and single values, a set or both a set and values. Reports would then be output for each company code included in the intervals you entered or in the set.

If the selection program contains input parameters for sets, you can define a set in the vary function from which the sets to be used are taken (the fixed/hierarchy indicator determines how this takes place). Alternatively, you can enter a value set, from which a temporary basic set is then created at run-time.

  • Example:
    A report definition contains a set variable for the field 'Account'. When you call up the 'Execute Report Group' transaction and select the function 'Select', an input field for the account set is displayed on the initial screen for the selection:

    Accounts................. ____________

    You enter the account set for which the report is to be output.
    If you now want to output the report for several account sets, you can do so using the 'Multiple selection' function. If you use this function, you access the following initial screen:

    Accounts........ ____________ Fix/Hierarchy... _ _
    or value(s)..... __________ _________ __ _

    You can enter an account set, an interval of accounts, or individual
    accounts. If you enter an account set that consists of a hierarchy of single-dimension and basic sets, you can make the following entries:
    • Fixed/Hierarchy 'X' ' ': only reports for the account set entered are output.
    • Fixed/Hierarchy ' ' ' ': reports for all basic sets in the set entered are output.
    • Fixed/Hierarchy ' ' 'X': reports for all single-dimension and basic set in the set entered are output.

You can execute the variation program online or in the background (Menu option 'Utilities').

If you selected the output medium '0', the output is placed in the spool both online and in the background. A separate spool file is created for each output (the reports and parallel reports in the report group).

In addition, a log is created that displays the relevant input parameters and the name of the spool file. In the background, the log is also placed in the spool; in online mode, it is displayed directly.

History
Last changed by/on SAP  20010607 
SAP Release Created in