SAP ISU_REFERENCE_VALUE_CHANGE Function Module for Maintain Reference Value









ISU_REFERENCE_VALUE_CHANGE is a standard isu reference value change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Maintain Reference Value processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for isu reference value change FM, simply by entering the name ISU_REFERENCE_VALUE_CHANGE into the relevant SAP transaction such as SE37 or SE38.

Function Group: E20D
Program Name: SAPLE20D
Main Program: SAPLE20D
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_REFERENCE_VALUE_CHANGE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'ISU_REFERENCE_VALUE_CHANGE'"Maintain Reference Value
EXPORTING
* DATE = SY-DATUM "
* DEL_KZ = "
* X_INST_DATA = "
BZG = "Data for Reference Value
* NO_DIALOG = "No Dialog
LAST_BILLING = "
* WMODE = 1 "Processing Mode
* UPD_ONLINE = "
* ADDR_DISPLAY = "
* SPARTE = "Division
* X_IRATECAT = "

IMPORTING
BZG = "Data for Reference Value
CHANGED = "Indicator: Data was Changed
EXIT = "

EXCEPTIONS
INPUT_ERROR = 1 INVALID = 2
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLE20D_001 IS-U: PAI Checks for Customer Fields in the Reference Values
EXIT_SAPLE20D_002 Preassigned Reference Values
EXIT_SAPLE20D_003 Called Before the Customer Subscreen for Reference Values is Called
EXIT_SAPLE20D_004 Called after Calling Up Customer Subscreen for Reference Values

IMPORTING Parameters details for ISU_REFERENCE_VALUE_CHANGE

DATE -

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

DEL_KZ -

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_INST_DATA -

Data type: EANLDATA
Optional: Yes
Call by Reference: No ( called with pass by value option)

BZG - Data for Reference Value

Data type: ISU20_REFERENCE_VALUE
Optional: No
Call by Reference: No ( called with pass by value option)

NO_DIALOG - No Dialog

Data type: REGEN-NO_DIALOG
Optional: Yes
Call by Reference: No ( called with pass by value option)

LAST_BILLING -

Data type: RES70-AB
Optional: No
Call by Reference: No ( called with pass by value option)

WMODE - Processing Mode

Data type: REGEN-WMODE
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

UPD_ONLINE -

Data type: REGEN-UPD_ONLINE
Optional: Yes
Call by Reference: No ( called with pass by value option)

ADDR_DISPLAY -

Data type: ISU02_ADDR_DISPLAY
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPARTE - Division

Data type: RES70-SPARTE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_IRATECAT -

Data type: ISU20_FACTS-IRATECAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISU_REFERENCE_VALUE_CHANGE

BZG - Data for Reference Value

Data type: ISU20_REFERENCE_VALUE
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGED - Indicator: Data was Changed

Data type: REGEN-CHANGED
Optional: No
Call by Reference: No ( called with pass by value option)

EXIT -

Data type: REGEN-EXIT
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

INPUT_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INVALID -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISU_REFERENCE_VALUE_CHANGE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_bzg  TYPE ISU20_REFERENCE_VALUE, "   
lv_date  TYPE SY-DATUM, "   SY-DATUM
lv_input_error  TYPE SY, "   
lv_del_kz  TYPE REGEN-KENNZX, "   
lv_x_inst_data  TYPE EANLDATA, "   
lv_bzg  TYPE ISU20_REFERENCE_VALUE, "   
lv_changed  TYPE REGEN-CHANGED, "   
lv_invalid  TYPE REGEN, "   
lv_exit  TYPE REGEN-EXIT, "   
lv_no_dialog  TYPE REGEN-NO_DIALOG, "   
lv_last_billing  TYPE RES70-AB, "   
lv_wmode  TYPE REGEN-WMODE, "   1
lv_upd_online  TYPE REGEN-UPD_ONLINE, "   
lv_addr_display  TYPE ISU02_ADDR_DISPLAY, "   
lv_sparte  TYPE RES70-SPARTE, "   
lv_x_iratecat  TYPE ISU20_FACTS-IRATECAT. "   

  CALL FUNCTION 'ISU_REFERENCE_VALUE_CHANGE'  "Maintain Reference Value
    EXPORTING
         DATE = lv_date
         DEL_KZ = lv_del_kz
         X_INST_DATA = lv_x_inst_data
         BZG = lv_bzg
         NO_DIALOG = lv_no_dialog
         LAST_BILLING = lv_last_billing
         WMODE = lv_wmode
         UPD_ONLINE = lv_upd_online
         ADDR_DISPLAY = lv_addr_display
         SPARTE = lv_sparte
         X_IRATECAT = lv_x_iratecat
    IMPORTING
         BZG = lv_bzg
         CHANGED = lv_changed
         EXIT = lv_exit
    EXCEPTIONS
        INPUT_ERROR = 1
        INVALID = 2
. " ISU_REFERENCE_VALUE_CHANGE




ABAP code using 7.40 inline data declarations to call FM ISU_REFERENCE_VALUE_CHANGE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single DATUM FROM SY INTO @DATA(ld_date).
DATA(ld_date) = SY-DATUM.
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_del_kz).
 
 
 
"SELECT single CHANGED FROM REGEN INTO @DATA(ld_changed).
 
 
"SELECT single EXIT FROM REGEN INTO @DATA(ld_exit).
 
"SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_no_dialog).
 
"SELECT single AB FROM RES70 INTO @DATA(ld_last_billing).
 
"SELECT single WMODE FROM REGEN INTO @DATA(ld_wmode).
DATA(ld_wmode) = 1.
 
"SELECT single UPD_ONLINE FROM REGEN INTO @DATA(ld_upd_online).
 
 
"SELECT single SPARTE FROM RES70 INTO @DATA(ld_sparte).
 
"SELECT single IRATECAT FROM ISU20_FACTS INTO @DATA(ld_x_iratecat).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!