SAP FM_COVER_ELIGIBILITY_AAC Function Module for









FM_COVER_ELIGIBILITY_AAC is a standard fm cover eligibility aac 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 eligibility aac FM, simply by entering the name FM_COVER_ELIGIBILITY_AAC 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_ELIGIBILITY_AAC 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_ELIGIBILITY_AAC'"
EXPORTING
* IP_AAC_FUNCTION = "
* IP_DB_BUFFER = "
IP_F_ENTITLED_TO_COVER_FMAA = "
* IP_F_RECEIVER_AAC = "
* IP_MISSING_BUDGET_AAC = "

IMPORTING
OP_NO_SUBJECT_TO_COVER = "
OP_MISSING_BUDGET_NEW_AAC = "
OP_ENQUEUE_SUBRC_AAC = "

TABLES
* T_SUBJECT_TO_COVER_FMAA = "
* T_OWN_EBPJA_AAC = "
* T_SENDER_COV_EL_AVAIL_AAC = "
* T_SENDER_COV_EL_NO_AVAIL_AAC = "

EXCEPTIONS
WRONG_INPUT = 1
.



IMPORTING Parameters details for FM_COVER_ELIGIBILITY_AAC

IP_AAC_FUNCTION -

Data type: RS38L-NAME
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)

EXPORTING Parameters details for FM_COVER_ELIGIBILITY_AAC

OP_NO_SUBJECT_TO_COVER -

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

OP_MISSING_BUDGET_NEW_AAC -

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

OP_ENQUEUE_SUBRC_AAC -

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

TABLES Parameters details for FM_COVER_ELIGIBILITY_AAC

T_SUBJECT_TO_COVER_FMAA -

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

T_OWN_EBPJA_AAC -

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

T_SENDER_COV_EL_AVAIL_AAC -

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_AAC -

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

EXCEPTIONS details

WRONG_INPUT -

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

Copy and paste ABAP code example for FM_COVER_ELIGIBILITY_AAC 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_wrong_input  TYPE STRING, "   
lv_ip_aac_function  TYPE RS38L-NAME, "   
lv_op_no_subject_to_cover  TYPE FMDY-XFELD, "   
lt_t_subject_to_cover_fmaa  TYPE STANDARD TABLE OF FMAC_T_SUBJECT_TO_COVER_HMK, "   
lv_ip_db_buffer  TYPE FMDY-XFELD, "   
lt_t_own_ebpja_aac  TYPE STANDARD TABLE OF EBPJA, "   
lv_op_missing_budget_new_aac  TYPE BPJA-WLJHR, "   
lv_op_enqueue_subrc_aac  TYPE SY-SUBRC, "   
lt_t_sender_cov_el_avail_aac  TYPE STANDARD TABLE OF BPAVC_T_SENDER_COV_EL_AV_AMNT, "   
lv_ip_f_entitled_to_cover_fmaa  TYPE FMAC_ENTITLED_TO_COVER_HMK, "   
lv_ip_f_receiver_aac  TYPE BPJA_KEY, "   
lt_t_sender_cov_el_no_avail_aac  TYPE STANDARD TABLE OF BPAVC_T_SENDER_COV_EL_AVAIL, "   
lv_ip_missing_budget_aac  TYPE BPJA-WLJHR. "   

  CALL FUNCTION 'FM_COVER_ELIGIBILITY_AAC'  "
    EXPORTING
         IP_AAC_FUNCTION = lv_ip_aac_function
         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
    IMPORTING
         OP_NO_SUBJECT_TO_COVER = lv_op_no_subject_to_cover
         OP_MISSING_BUDGET_NEW_AAC = lv_op_missing_budget_new_aac
         OP_ENQUEUE_SUBRC_AAC = lv_op_enqueue_subrc_aac
    TABLES
         T_SUBJECT_TO_COVER_FMAA = lt_t_subject_to_cover_fmaa
         T_OWN_EBPJA_AAC = lt_t_own_ebpja_aac
         T_SENDER_COV_EL_AVAIL_AAC = lt_t_sender_cov_el_avail_aac
         T_SENDER_COV_EL_NO_AVAIL_AAC = lt_t_sender_cov_el_no_avail_aac
    EXCEPTIONS
        WRONG_INPUT = 1
. " FM_COVER_ELIGIBILITY_AAC




ABAP code using 7.40 inline data declarations to call FM FM_COVER_ELIGIBILITY_AAC

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 XFELD FROM FMDY INTO @DATA(ld_ip_db_buffer).
 
 
"SELECT single WLJHR FROM BPJA INTO @DATA(ld_op_missing_budget_new_aac).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_op_enqueue_subrc_aac).
 
 
 
 
 
"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!