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

Function ECATT_GET_TYPE_POOLS 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_GET_TYPE_POOLS'".
EXPORTING
* IM_FUNCNAME = "
* IM_PARTYPE = "Associated Type of an Interface Parameter
* IM_PARAMETER = "Parameter Name
* IM_MODE = "
IMPORTING
EX_BASIC = "
TABLES
* TYPEPOOLS = "
* TYPE_SRC = "Program Line in ABAP Format
* TAB_TYPEDESC = "
EXCEPTIONS
NOT_FOUND = 1 GENERATION_ERROR = 2 INIT_FAILED = 3 FUNCTION_NOT_ACTIVE = 4
IMPORTING Parameters details for ECATT_GET_TYPE_POOLS
IM_FUNCNAME -
Data type: RS38L_FNAMOptional: Yes
Call by Reference: Yes
IM_PARTYPE - Associated Type of an Interface Parameter
Data type: RS38L_TYPOptional: Yes
Call by Reference: Yes
IM_PARAMETER - Parameter Name
Data type: PARAMETEROptional: Yes
Call by Reference: Yes
IM_MODE -
Data type: PARAMETEROptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ECATT_GET_TYPE_POOLS
EX_BASIC -
Data type: COptional: No
Call by Reference: Yes
TABLES Parameters details for ECATT_GET_TYPE_POOLS
TYPEPOOLS -
Data type: ETRM_SRCOptional: Yes
Call by Reference: Yes
TYPE_SRC - Program Line in ABAP Format
Data type: ETRM_SRCOptional: Yes
Call by Reference: Yes
TAB_TYPEDESC -
Data type: ETXML_TYPESOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
GENERATION_ERROR -
Data type:Optional: No
Call by Reference: Yes
INIT_FAILED -
Data type:Optional: No
Call by Reference: Yes
FUNCTION_NOT_ACTIVE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ECATT_GET_TYPE_POOLS 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_basic | TYPE C, " | |||
| lv_not_found | TYPE C, " | |||
| lt_typepools | TYPE STANDARD TABLE OF ETRM_SRC, " | |||
| lv_im_funcname | TYPE RS38L_FNAM, " | |||
| lt_type_src | TYPE STANDARD TABLE OF ETRM_SRC, " | |||
| lv_im_partype | TYPE RS38L_TYP, " | |||
| lv_generation_error | TYPE RS38L_TYP, " | |||
| lv_init_failed | TYPE RS38L_TYP, " | |||
| lv_im_parameter | TYPE PARAMETER, " | |||
| lt_tab_typedesc | TYPE STANDARD TABLE OF ETXML_TYPES, " | |||
| lv_im_mode | TYPE PARAMETER, " | |||
| lv_function_not_active | TYPE PARAMETER. " |
|   CALL FUNCTION 'ECATT_GET_TYPE_POOLS' " |
| EXPORTING | ||
| IM_FUNCNAME | = lv_im_funcname | |
| IM_PARTYPE | = lv_im_partype | |
| IM_PARAMETER | = lv_im_parameter | |
| IM_MODE | = lv_im_mode | |
| IMPORTING | ||
| EX_BASIC | = lv_ex_basic | |
| TABLES | ||
| TYPEPOOLS | = lt_typepools | |
| TYPE_SRC | = lt_type_src | |
| TAB_TYPEDESC | = lt_tab_typedesc | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| GENERATION_ERROR = 2 | ||
| INIT_FAILED = 3 | ||
| FUNCTION_NOT_ACTIVE = 4 | ||
| . " ECATT_GET_TYPE_POOLS | ||
ABAP code using 7.40 inline data declarations to call FM ECATT_GET_TYPE_POOLS
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