SAP ECATT_LOG_DISPLAY Function Module for
ECATT_LOG_DISPLAY is a standard ecatt log display 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 ecatt log display FM, simply by entering the name ECATT_LOG_DISPLAY into the relevant SAP transaction such as SE37 or SE38.
Function Group: ECATT_LOG
Program Name: SAPLECATT_LOG
Main Program: SAPLECATT_LOG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ECATT_LOG_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 'ECATT_LOG_DISPLAY'".
EXPORTING
IM_LOGKEY = "eCATT Key Fields for Log Tables
* IM_TDC = "
* IM_OBJ_LNR = "
* IM_SCR_LNR = "eCATT Current Number of Script Command
* IM_WBMANAGER_ACTIVE = ' ' "
* IM_JUMP_TO_NODE = ' ' "
* IM_ISV_LOG = ABAP_TRUE "
* IM_URL_LOG = 'X' "
IMPORTING
EX_OK = "Screens, Function Code Triggered by PAI
IMPORTING Parameters details for ECATT_LOG_DISPLAY
IM_LOGKEY - eCATT Key Fields for Log Tables
Data type: ETLOG_KEYOptional: No
Call by Reference: No ( called with pass by value option)
IM_TDC -
Data type: ETOBJ_LNROptional: Yes
Call by Reference: No ( called with pass by value option)
IM_OBJ_LNR -
Data type: ETOBJ_LNROptional: Yes
Call by Reference: No ( called with pass by value option)
IM_SCR_LNR - eCATT Current Number of Script Command
Data type: ETSCR_LNROptional: Yes
Call by Reference: No ( called with pass by value option)
IM_WBMANAGER_ACTIVE -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IM_JUMP_TO_NODE -
Data type: ETONOFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IM_ISV_LOG -
Data type: BOOLE_DDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IM_URL_LOG -
Data type: ETONOFFDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ECATT_LOG_DISPLAY
EX_OK - Screens, Function Code Triggered by PAI
Data type: SYUCOMMOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ECATT_LOG_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_ex_ok | TYPE SYUCOMM, " | |||
| lv_im_logkey | TYPE ETLOG_KEY, " | |||
| lv_im_tdc | TYPE ETOBJ_LNR, " | |||
| lv_im_obj_lnr | TYPE ETOBJ_LNR, " | |||
| lv_im_scr_lnr | TYPE ETSCR_LNR, " | |||
| lv_im_wbmanager_active | TYPE CHAR1, " SPACE | |||
| lv_im_jump_to_node | TYPE ETONOFF, " SPACE | |||
| lv_im_isv_log | TYPE BOOLE_D, " ABAP_TRUE | |||
| lv_im_url_log | TYPE ETONOFF. " 'X' |
|   CALL FUNCTION 'ECATT_LOG_DISPLAY' " |
| EXPORTING | ||
| IM_LOGKEY | = lv_im_logkey | |
| IM_TDC | = lv_im_tdc | |
| IM_OBJ_LNR | = lv_im_obj_lnr | |
| IM_SCR_LNR | = lv_im_scr_lnr | |
| IM_WBMANAGER_ACTIVE | = lv_im_wbmanager_active | |
| IM_JUMP_TO_NODE | = lv_im_jump_to_node | |
| IM_ISV_LOG | = lv_im_isv_log | |
| IM_URL_LOG | = lv_im_url_log | |
| IMPORTING | ||
| EX_OK | = lv_ex_ok | |
| . " ECATT_LOG_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM ECATT_LOG_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_im_wbmanager_active) | = ' '. | |||
| DATA(ld_im_jump_to_node) | = ' '. | |||
| DATA(ld_im_isv_log) | = ABAP_TRUE. | |||
| DATA(ld_im_url_log) | = 'X'. | |||
Search for further information about these or an SAP related objects