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

Function ECATT_EXEC_LCP_QUERY 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_EXEC_LCP_QUERY'".
EXPORTING
IM_SERVICE = "
IS_LCP_IMPO = "
IM_BO_NAME = "
IM_BO_NODE_NAME = "
IM_FILL_DATA = "
IM_QUERY_NAME = "
IT_FILTER_NODE_IDS = "
IS_QUERY_OPTIONS = "
IT_SELECTION_PARAMETERS = "
IMPORTING
ES_LCP_EXPO = "
ET_MESSAGES = "
EX_DATA = "
ET_NODE_IDS = "
ES_QUERY_INFO = "
E_SUTTIME = "
IMPORTING Parameters details for ECATT_EXEC_LCP_QUERY
IM_SERVICE -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
IS_LCP_IMPO -
Data type: ETESF_LCP_IMPOOptional: No
Call by Reference: No ( called with pass by value option)
IM_BO_NAME -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
IM_BO_NODE_NAME -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
IM_FILL_DATA -
Data type: ETESF_BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
IM_QUERY_NAME -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
IT_FILTER_NODE_IDS -
Data type: ETESF_LCP_NODE_ID_TABTYPEOptional: No
Call by Reference: No ( called with pass by value option)
IS_QUERY_OPTIONS -
Data type: ETESF_QUERY_OPTIONSOptional: No
Call by Reference: No ( called with pass by value option)
IT_SELECTION_PARAMETERS -
Data type: ETESF_SEL_PARAM_TABTYPEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ECATT_EXEC_LCP_QUERY
ES_LCP_EXPO -
Data type: ETESF_LCP_EXPOOptional: No
Call by Reference: No ( called with pass by value option)
ET_MESSAGES -
Data type: ETMSG_ESF_LCP_TABTYPEOptional: No
Call by Reference: No ( called with pass by value option)
EX_DATA -
Data type: XSTRINGOptional: No
Call by Reference: No ( called with pass by value option)
ET_NODE_IDS -
Data type: ETESF_LCP_NODE_ID_TABTYPEOptional: No
Call by Reference: No ( called with pass by value option)
ES_QUERY_INFO -
Data type: ETESF_QUERY_INFOOptional: No
Call by Reference: No ( called with pass by value option)
E_SUTTIME -
Data type: ETLOG_SUTTIMEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ECATT_EXEC_LCP_QUERY 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_im_service | TYPE STRING, " | |||
| lv_es_lcp_expo | TYPE ETESF_LCP_EXPO, " | |||
| lv_et_messages | TYPE ETMSG_ESF_LCP_TABTYPE, " | |||
| lv_is_lcp_impo | TYPE ETESF_LCP_IMPO, " | |||
| lv_ex_data | TYPE XSTRING, " | |||
| lv_im_bo_name | TYPE STRING, " | |||
| lv_et_node_ids | TYPE ETESF_LCP_NODE_ID_TABTYPE, " | |||
| lv_im_bo_node_name | TYPE STRING, " | |||
| lv_im_fill_data | TYPE ETESF_BOOLEAN, " | |||
| lv_es_query_info | TYPE ETESF_QUERY_INFO, " | |||
| lv_e_suttime | TYPE ETLOG_SUTTIME, " | |||
| lv_im_query_name | TYPE STRING, " | |||
| lv_it_filter_node_ids | TYPE ETESF_LCP_NODE_ID_TABTYPE, " | |||
| lv_is_query_options | TYPE ETESF_QUERY_OPTIONS, " | |||
| lv_it_selection_parameters | TYPE ETESF_SEL_PARAM_TABTYPE. " |
|   CALL FUNCTION 'ECATT_EXEC_LCP_QUERY' " |
| EXPORTING | ||
| IM_SERVICE | = lv_im_service | |
| IS_LCP_IMPO | = lv_is_lcp_impo | |
| IM_BO_NAME | = lv_im_bo_name | |
| IM_BO_NODE_NAME | = lv_im_bo_node_name | |
| IM_FILL_DATA | = lv_im_fill_data | |
| IM_QUERY_NAME | = lv_im_query_name | |
| IT_FILTER_NODE_IDS | = lv_it_filter_node_ids | |
| IS_QUERY_OPTIONS | = lv_is_query_options | |
| IT_SELECTION_PARAMETERS | = lv_it_selection_parameters | |
| IMPORTING | ||
| ES_LCP_EXPO | = lv_es_lcp_expo | |
| ET_MESSAGES | = lv_et_messages | |
| EX_DATA | = lv_ex_data | |
| ET_NODE_IDS | = lv_et_node_ids | |
| ES_QUERY_INFO | = lv_es_query_info | |
| E_SUTTIME | = lv_e_suttime | |
| . " ECATT_EXEC_LCP_QUERY | ||
ABAP code using 7.40 inline data declarations to call FM ECATT_EXEC_LCP_QUERY
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