SAP FKK_ESR_DISPLAY_CHANGEDOC Function Module for
FKK_ESR_DISPLAY_CHANGEDOC is a standard fkk esr display changedoc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fkk esr display changedoc FM, simply by entering the name FKK_ESR_DISPLAY_CHANGEDOC into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKCD
Program Name: SAPLFKCD
Main Program: SAPLFKCD
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_ESR_DISPLAY_CHANGEDOC 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 'FKK_ESR_DISPLAY_CHANGEDOC'".
EXPORTING
OBJECTID = "
* TABLE = "Table
* FIELD = "Field
* UPD_ONLY = 'X' "
* OBJECTCLAS = 'MKK_ESR' "Change Document Object
* CHANGE_ID = ' ' "Change Number of Document
IMPORTING Parameters details for FKK_ESR_DISPLAY_CHANGEDOC
OBJECTID -
Data type: CDHDR-OBJECTIDOptional: No
Call by Reference: No ( called with pass by value option)
TABLE - Table
Data type: DD03L-TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
FIELD - Field
Data type: DD03L-FIELDNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_ONLY -
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECTCLAS - Change Document Object
Data type: CDHDR-OBJECTCLASDefault: 'MKK_ESR'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGE_ID - Change Number of Document
Data type: CDCHANGENRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_ESR_DISPLAY_CHANGEDOC 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_objectid | TYPE CDHDR-OBJECTID, " | |||
| lv_table | TYPE DD03L-TABNAME, " | |||
| lv_field | TYPE DD03L-FIELDNAME, " | |||
| lv_upd_only | TYPE BOOLE-BOOLE, " 'X' | |||
| lv_objectclas | TYPE CDHDR-OBJECTCLAS, " 'MKK_ESR' | |||
| lv_change_id | TYPE CDCHANGENR. " SPACE |
|   CALL FUNCTION 'FKK_ESR_DISPLAY_CHANGEDOC' " |
| EXPORTING | ||
| OBJECTID | = lv_objectid | |
| TABLE | = lv_table | |
| FIELD | = lv_field | |
| UPD_ONLY | = lv_upd_only | |
| OBJECTCLAS | = lv_objectclas | |
| CHANGE_ID | = lv_change_id | |
| . " FKK_ESR_DISPLAY_CHANGEDOC | ||
ABAP code using 7.40 inline data declarations to call FM FKK_ESR_DISPLAY_CHANGEDOC
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 OBJECTID FROM CDHDR INTO @DATA(ld_objectid). | ||||
| "SELECT single TABNAME FROM DD03L INTO @DATA(ld_table). | ||||
| "SELECT single FIELDNAME FROM DD03L INTO @DATA(ld_field). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_upd_only). | ||||
| DATA(ld_upd_only) | = 'X'. | |||
| "SELECT single OBJECTCLAS FROM CDHDR INTO @DATA(ld_objectclas). | ||||
| DATA(ld_objectclas) | = 'MKK_ESR'. | |||
| DATA(ld_change_id) | = ' '. | |||
Search for further information about these or an SAP related objects