SAP ECATT_LOG_GET_EXPORT Function Module for
ECATT_LOG_GET_EXPORT is a standard ecatt log get export 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 get export FM, simply by entering the name ECATT_LOG_GET_EXPORT 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): Normal Function Module
Update:

Function ECATT_LOG_GET_EXPORT 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_GET_EXPORT'".
EXPORTING
IM_SCRIPT = "eCATT Object
* IM_VARIANT = "Variant Name
* IM_USER = "Starter
* IM_LOGID = "Current Operation Number
IMPORTING
EX_LOGID = "Current Operation Number
EX_COUNT = "
EX_USER = "Starter
EX_DATE = "Start Date
EX_TIME = "Start time
EXPORT_VALUES = "eCATT LOG Export Parameter List
EXCEPTIONS
LOG_NOT_FOUND = 1
IMPORTING Parameters details for ECATT_LOG_GET_EXPORT
IM_SCRIPT - eCATT Object
Data type: ETOBJ_NAMEOptional: No
Call by Reference: Yes
IM_VARIANT - Variant Name
Data type: ETVAR_IDOptional: Yes
Call by Reference: Yes
IM_USER - Starter
Data type: ETLOG_UNAMOptional: Yes
Call by Reference: Yes
IM_LOGID - Current Operation Number
Data type: ETLOG_IDOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ECATT_LOG_GET_EXPORT
EX_LOGID - Current Operation Number
Data type: ETLOG_IDOptional: No
Call by Reference: Yes
EX_COUNT -
Data type: ECATANZABLOptional: No
Call by Reference: Yes
EX_USER - Starter
Data type: ETLOG_UNAMOptional: No
Call by Reference: Yes
EX_DATE - Start Date
Data type: ETLOG_SDATOptional: No
Call by Reference: Yes
EX_TIME - Start time
Data type: ETLOG_STIMOptional: No
Call by Reference: Yes
EXPORT_VALUES - eCATT LOG Export Parameter List
Data type: ETLOG_EXPO_TABTYPEOptional: No
Call by Reference: Yes
EXCEPTIONS details
LOG_NOT_FOUND - Log not found
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ECATT_LOG_GET_EXPORT 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_logid | TYPE ETLOG_ID, " | |||
| lv_im_script | TYPE ETOBJ_NAME, " | |||
| lv_log_not_found | TYPE ETOBJ_NAME, " | |||
| lv_ex_count | TYPE ECATANZABL, " | |||
| lv_im_variant | TYPE ETVAR_ID, " | |||
| lv_ex_user | TYPE ETLOG_UNAM, " | |||
| lv_im_user | TYPE ETLOG_UNAM, " | |||
| lv_ex_date | TYPE ETLOG_SDAT, " | |||
| lv_im_logid | TYPE ETLOG_ID, " | |||
| lv_ex_time | TYPE ETLOG_STIM, " | |||
| lv_export_values | TYPE ETLOG_EXPO_TABTYPE. " |
|   CALL FUNCTION 'ECATT_LOG_GET_EXPORT' " |
| EXPORTING | ||
| IM_SCRIPT | = lv_im_script | |
| IM_VARIANT | = lv_im_variant | |
| IM_USER | = lv_im_user | |
| IM_LOGID | = lv_im_logid | |
| IMPORTING | ||
| EX_LOGID | = lv_ex_logid | |
| EX_COUNT | = lv_ex_count | |
| EX_USER | = lv_ex_user | |
| EX_DATE | = lv_ex_date | |
| EX_TIME | = lv_ex_time | |
| EXPORT_VALUES | = lv_export_values | |
| EXCEPTIONS | ||
| LOG_NOT_FOUND = 1 | ||
| . " ECATT_LOG_GET_EXPORT | ||
ABAP code using 7.40 inline data declarations to call FM ECATT_LOG_GET_EXPORT
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.Search for further information about these or an SAP related objects