SAP ABAP IMG Activity _JBWV (Maintain Global Variable)
Hierarchy
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
   IS-B-RA (Application Component) Risk Analysis
     JBRC (Package) Customizing for SAP Banking Risk Management
IMG Activity
ID _JBWV Maintain Global Variable  
Transaction Code S_KK4_13000188   IMG Activity: _JBWV 
Created on 19990830    
Customizing Attributes _JBWV   Maintain Global Variable 
Customizing Activity _JBWV   Maintain Global Variable 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name _JBWV    

In this step you define global variables for Risk Management reporting.

Variables give you the opportunity of defining the values for the characteristics you want to use for reporting directly when executing the report. If you do not want to use any variables, you have to define the characteristic values you want to use for reporting immediately on defining the report. Without variables you have no opportunity to adjust or limit the characteristic values to your current information requirement when executing the report. By using variables you can define the settings in your forms and reports more flexibly.

There are two categories of variable:

  • Global Variables

    You define global variables in this step. Global variables are used to define forms and reports.

    The vayiable values for global variables are valid for all forms and reports. You define the variable values when executing the report.

    Global variables which are predefined by SAP have a digit two places after the &. Make sure that variables which you create yourself have a letter in this position.

  • Local Variables

    You define local variables when defining forms (or within report definition as from 3.0). The variable values for a local variable are only valid within the report which uses these forms. If you are not using any fixed values, define the variable values when executing the report.

    These two categories can be split down into three variable types:

    • Value variables
    • Text variables
    • Formula variables
    • You will find a description of the variable types at the end of this text.

Example

You want to create a form. The first column is to contain the characteristic "Month" inserted by a variable. The second column is to contain the characteristic "Previous month". You want to assign the variables a value when executing the report, based on your current information requirement.

To achieve this you choose the characteristic "Month" when defining the form and instead of assigning it a value, assign it the variable "&Y". You have already defined "&Y" as a global variable with the replacement type "Entry". In the second column you also choose the characteristic "Month", but this time assign it the variable "&Y-1".

When the report is executed, the system asks you to enter the month and assigns the variable your entered value. The previous month is then determined by the system.

Activities

  1. Choose New entries, to create a new variable.
  2. Enter the Type of variable.
  3. Enter a field name and a variable name. The variable name must begin with "&". You use this variable name when defining the forms. Global variable names must be unique for all forms.
  4. Assign a replacement type.

    The replacement type 'Automatic replacement path' takes the variable value from the basic data. The replacement type 'Entry' requires you to enter the variable value when executing the report. With 'User exit' the system uses a user-defined routine to determine the value. Use 'Fixed values from Table TKESV' if you want to assign a fixed value which you define in the Fixed value field.

  5. Maintain the other fields based on selection.
  6. Save your entries.

Further notes

The following types of variable are available:

  • Value variables

    Value variables are used to insert the values of characteristics via variables rather than using fixed values in the report. With replacement through entry (replacement type = entry) you can determine whether the value allocation is mandatory or optional. For global value variables you can store a fixed value centrally. This value is then assigned by the system when the report is executed. You can also determine the values of the variables via a user-defined routine.

  • Text variables

    Text variables are used for reports which use forms in order to store parts of the row and column texts as variables rather than as fixed texts. The text variables are used in the element texts of the forms and are usually replaced with text when the report is executed. In the simplest case you enter the text when executing the report. The text length is determined when the variables are defined. You will usually define a replacement path so that the text is automatically taken from the master data. For global text variables you can also store fixed values or insert the content via a user exit.

  • Formula variables

    Formula variables are used to flexibly determine parts of a formula within the forms. The replacement method used can be the same as for text variables. Formula variables are useful for carrying out simulations and extrapolations.

  • Replacing variables via user exit

    If you want to replace the variable values using a routine which you have programmed yourself, note the following:

    • You must use global variables.
    • The function module which is run through when the report is executed is EXIT_SAPLKYP1_002.
    • The exits are inserted in module pool SAPLXYEX. You need to create an Include ZXYEXU02 as a local private object for the user exit through which you can access the transfer fields of the function modules.

Business Attributes
ASAP Roadmap ID 207   Establish Reporting 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG _JBWV 0 I070004703 Market Risk Analysis 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
IMGDUMMY D - Dummy object JBWV IS-B:RM Maintain Global Variable 
History
Last changed by/on SAP  19990831 
SAP Release Created in