SAP FMCE_READ_COVER_GROUP Function Module for Read Cover Group Definition (Database/Buffer)









FMCE_READ_COVER_GROUP is a standard fmce read 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 Read Cover Group Definition (Database/Buffer) 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 cover group FM, simply by entering the name FMCE_READ_COVER_GROUP into the relevant SAP transaction such as SE37 or SE38.

Function Group: FMCE_DB_ACCESS
Program Name: SAPLFMCE_DB_ACCESS
Main Program: SAPLFMCE_DB_ACCESS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FMCE_READ_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_READ_COVER_GROUP'"Read Cover Group Definition (Database/Buffer)
EXPORTING
I_FM_AREA = "Financial Management Area
I_FISCYEAR = "Fiscal Year
I_BUDCAT = "Budget category
I_CVRGRP = "Cover Group
* I_FLG_BYPASS_BUFFER = 'X' "Flag: Bypass Read Buffer
* I_FLG_WITH_TEXT = ' ' "Flag: Also Read Texts?

IMPORTING
E_CGAUTOIND = "Indicator for Cover Groups: Manual or Automatic?
E_AUTHGRP = "Authorization Group of the Cover Group
E_ALDNR = "Availability Control Ledger
E_RBBLDNR = "Budget Category for Revenue Increasing the Budget
E_BM_RECEIVER = "Budget Memo (Template) for Cover Groups: Receiver Addresses
E_BM_SENDER = "Budget Memo (Template) for Cover Groups: Sender Addresses
E_BM_REC_AND_SEN = "Budget Memo (Template) for Cover Groups: Receivers & Senders
E_S_USERLOG = "Kernel Utilities - User Log
E_TEXT = "Short Text for Cover Groups
E_OBJNR = "Object number for FM budgeting and AVC

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for FMCE_READ_COVER_GROUP

I_FM_AREA - Financial Management Area

Data type: FIKRS
Optional: No
Call by Reference: Yes

I_FISCYEAR - Fiscal Year

Data type: GJAHR
Optional: No
Call by Reference: Yes

I_BUDCAT - Budget category

Data type: BUKU_BUDCAT
Optional: No
Call by Reference: Yes

I_CVRGRP - Cover Group

Data type: FMCE_CVRGRP
Optional: No
Call by Reference: Yes

I_FLG_BYPASS_BUFFER - Flag: Bypass Read Buffer

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_FLG_WITH_TEXT - Flag: Also Read Texts?

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FMCE_READ_COVER_GROUP

E_CGAUTOIND - Indicator for Cover Groups: Manual or Automatic?

Data type: FMCE_CGAUTOIND
Optional: No
Call by Reference: Yes

E_AUTHGRP - Authorization Group of the Cover Group

Data type: FM_AUTHGRP_CVRGRP
Optional: No
Call by Reference: Yes

E_ALDNR - Availability Control Ledger

Data type: BUAVC_ALDNR
Optional: No
Call by Reference: Yes

E_RBBLDNR - Budget Category for Revenue Increasing the Budget

Data type: BURB_RBBLDNR
Optional: No
Call by Reference: Yes

E_BM_RECEIVER - Budget Memo (Template) for Cover Groups: Receiver Addresses

Data type: FMCE_TXTTEMPL_BM_RECEIVER
Optional: No
Call by Reference: Yes

E_BM_SENDER - Budget Memo (Template) for Cover Groups: Sender Addresses

Data type: FMCE_TXTTEMPL_BM_SENDER
Optional: No
Call by Reference: Yes

E_BM_REC_AND_SEN - Budget Memo (Template) for Cover Groups: Receivers & Senders

Data type: FMCE_TXTTEMPL_BM_REC_AND_SEN
Optional: No
Call by Reference: Yes

E_S_USERLOG - Kernel Utilities - User Log

Data type: BUKU_S_USERLOG
Optional: No
Call by Reference: Yes

E_TEXT - Short Text for Cover Groups

Data type: FMCE_CVRGRP_TEXT
Optional: No
Call by Reference: Yes

E_OBJNR - Object number for FM budgeting and AVC

Data type: BUBAS_OBJNR
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NOT_FOUND - Specified Cover Group Not Found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FMCE_READ_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_not_found  TYPE FIKRS, "   
lv_e_cgautoind  TYPE FMCE_CGAUTOIND, "   
lv_e_authgrp  TYPE FM_AUTHGRP_CVRGRP, "   
lv_e_aldnr  TYPE BUAVC_ALDNR, "   
lv_i_fiscyear  TYPE GJAHR, "   
lv_i_budcat  TYPE BUKU_BUDCAT, "   
lv_e_rbbldnr  TYPE BURB_RBBLDNR, "   
lv_i_cvrgrp  TYPE FMCE_CVRGRP, "   
lv_e_bm_receiver  TYPE FMCE_TXTTEMPL_BM_RECEIVER, "   
lv_e_bm_sender  TYPE FMCE_TXTTEMPL_BM_SENDER, "   
lv_i_flg_bypass_buffer  TYPE XFELD, "   'X'
lv_i_flg_with_text  TYPE XFELD, "   ' '
lv_e_bm_rec_and_sen  TYPE FMCE_TXTTEMPL_BM_REC_AND_SEN, "   
lv_e_s_userlog  TYPE BUKU_S_USERLOG, "   
lv_e_text  TYPE FMCE_CVRGRP_TEXT, "   
lv_e_objnr  TYPE BUBAS_OBJNR. "   

  CALL FUNCTION 'FMCE_READ_COVER_GROUP'  "Read Cover Group Definition (Database/Buffer)
    EXPORTING
         I_FM_AREA = lv_i_fm_area
         I_FISCYEAR = lv_i_fiscyear
         I_BUDCAT = lv_i_budcat
         I_CVRGRP = lv_i_cvrgrp
         I_FLG_BYPASS_BUFFER = lv_i_flg_bypass_buffer
         I_FLG_WITH_TEXT = lv_i_flg_with_text
    IMPORTING
         E_CGAUTOIND = lv_e_cgautoind
         E_AUTHGRP = lv_e_authgrp
         E_ALDNR = lv_e_aldnr
         E_RBBLDNR = lv_e_rbbldnr
         E_BM_RECEIVER = lv_e_bm_receiver
         E_BM_SENDER = lv_e_bm_sender
         E_BM_REC_AND_SEN = lv_e_bm_rec_and_sen
         E_S_USERLOG = lv_e_s_userlog
         E_TEXT = lv_e_text
         E_OBJNR = lv_e_objnr
    EXCEPTIONS
        NOT_FOUND = 1
. " FMCE_READ_COVER_GROUP




ABAP code using 7.40 inline data declarations to call FM FMCE_READ_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.

 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_flg_bypass_buffer) = 'X'.
 
DATA(ld_i_flg_with_text) = ' '.
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!