Message type: E = Error
Message class: GK - Messages for SAP Consolidation
Message number: 622
Message text: Invalid use of reference parameters
In the report or form you used at least one of the three parameters
<DS:DE.FC_REF_RVERS>reference version</>, <DS:DE.FC_REF_RYEAR>reference
year</>, or <DS:DE.FC_REF_PERID>reference period</>. This is only
possible if the report uses the
<DS:GLOS.352A9505D3895CD5E10000009B38F974>consolidation group</>, the
<DS:DE.FC_DDSUMCG>totals consolidation group</> or a version- and
date-sensitive <DS:GLOS.36E680856DD22633E10000009B38F984>navigation
attribute</>.
Processing terminated
Remove the reference parameters from the report or form definition.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message GK622 "Invalid use of reference parameters" typically occurs in the context of ABAP programming, particularly when dealing with subroutines or function modules that use reference parameters incorrectly. Here’s a breakdown of the cause, potential solutions, and related information:
Cause: Incorrect Parameter Declaration: The error often arises when a reference parameter is declared but not used correctly in the calling program or function module. Mismatch in Parameter Types: If the parameter types do not match between the calling program and the called subroutine/function, this error can occur. Improper Use of Reference Variables: Attempting to pass a non-reference variable to a reference parameter can lead to this error. Scope Issues: If the reference parameter is out of scope or not properly initialized, it can trigger this error. Solutions: Check Parameter Declarations: Ensure that the parameters in the subroutine or function module are declared correctly as reference parameters (using REF TO). Match Parameter Types: Verify that the
Get instant SAP help. Sign up for our Free Essentials Plan.
GK621 The selection criteria for characteristic &1 is ambiguous
What causes this issue? When making a selection for characteristic &V1&, the value must be unambiguous. It cannot be equal to zero.System Res...
GK620 The hierarchy name could not be derived for the item hierarchy
What causes this issue? You used the globale hierarchy variable <ZH><(>&<)>0FROMITM</> for the characteristic <DS:GLOS...
GK623 Global parameters were not filled
What causes this issue? The drilldown report uses global variables, which are filled from the global parameters for Consolidation. The global paramet...
GK624 Form definition for totals cons group probably contains an error
What causes this issue? You are using a report with a form, which uses the characteristic <DS:DE.FC_DDSUMCG>totals consolidation group</>...
Click on this link to search all SAP messages.