SAP RZI_COMPONENT_CHANGES_GET Function Module for Get All Changes for a Component









RZI_COMPONENT_CHANGES_GET is a standard rzi component changes get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get All Changes for a Component 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 rzi component changes get FM, simply by entering the name RZI_COMPONENT_CHANGES_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: RZI0
Program Name: SAPLRZI0
Main Program: SAPLRZI0
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RZI_COMPONENT_CHANGES_GET 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 'RZI_COMPONENT_CHANGES_GET'"Get All Changes for a Component
EXPORTING
I_COMPONENT_UID = "
* I_COMPONENT_ID = "Name (ID) of a Reporting Component
* I_SMODE = "Special Reports
I_TIMESTMP = "
* I_CHECK_MODE = RS_C_FALSE "
* I_T_CHECK_CHNG = "Table of GUIDs

IMPORTING
E_T_CHANGES = "

EXCEPTIONS
ELEMENT_NOT_FOUND = 1
.



IMPORTING Parameters details for RZI_COMPONENT_CHANGES_GET

I_COMPONENT_UID -

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

I_COMPONENT_ID - Name (ID) of a Reporting Component

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

I_SMODE - Special Reports

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

I_TIMESTMP -

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

I_CHECK_MODE -

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

I_T_CHECK_CHNG - Table of GUIDs

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

EXPORTING Parameters details for RZI_COMPONENT_CHANGES_GET

E_T_CHANGES -

Data type: RZI0_T_CHANGES
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ELEMENT_NOT_FOUND -

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

Copy and paste ABAP code example for RZI_COMPONENT_CHANGES_GET 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_e_t_changes  TYPE RZI0_T_CHANGES, "   
lv_i_component_uid  TYPE RSZ_UID, "   
lv_element_not_found  TYPE RSZ_UID, "   
lv_i_component_id  TYPE RSZCOMPID, "   
lv_i_smode  TYPE RSSMODE, "   
lv_i_timestmp  TYPE RS_TIMESTMP, "   
lv_i_check_mode  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_t_check_chng  TYPE RZD1_T_GUID. "   

  CALL FUNCTION 'RZI_COMPONENT_CHANGES_GET'  "Get All Changes for a Component
    EXPORTING
         I_COMPONENT_UID = lv_i_component_uid
         I_COMPONENT_ID = lv_i_component_id
         I_SMODE = lv_i_smode
         I_TIMESTMP = lv_i_timestmp
         I_CHECK_MODE = lv_i_check_mode
         I_T_CHECK_CHNG = lv_i_t_check_chng
    IMPORTING
         E_T_CHANGES = lv_e_t_changes
    EXCEPTIONS
        ELEMENT_NOT_FOUND = 1
. " RZI_COMPONENT_CHANGES_GET




ABAP code using 7.40 inline data declarations to call FM RZI_COMPONENT_CHANGES_GET

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.

 
 
 
 
 
 
DATA(ld_i_check_mode) = RS_C_FALSE.
 
 


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!