SAP FMCE_AUTH_CHECK_COVER_GROUP Function Module for Authorization check for auth. group of cover group
FMCE_AUTH_CHECK_COVER_GROUP is a standard fmce auth check cover group SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Authorization check for auth. group of cover group 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 fmce auth check cover group FM, simply by entering the name FMCE_AUTH_CHECK_COVER_GROUP into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCE_READ_COVER_GROUPS
Program Name: SAPLFMCE_READ_COVER_GROUPS
Main Program: SAPLFMCE_READ_COVER_GROUPS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FMCE_AUTH_CHECK_COVER_GROUP 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 'FMCE_AUTH_CHECK_COVER_GROUP'"Authorization check for auth. group of cover group.
EXPORTING
I_FM_AREA = "Financial Management Area
I_AUTHGRP = "Authorization Group of the Cover Group
I_ACTVT = "Activity
* I_ACTVT_A = "Activity
* I_MSGTY = "Message Type
IMPORTING
E_FLG_AUTH = "Authorization Activity Checked
E_FLG_AUTH_A = "Alternative Authorization Activity Checked
IMPORTING Parameters details for FMCE_AUTH_CHECK_COVER_GROUP
I_FM_AREA - Financial Management Area
Data type: FIKRSOptional: No
Call by Reference: Yes
I_AUTHGRP - Authorization Group of the Cover Group
Data type: FM_AUTHGRP_CVRGRPOptional: No
Call by Reference: Yes
I_ACTVT - Activity
Data type: TACT-ACTVTOptional: No
Call by Reference: Yes
I_ACTVT_A - Activity
Data type: TACT-ACTVTOptional: Yes
Call by Reference: Yes
I_MSGTY - Message Type
Data type: SY-MSGTYOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FMCE_AUTH_CHECK_COVER_GROUP
E_FLG_AUTH - Authorization Activity Checked
Data type: XFELDOptional: No
Call by Reference: Yes
E_FLG_AUTH_A - Alternative Authorization Activity Checked
Data type: XFELDOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FMCE_AUTH_CHECK_COVER_GROUP 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_fm_area | TYPE FIKRS, " | |||
| lv_e_flg_auth | TYPE XFELD, " | |||
| lv_i_authgrp | TYPE FM_AUTHGRP_CVRGRP, " | |||
| lv_e_flg_auth_a | TYPE XFELD, " | |||
| lv_i_actvt | TYPE TACT-ACTVT, " | |||
| lv_i_actvt_a | TYPE TACT-ACTVT, " | |||
| lv_i_msgty | TYPE SY-MSGTY. " |
|   CALL FUNCTION 'FMCE_AUTH_CHECK_COVER_GROUP' "Authorization check for auth. group of cover group |
| EXPORTING | ||
| I_FM_AREA | = lv_i_fm_area | |
| I_AUTHGRP | = lv_i_authgrp | |
| I_ACTVT | = lv_i_actvt | |
| I_ACTVT_A | = lv_i_actvt_a | |
| I_MSGTY | = lv_i_msgty | |
| IMPORTING | ||
| E_FLG_AUTH | = lv_e_flg_auth | |
| E_FLG_AUTH_A | = lv_e_flg_auth_a | |
| . " FMCE_AUTH_CHECK_COVER_GROUP | ||
ABAP code using 7.40 inline data declarations to call FM FMCE_AUTH_CHECK_COVER_GROUP
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 ACTVT FROM TACT INTO @DATA(ld_i_actvt). | ||||
| "SELECT single ACTVT FROM TACT INTO @DATA(ld_i_actvt_a). | ||||
| "SELECT single MSGTY FROM SY INTO @DATA(ld_i_msgty). | ||||
Search for further information about these or an SAP related objects