Entering content frameProcess documentation Maintenance of Selection Variables in Table TVARV Locate the document in its SAP Library structure

Purpose

For a report you need to specify variants with parameters. This is necessary because the report is informed of the process flow by means of these parameters. However, within a chain or at the start of various chains, the parameters can change. An example of this is the selection date. Due to the daily change, it is not possible to firmly define which date is required at the moment.

Define the parameters or the variants as selection variables that get their value from table TVARV. The value of a variable is read automatically from table TVARV, provided the attribute "selection variable" is set in the variant for the variable. Then choose the selection option and define which entry from TVARV is to apply as entry for the variable value. You yourself must maintain the table data.

Prerequisites

You can see whether a variable is a parameter or a selection option when you save the settings as variant. Behind every variable there is either a P (parameter) or an S (selection option). SAP recommends you first obtain an overview of the variables to be created. Then create the variables using transaction SM32 and use them in the variant. Date variables must be maintained in the format YYYYMMDD.

In the following table, the most important variables needed in the reports are listed.

Job name

Field description in the report

Variable category

RFBKPDT2

Bank area

Parameter

RFBKPDT4

Bank area

Parameter

RFBKKC20

Bank area

Selection option

RFBKKC20

On

Parameter

RFBKCONC

Bank area

Selection option

RFBKCONC

Selection date balancing

Parameter

RFBKBSST

Bank area

Selection option

RFBKBSST

Statement date

Parameter

RFBKCLEB

Bank area

Parameter

RFBKCLEB

Posting date balancing

Parameter

RFBKCHACCUR

Bank area

Parameter

RFBKSOCR

Bank area

Parameter

RFBKACCL

Bank area

Parameter

RFBKACCL

Closure date

Parameter

RFBKCONA

Bank area

Parameter

RFBKCONA

Accrual/deferral key date

Parameter

RFBKGLBSPREP

Bank area

Selection option

RFBKGLBSPREP

To-date GL transfer

Parameter

RFBKGL02

Bank area

Selection option

RFBKGL02

To-date balance sheet preparation

Parameter

Process flow

In the most simple of cases (only one bank area exists) TVARV needs two variables:

You can include all other values directly in the variant. You must maintain the date variables daily.

There are two options for this:

  1. Work scheduling must adjust the variables per working day.
  2. You write a report that supplies the variables. Both date variables exist in table BKK01D. The current payment transaction date is in PDAT_ACT and the current posting balancing date is in CDAT_ACT. The values are read from these variables and written in TVARV.

You must define the report in such a way that in can be entered in a chain. For this, the report must make use of the same logic as the reports supplied by SAP. You can find the general logic in the Online Self Service in note 123217.

Then you must enter the report in the list of reports to be chained.

 

 

Leaving content frame