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

Function FM_GET_ACTIVE_DIMENSIONS 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 'FM_GET_ACTIVE_DIMENSIONS'".
IMPORTING
E_GRANT_ACTIVE = "
E_BUD_PER_ACTIVE = "
E_FUND_ACTIVE = "
E_FUNCTION_ACTIVE = "
E_MEASURE_ACTIVE = "
E_MEASURE_VISIBLE = "
E_FUNDS_CTR_ACTIVE = "
E_CMMT_ITEM_ACTIVE = "
E_FM_ACTIVE = "
E_KOM_ACTIVE = "
EXPORTING Parameters details for FM_GET_ACTIVE_DIMENSIONS
E_GRANT_ACTIVE -
Data type: GM_GRANT_ACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
E_BUD_PER_ACTIVE -
Data type: FM_BUD_PER_ACTIVEOptional: No
Call by Reference: Yes
E_FUND_ACTIVE -
Data type: FM_FUND_ACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
E_FUNCTION_ACTIVE -
Data type: FM_FUNCTION_ACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
E_MEASURE_ACTIVE -
Data type: FM_MEASURE_ACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
E_MEASURE_VISIBLE -
Data type: FM_MEASURE_VISIBLEOptional: No
Call by Reference: No ( called with pass by value option)
E_FUNDS_CTR_ACTIVE -
Data type: FM_FUNDS_CTR_ACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
E_CMMT_ITEM_ACTIVE -
Data type: FM_CMMT_ITEM_ACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
E_FM_ACTIVE -
Data type: FMISPS-PS_ACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
E_KOM_ACTIVE -
Data type: FMISPS-KOM_ACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FM_GET_ACTIVE_DIMENSIONS 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_e_grant_active | TYPE GM_GRANT_ACTIVE, " | |||
| lv_e_bud_per_active | TYPE FM_BUD_PER_ACTIVE, " | |||
| lv_e_fund_active | TYPE FM_FUND_ACTIVE, " | |||
| lv_e_function_active | TYPE FM_FUNCTION_ACTIVE, " | |||
| lv_e_measure_active | TYPE FM_MEASURE_ACTIVE, " | |||
| lv_e_measure_visible | TYPE FM_MEASURE_VISIBLE, " | |||
| lv_e_funds_ctr_active | TYPE FM_FUNDS_CTR_ACTIVE, " | |||
| lv_e_cmmt_item_active | TYPE FM_CMMT_ITEM_ACTIVE, " | |||
| lv_e_fm_active | TYPE FMISPS-PS_ACTIVE, " | |||
| lv_e_kom_active | TYPE FMISPS-KOM_ACTIVE. " |
|   CALL FUNCTION 'FM_GET_ACTIVE_DIMENSIONS' " |
| IMPORTING | ||
| E_GRANT_ACTIVE | = lv_e_grant_active | |
| E_BUD_PER_ACTIVE | = lv_e_bud_per_active | |
| E_FUND_ACTIVE | = lv_e_fund_active | |
| E_FUNCTION_ACTIVE | = lv_e_function_active | |
| E_MEASURE_ACTIVE | = lv_e_measure_active | |
| E_MEASURE_VISIBLE | = lv_e_measure_visible | |
| E_FUNDS_CTR_ACTIVE | = lv_e_funds_ctr_active | |
| E_CMMT_ITEM_ACTIVE | = lv_e_cmmt_item_active | |
| E_FM_ACTIVE | = lv_e_fm_active | |
| E_KOM_ACTIVE | = lv_e_kom_active | |
| . " FM_GET_ACTIVE_DIMENSIONS | ||
ABAP code using 7.40 inline data declarations to call FM FM_GET_ACTIVE_DIMENSIONS
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.| "SELECT single PS_ACTIVE FROM FMISPS INTO @DATA(ld_e_fm_active). | ||||
| "SELECT single KOM_ACTIVE FROM FMISPS INTO @DATA(ld_e_kom_active). | ||||
Search for further information about these or an SAP related objects