Ansicht
Dokumentation

SIMG_CFMENUCX01_RE12 - Specify Global Variables

SIMG_CFMENUCX01_RE12 - Specify Global Variables

TXBHW - Original Tax Base Amount in Local Currency   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

In this step you define global variables for drilldown reports.

You use variables for flexibility during the creation of forms.

Variables are parameters that are either already provided by the system or are defined after a report is defined and run. The latter occurs when you fill the fields in a dialog screen.

Variables with an SAP exit or customer exit must not be entered.

The following global variables feature an SAP exit:

  • Value variable for global parameters
  • Value variable for ledgers with special logic
  • Hierarchy variables for organizational units
  • Hierarchy variables for FS items

The following generally applies to all variables:

  • Variable names start with an ampersand character ("&").

  • You can use the variable types characteristic value or hierarchy.

  • You choose the characteristic via the field name.

Value variable for global parameters

Variable type Value
Variable name &0GP
Characteristic dimension, cons chart, ledger, version,
fiscal year, period,
reference version, reference fiscal year,
reference period
Type of substitution SAP exit

Value variable for ledgers with special logic

Variable type value
Variable name &0FROMTCG
Characteristic ledger (RLDNR)
Type of substitution SAP exit

The ledger can be derived from a unique combination of the characteristics dimension, cons group, version and fiscal year. This is acheived by defining the characteristics in the report using the characteristic selection, or in forms by creating exactly one variable for the characteristics (as the variable for the From Value).

Hierarchy variable for organizational units

Variable type hierarchy
Variable name &0FROMTCG
Characteristic consolidation group,
consolidation unit, partner unit
Type of substitution SAP exit

If a report was defined with a hierarchy display for one of the specified characteristics, and the variable &0FROMTCG was chosen as the hierarchy, the name of the hierarchy is derived from the unique values for the dimension, totals cons gorup, version, fiscal year and period.

The dimension is unique when you determine the dimension in the report using the characteristic selection, or you define in the form exactly one variable for the From Value of the dimension. The same applies to the totals consolidation group. The version is derived from a unique value for the reference version; if that is not given, the version is taken from the characteristic "consolidation version". The fiscal year is derived from a unique value for the characteristic "reference fiscal year"; if that does not exist, from the characteristic "fiscal year".

The period is taken from the value for the "reference period"; if that does not exist, then the highest of the variables residing in the form is used for the characteristic "period". If no value is found, then 16 is used.

Hierarchy variable for FS items

Variable type Hierarchy
Variable name &0FROMTITM
Characteristic FS item (RITEM)
Type of substitution SAP exit

If a report was defined with a hierarchy display for characteristic FS item (RITEM) and the variable &0FROMTITM was chosen as the hierarchy, then the hierarchy name is derived from the unique data of the consolidation chart of accounts. The cons chart data is unique if you choose the cons chart of accounts in the report using the characteristic selection, or you define in the form exactly one variable for the From Value of the cons chart. Then all item hierarchies for this cons chart are displayed. If unique data also exists for the totals item, the sub-hierarchy of that totals item of the cons chart is displayed.

Type of substitution

Define your globale variables.

Type of substitution

For more detailed information, see Help -> SAP Library -> Cross-application components ->CA-General Drilldown Report.






Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 6462 Date: 20240523 Time: 171954     sap01-206 ( 85 ms )