SAP ISU_CHANGEDOCUMENT_DISPLAY_ALV Function Module for INTERNAL: Display Change Documents in ALV
ISU_CHANGEDOCUMENT_DISPLAY_ALV is a standard isu changedocument display alv SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Display Change Documents in ALV 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 changedocument display alv FM, simply by entering the name ISU_CHANGEDOCUMENT_DISPLAY_ALV into the relevant SAP transaction such as SE37 or SE38.
Function Group: EEWA_ROBJ_INT
Program Name: SAPLEEWA_ROBJ_INT
Main Program: SAPLEEWA_ROBJ_INT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_CHANGEDOCUMENT_DISPLAY_ALV 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_CHANGEDOCUMENT_DISPLAY_ALV'"INTERNAL: Display Change Documents in ALV.
EXPORTING
X_OBJECTCLAS = "Change Document Object Class
* X_T_TOP_OF_PAGE = "
X_OBJECTID = "Key for Change Document Object
* X_USERNAME = "Changed By
* X_UDATE = "
* X_UTIME = "
* X_TABNAME = "Table Name
* X_FNAME = "Field Name
* X_TCODE = "Transaction Code
* X_NO_TABLE_LINE = ' ' "Indicator: Hide Table Rows
EXCEPTIONS
AUTHORIZATION_FAILED = 1 OBJCLASS_INVALID = 2 POSITION_NOT_FOUND = 3 SYSTEM_ERROR = 4
IMPORTING Parameters details for ISU_CHANGEDOCUMENT_DISPLAY_ALV
X_OBJECTCLAS - Change Document Object Class
Data type: CDHDR-OBJECTCLASOptional: No
Call by Reference: No ( called with pass by value option)
X_T_TOP_OF_PAGE -
Data type: SLIS_T_LISTHEADEROptional: Yes
Call by Reference: No ( called with pass by value option)
X_OBJECTID - Key for Change Document Object
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
X_USERNAME - Changed By
Data type: CDRED-USERNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_UDATE -
Data type: CDRED-UDATEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_UTIME -
Data type: CDRED-UTIMEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_TABNAME - Table Name
Data type: CDRED-TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_FNAME - Field Name
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
X_TCODE - Transaction Code
Data type: CDRED-TCODEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_NO_TABLE_LINE - Indicator: Hide Table Rows
Data type: REGEN-KENNZXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
AUTHORIZATION_FAILED - No Authorization for Change Documents
Data type:Optional: No
Call by Reference: Yes
OBJCLASS_INVALID - Change Document Object Class is Unknown
Data type:Optional: No
Call by Reference: Yes
POSITION_NOT_FOUND - No Change Document Available for Key
Data type:Optional: No
Call by Reference: Yes
SYSTEM_ERROR - System Error (for Example, Accessing DB)
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_CHANGEDOCUMENT_DISPLAY_ALV 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_x_objectclas | TYPE CDHDR-OBJECTCLAS, " | |||
| lv_authorization_failed | TYPE CDHDR, " | |||
| lv_x_t_top_of_page | TYPE SLIS_T_LISTHEADER, " | |||
| lv_x_objectid | TYPE SLIS_T_LISTHEADER, " | |||
| lv_objclass_invalid | TYPE SLIS_T_LISTHEADER, " | |||
| lv_x_username | TYPE CDRED-USERNAME, " | |||
| lv_position_not_found | TYPE CDRED, " | |||
| lv_x_udate | TYPE CDRED-UDATE, " | |||
| lv_system_error | TYPE CDRED, " | |||
| lv_x_utime | TYPE CDRED-UTIME, " | |||
| lv_x_tabname | TYPE CDRED-TABNAME, " | |||
| lv_x_fname | TYPE CDRED, " | |||
| lv_x_tcode | TYPE CDRED-TCODE, " | |||
| lv_x_no_table_line | TYPE REGEN-KENNZX. " SPACE |
|   CALL FUNCTION 'ISU_CHANGEDOCUMENT_DISPLAY_ALV' "INTERNAL: Display Change Documents in ALV |
| EXPORTING | ||
| X_OBJECTCLAS | = lv_x_objectclas | |
| X_T_TOP_OF_PAGE | = lv_x_t_top_of_page | |
| X_OBJECTID | = lv_x_objectid | |
| X_USERNAME | = lv_x_username | |
| X_UDATE | = lv_x_udate | |
| X_UTIME | = lv_x_utime | |
| X_TABNAME | = lv_x_tabname | |
| X_FNAME | = lv_x_fname | |
| X_TCODE | = lv_x_tcode | |
| X_NO_TABLE_LINE | = lv_x_no_table_line | |
| EXCEPTIONS | ||
| AUTHORIZATION_FAILED = 1 | ||
| OBJCLASS_INVALID = 2 | ||
| POSITION_NOT_FOUND = 3 | ||
| SYSTEM_ERROR = 4 | ||
| . " ISU_CHANGEDOCUMENT_DISPLAY_ALV | ||
ABAP code using 7.40 inline data declarations to call FM ISU_CHANGEDOCUMENT_DISPLAY_ALV
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 OBJECTCLAS FROM CDHDR INTO @DATA(ld_x_objectclas). | ||||
| "SELECT single USERNAME FROM CDRED INTO @DATA(ld_x_username). | ||||
| "SELECT single UDATE FROM CDRED INTO @DATA(ld_x_udate). | ||||
| "SELECT single UTIME FROM CDRED INTO @DATA(ld_x_utime). | ||||
| "SELECT single TABNAME FROM CDRED INTO @DATA(ld_x_tabname). | ||||
| "SELECT single TCODE FROM CDRED INTO @DATA(ld_x_tcode). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_table_line). | ||||
| DATA(ld_x_no_table_line) | = ' '. | |||
Search for further information about these or an SAP related objects