Determining the Fiscal Year Variant at Query
Runtime
The
fiscal year variant for the query currently being executed is determined in
two steps:
-
The fiscal year variant has
already been determined as a fixed value (for example, K4) in the definition
of the query or the underlying InfoProvider. This fixed value is
transferred.
-
The system first determines
the SAP Exit variable that has been assigned to time characteristic 0FISCVARNT
(fiscal year variant) in the query definition. The function module for this
SAP Exit variable is then used to determine the fiscal year variant and the
return value is transferred.
Example:
In SAP Standard the SAP Exit variable 0P_FVAEX is
available for the characteristic 0FISVARNT. If this SAP Exit variable is used
in the query definition, the system determines the fiscal year variant using
the assigned function module RSVAREXIT_0P_FVAEX.
The
system performs steps 1 and 2 strictly according to hierarchy. If step 1 is successful, step 2 is not
carried out.