SAP FMCY_GET_FIELDCATALOGUE Function Module for Set fieldcatalogue for output list (for copy)
FMCY_GET_FIELDCATALOGUE is a standard fmcy get fieldcatalogue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set fieldcatalogue for output list (for copy) processing and below is the pattern details for this FM, 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 fmcy get fieldcatalogue FM, simply by entering the name FMCY_GET_FIELDCATALOGUE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCY_SERVICE
Program Name: SAPLFMCY_SERVICE
Main Program: SAPLFMCY_SERVICE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FMCY_GET_FIELDCATALOGUE 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 'FMCY_GET_FIELDCATALOGUE'"Set fieldcatalogue for output list (for copy).
EXPORTING
I_FUND_STATE = "Status of FM Account Assignment Element
I_BUDGET_PDSTATE = "Status of FM Account Assignment Element
I_FUNDSCTR_STATE = "Status of FM Account Assignment Element
I_CMMTITEM_STATE = "Status of FM Account Assignment Element
I_FUNCAREA_STATE = "Status of FM Account Assignment Element
I_GRANT_NBR_STATE = "Status of FM Account Assignment Element
I_MEASURE_STATE = "Status of FM Account Assignment Element
I_USERDIM_STATE = "Status of FM Account Assignment Element
I_CEFFYEAR_USED = "Checkbox
IMPORTING
E_T_LIST_FCAT = "Field catalog for ListViewer control
IMPORTING Parameters details for FMCY_GET_FIELDCATALOGUE
I_FUND_STATE - Status of FM Account Assignment Element
Data type: FMCU_DIMSTATEOptional: No
Call by Reference: Yes
I_BUDGET_PDSTATE - Status of FM Account Assignment Element
Data type: FMCU_DIMSTATEOptional: No
Call by Reference: Yes
I_FUNDSCTR_STATE - Status of FM Account Assignment Element
Data type: FMCU_DIMSTATEOptional: No
Call by Reference: Yes
I_CMMTITEM_STATE - Status of FM Account Assignment Element
Data type: FMCU_DIMSTATEOptional: No
Call by Reference: Yes
I_FUNCAREA_STATE - Status of FM Account Assignment Element
Data type: FMCU_DIMSTATEOptional: No
Call by Reference: Yes
I_GRANT_NBR_STATE - Status of FM Account Assignment Element
Data type: FMCU_DIMSTATEOptional: No
Call by Reference: Yes
I_MEASURE_STATE - Status of FM Account Assignment Element
Data type: FMCU_DIMSTATEOptional: No
Call by Reference: Yes
I_USERDIM_STATE - Status of FM Account Assignment Element
Data type: FMCU_DIMSTATEOptional: No
Call by Reference: Yes
I_CEFFYEAR_USED - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FMCY_GET_FIELDCATALOGUE
E_T_LIST_FCAT - Field catalog for ListViewer control
Data type: SLIS_T_FIELDCAT_ALVOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FMCY_GET_FIELDCATALOGUE 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_i_fund_state | TYPE FMCU_DIMSTATE, " | |||
| lv_e_t_list_fcat | TYPE SLIS_T_FIELDCAT_ALV, " | |||
| lv_i_budget_pdstate | TYPE FMCU_DIMSTATE, " | |||
| lv_i_fundsctr_state | TYPE FMCU_DIMSTATE, " | |||
| lv_i_cmmtitem_state | TYPE FMCU_DIMSTATE, " | |||
| lv_i_funcarea_state | TYPE FMCU_DIMSTATE, " | |||
| lv_i_grant_nbr_state | TYPE FMCU_DIMSTATE, " | |||
| lv_i_measure_state | TYPE FMCU_DIMSTATE, " | |||
| lv_i_userdim_state | TYPE FMCU_DIMSTATE, " | |||
| lv_i_ceffyear_used | TYPE XFELD. " |
|   CALL FUNCTION 'FMCY_GET_FIELDCATALOGUE' "Set fieldcatalogue for output list (for copy) |
| EXPORTING | ||
| I_FUND_STATE | = lv_i_fund_state | |
| I_BUDGET_PDSTATE | = lv_i_budget_pdstate | |
| I_FUNDSCTR_STATE | = lv_i_fundsctr_state | |
| I_CMMTITEM_STATE | = lv_i_cmmtitem_state | |
| I_FUNCAREA_STATE | = lv_i_funcarea_state | |
| I_GRANT_NBR_STATE | = lv_i_grant_nbr_state | |
| I_MEASURE_STATE | = lv_i_measure_state | |
| I_USERDIM_STATE | = lv_i_userdim_state | |
| I_CEFFYEAR_USED | = lv_i_ceffyear_used | |
| IMPORTING | ||
| E_T_LIST_FCAT | = lv_e_t_list_fcat | |
| . " FMCY_GET_FIELDCATALOGUE | ||
ABAP code using 7.40 inline data declarations to call FM FMCY_GET_FIELDCATALOGUE
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