SAP J_7L_CHANGEDOCUMENT_DISPLAY Function Module for NOTRANSL: REA: Anzeige Änderungsbelege
J_7L_CHANGEDOCUMENT_DISPLAY is a standard j 7l changedocument display SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: REA: Anzeige Änderungsbelege 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 j 7l changedocument display FM, simply by entering the name J_7L_CHANGEDOCUMENT_DISPLAY into the relevant SAP transaction such as SE37 or SE38.
Function Group: J7LL
Program Name: SAPLJ7LL
Main Program: SAPLJ7LL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function J_7L_CHANGEDOCUMENT_DISPLAY 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 'J_7L_CHANGEDOCUMENT_DISPLAY'"NOTRANSL: REA: Anzeige Änderungsbelege.
EXPORTING
I_TITLE = "ALV Control: Title Line Text
* I_HEADER_STRUCTURE = "Table Name
* I_ITEM_STRUCTURE = "Table Name
* I_SORT = 'D' "
* I_MODE = ' ' "
TABLES
IT_CHANGEDOCUMENTS = "
EXCEPTIONS
NO_CHANGEDOCUMENTS = 1 ERROR_READ_POSITION = 2 INTERNAL_ERROR = 3
IMPORTING Parameters details for J_7L_CHANGEDOCUMENT_DISPLAY
I_TITLE - ALV Control: Title Line Text
Data type: LVC_TITLEOptional: No
Call by Reference: Yes
I_HEADER_STRUCTURE - Table Name
Data type: TABNAMEOptional: Yes
Call by Reference: Yes
I_ITEM_STRUCTURE - Table Name
Data type: TABNAMEOptional: Yes
Call by Reference: Yes
I_SORT -
Data type: CDefault: 'D'
Optional: Yes
Call by Reference: Yes
I_MODE -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for J_7L_CHANGEDOCUMENT_DISPLAY
IT_CHANGEDOCUMENTS -
Data type: CDHDROptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_CHANGEDOCUMENTS -
Data type:Optional: No
Call by Reference: Yes
ERROR_READ_POSITION -
Data type:Optional: No
Call by Reference: Yes
INTERNAL_ERROR - Internal error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for J_7L_CHANGEDOCUMENT_DISPLAY 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_i_title | TYPE LVC_TITLE, " | |||
| lt_it_changedocuments | TYPE STANDARD TABLE OF CDHDR, " | |||
| lv_no_changedocuments | TYPE CDHDR, " | |||
| lv_i_header_structure | TYPE TABNAME, " | |||
| lv_error_read_position | TYPE TABNAME, " | |||
| lv_internal_error | TYPE TABNAME, " | |||
| lv_i_item_structure | TYPE TABNAME, " | |||
| lv_i_sort | TYPE C, " 'D' | |||
| lv_i_mode | TYPE C. " SPACE |
|   CALL FUNCTION 'J_7L_CHANGEDOCUMENT_DISPLAY' "NOTRANSL: REA: Anzeige Änderungsbelege |
| EXPORTING | ||
| I_TITLE | = lv_i_title | |
| I_HEADER_STRUCTURE | = lv_i_header_structure | |
| I_ITEM_STRUCTURE | = lv_i_item_structure | |
| I_SORT | = lv_i_sort | |
| I_MODE | = lv_i_mode | |
| TABLES | ||
| IT_CHANGEDOCUMENTS | = lt_it_changedocuments | |
| EXCEPTIONS | ||
| NO_CHANGEDOCUMENTS = 1 | ||
| ERROR_READ_POSITION = 2 | ||
| INTERNAL_ERROR = 3 | ||
| . " J_7L_CHANGEDOCUMENT_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM J_7L_CHANGEDOCUMENT_DISPLAY
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_sort) | = 'D'. | |||
| DATA(ld_i_mode) | = ' '. | |||
Search for further information about these or an SAP related objects