SAP FM_COVER_POOL_FMAA_READ_BUFFER Function Module for









FM_COVER_POOL_FMAA_READ_BUFFER is a standard fm cover pool fmaa read buffer 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 cover pool fmaa read buffer FM, simply by entering the name FM_COVER_POOL_FMAA_READ_BUFFER into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_COVER_POOL_FMAA_READ_BUFFER 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_COVER_POOL_FMAA_READ_BUFFER'"
EXPORTING
* IP_AAC_FUNCTION = "
* IP_AAC_SEQUENCE = "
* IP_DB_BUFFER = "
IP_F_ENTITLED_TO_COVER_FMAA = "
* IP_F_RECEIVER_AAC = "
* IP_MISSING_BUDGET_AAC = "
* IP_FLG_RIB = "

IMPORTING
OP_F_FMDECKHK_ENTITLED = "
OP_MISSING_BUDGET_NEW_AVC = "
OP_ENQUEUE_SUBRC_AVC = "

CHANGING
OP_NO_SUBJECT_TO_COVER = "

TABLES
T_SUBJECT_TO_COVER = "
* T_OWN_EBPJA_AVC = "
* T_SENDER_COV_EL_AVAIL_AVC = "
* T_SENDER_COV_EL_NO_AVAIL_AVC = "
.



IMPORTING Parameters details for FM_COVER_POOL_FMAA_READ_BUFFER

IP_AAC_FUNCTION -

Data type: RS38L-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

IP_AAC_SEQUENCE -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

IP_DB_BUFFER -

Data type: FMDY-XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IP_F_ENTITLED_TO_COVER_FMAA -

Data type: FMAC_ENTITLED_TO_COVER_HMK
Optional: No
Call by Reference: No ( called with pass by value option)

IP_F_RECEIVER_AAC -

Data type: BPJA_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IP_MISSING_BUDGET_AAC -

Data type: BPJA-WLJHR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IP_FLG_RIB -

Data type:
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FM_COVER_POOL_FMAA_READ_BUFFER

OP_F_FMDECKHK_ENTITLED -

Data type: FMDECKHK
Optional: No
Call by Reference: No ( called with pass by value option)

OP_MISSING_BUDGET_NEW_AVC -

Data type: BPJA-WLJHR
Optional: No
Call by Reference: No ( called with pass by value option)

OP_ENQUEUE_SUBRC_AVC -

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for FM_COVER_POOL_FMAA_READ_BUFFER

OP_NO_SUBJECT_TO_COVER -

Data type: FMDY-XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FM_COVER_POOL_FMAA_READ_BUFFER

T_SUBJECT_TO_COVER -

Data type: FMAC_T_SUBJECT_TO_COVER_HMK
Optional: No
Call by Reference: No ( called with pass by value option)

T_OWN_EBPJA_AVC -

Data type: EBPJA
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_SENDER_COV_EL_AVAIL_AVC -

Data type: BPAVC_T_SENDER_COV_EL_AV_AMNT
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_SENDER_COV_EL_NO_AVAIL_AVC -

Data type: BPAVC_T_SENDER_COV_EL_AVAIL
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FM_COVER_POOL_FMAA_READ_BUFFER 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_ip_aac_function  TYPE RS38L-NAME, "   
lt_t_subject_to_cover  TYPE STANDARD TABLE OF FMAC_T_SUBJECT_TO_COVER_HMK, "   
lv_op_f_fmdeckhk_entitled  TYPE FMDECKHK, "   
lv_op_no_subject_to_cover  TYPE FMDY-XFELD, "   
lv_ip_aac_sequence  TYPE FMDY, "   
lt_t_own_ebpja_avc  TYPE STANDARD TABLE OF EBPJA, "   
lv_op_missing_budget_new_avc  TYPE BPJA-WLJHR, "   
lv_ip_db_buffer  TYPE FMDY-XFELD, "   
lv_op_enqueue_subrc_avc  TYPE SY-SUBRC, "   
lt_t_sender_cov_el_avail_avc  TYPE STANDARD TABLE OF BPAVC_T_SENDER_COV_EL_AV_AMNT, "   
lv_ip_f_entitled_to_cover_fmaa  TYPE FMAC_ENTITLED_TO_COVER_HMK, "   
lt_t_sender_cov_el_no_avail_avc  TYPE STANDARD TABLE OF BPAVC_T_SENDER_COV_EL_AVAIL, "   
lv_ip_f_receiver_aac  TYPE BPJA_KEY, "   
lv_ip_missing_budget_aac  TYPE BPJA-WLJHR, "   
lv_ip_flg_rib  TYPE BPJA. "   

  CALL FUNCTION 'FM_COVER_POOL_FMAA_READ_BUFFER'  "
    EXPORTING
         IP_AAC_FUNCTION = lv_ip_aac_function
         IP_AAC_SEQUENCE = lv_ip_aac_sequence
         IP_DB_BUFFER = lv_ip_db_buffer
         IP_F_ENTITLED_TO_COVER_FMAA = lv_ip_f_entitled_to_cover_fmaa
         IP_F_RECEIVER_AAC = lv_ip_f_receiver_aac
         IP_MISSING_BUDGET_AAC = lv_ip_missing_budget_aac
         IP_FLG_RIB = lv_ip_flg_rib
    IMPORTING
         OP_F_FMDECKHK_ENTITLED = lv_op_f_fmdeckhk_entitled
         OP_MISSING_BUDGET_NEW_AVC = lv_op_missing_budget_new_avc
         OP_ENQUEUE_SUBRC_AVC = lv_op_enqueue_subrc_avc
    CHANGING
         OP_NO_SUBJECT_TO_COVER = lv_op_no_subject_to_cover
    TABLES
         T_SUBJECT_TO_COVER = lt_t_subject_to_cover
         T_OWN_EBPJA_AVC = lt_t_own_ebpja_avc
         T_SENDER_COV_EL_AVAIL_AVC = lt_t_sender_cov_el_avail_avc
         T_SENDER_COV_EL_NO_AVAIL_AVC = lt_t_sender_cov_el_no_avail_avc
. " FM_COVER_POOL_FMAA_READ_BUFFER




ABAP code using 7.40 inline data declarations to call FM FM_COVER_POOL_FMAA_READ_BUFFER

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 NAME FROM RS38L INTO @DATA(ld_ip_aac_function).
 
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_op_no_subject_to_cover).
 
 
 
"SELECT single WLJHR FROM BPJA INTO @DATA(ld_op_missing_budget_new_avc).
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_ip_db_buffer).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_op_enqueue_subrc_avc).
 
 
 
 
 
"SELECT single WLJHR FROM BPJA INTO @DATA(ld_ip_missing_budget_aac).
 
 


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!