SAP FMCE_READ_ALL_CVRGRPS_FOR_ADDR Function Module for Select All Cover Groups for a Given Budget Address
FMCE_READ_ALL_CVRGRPS_FOR_ADDR is a standard fmce read all cvrgrps for addr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Select All Cover Groups for a Given Budget Address 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 read all cvrgrps for addr FM, simply by entering the name FMCE_READ_ALL_CVRGRPS_FOR_ADDR 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_READ_ALL_CVRGRPS_FOR_ADDR 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_READ_ALL_CVRGRPS_FOR_ADDR'"Select All Cover Groups for a Given Budget Address.
EXPORTING
I_FM_AREA = "Financial Management Area
I_FISCYEAR = "Fiscal Year
I_BUDCAT = "Budget category
I_S_ADDRESS = "FM account assignment
* I_FLG_BYPASS_BUFFER = ' ' "Flag: By-pass internal buffer(s)
* I_CGAUTOIND = "Indicator for Cover Groups: Manual or Automatic?
* I_ALDNR = "Availability Control Ledger
* I_RBBLDNR = "Budget Category for Revenue Increasing the Budget
IMPORTING
E_T_ASSIGNED_CVRGRPS = "Table of Cover Groups That Are Assigned to a Budget Address
EXCEPTIONS
ERROR_CVRGRP = 1
IMPORTING Parameters details for FMCE_READ_ALL_CVRGRPS_FOR_ADDR
I_FM_AREA - Financial Management Area
Data type: FIKRSOptional: No
Call by Reference: Yes
I_FISCYEAR - Fiscal Year
Data type: GJAHROptional: No
Call by Reference: Yes
I_BUDCAT - Budget category
Data type: BUKU_BUDCATOptional: No
Call by Reference: Yes
I_S_ADDRESS - FM account assignment
Data type: FMKU_S_DIMPARTOptional: No
Call by Reference: Yes
I_FLG_BYPASS_BUFFER - Flag: By-pass internal buffer(s)
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: Yes
I_CGAUTOIND - Indicator for Cover Groups: Manual or Automatic?
Data type: FMCE_CGAUTOINDOptional: Yes
Call by Reference: Yes
I_ALDNR - Availability Control Ledger
Data type: BUAVC_ALDNROptional: Yes
Call by Reference: Yes
I_RBBLDNR - Budget Category for Revenue Increasing the Budget
Data type: BURB_RBBLDNROptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FMCE_READ_ALL_CVRGRPS_FOR_ADDR
E_T_ASSIGNED_CVRGRPS - Table of Cover Groups That Are Assigned to a Budget Address
Data type: FMCE_T_ASSIGNED_CVRGRPOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR_CVRGRP - Invalid cover group data (read access aborted)
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FMCE_READ_ALL_CVRGRPS_FOR_ADDR 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_error_cvrgrp | TYPE FIKRS, " | |||
| lv_e_t_assigned_cvrgrps | TYPE FMCE_T_ASSIGNED_CVRGRP, " | |||
| lv_i_fiscyear | TYPE GJAHR, " | |||
| lv_i_budcat | TYPE BUKU_BUDCAT, " | |||
| lv_i_s_address | TYPE FMKU_S_DIMPART, " | |||
| lv_i_flg_bypass_buffer | TYPE XFELD, " ' ' | |||
| lv_i_cgautoind | TYPE FMCE_CGAUTOIND, " | |||
| lv_i_aldnr | TYPE BUAVC_ALDNR, " | |||
| lv_i_rbbldnr | TYPE BURB_RBBLDNR. " |
|   CALL FUNCTION 'FMCE_READ_ALL_CVRGRPS_FOR_ADDR' "Select All Cover Groups for a Given Budget Address |
| EXPORTING | ||
| I_FM_AREA | = lv_i_fm_area | |
| I_FISCYEAR | = lv_i_fiscyear | |
| I_BUDCAT | = lv_i_budcat | |
| I_S_ADDRESS | = lv_i_s_address | |
| I_FLG_BYPASS_BUFFER | = lv_i_flg_bypass_buffer | |
| I_CGAUTOIND | = lv_i_cgautoind | |
| I_ALDNR | = lv_i_aldnr | |
| I_RBBLDNR | = lv_i_rbbldnr | |
| IMPORTING | ||
| E_T_ASSIGNED_CVRGRPS | = lv_e_t_assigned_cvrgrps | |
| EXCEPTIONS | ||
| ERROR_CVRGRP = 1 | ||
| . " FMCE_READ_ALL_CVRGRPS_FOR_ADDR | ||
ABAP code using 7.40 inline data declarations to call FM FMCE_READ_ALL_CVRGRPS_FOR_ADDR
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.| DATA(ld_i_flg_bypass_buffer) | = ' '. | |||
Search for further information about these or an SAP related objects