31.1.11

SAP Note 21084 - Defining exits for formula variables

Symptom:

For the definition of formula variables, you want to create your own exits.

Cause and prerequisites

Insufficient documentation

Solution

Proceed as follows to define an exit:

    1. Create a copy of the program RGSVU000 using the customer naming conventions (for example, under the name ZGSVU000).
    2. In the this copy of program RGSVU000, create a sub program Unnn which calculates the required value. To do this, copy and modify sample exit U999 or UXXX.
    3. Modify subroutine GET_EXIT_TITLES by including the new exit. This is optional. It only causes that the new exit is included in the list of available exits.
    4. Instead of program RGSVU000, enter your own program (for example ZGSVU000) and enter it in table T80U (as of Release 3.0C in table T80I)
To use the new exit in a formula variable, enter '#Unnn'. (For variables with the type formula exit, only enter Unnn.)
You can find additional examples for exits in program RGSVS000.

Additional key words

GS11, GS12, GS13, formula exists ----- SUPPORTGUIDE 20010208103353 -----
REPORTWRITER, SGRW_VARIABLE, SGRW_EXTENSION, SGRW_DOCU_CONS_NOTE
SGRW_OM SGRW_PS SGRW_PC SGRW_SL SGRW_PCA SGRW_EC SGRW_LIS

No comments:

Post a Comment