SAP EXIT_SAPLFMFA_005 Function Module for Controls the call up of availability control in batch









EXIT_SAPLFMFA_005 is a standard exit saplfmfa 005 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Controls the call up of availability control in batch 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 exit saplfmfa 005 FM, simply by entering the name EXIT_SAPLFMFA_005 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLFMFA_005 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 'EXIT_SAPLFMFA_005'"Controls the call up of availability control in batch
EXPORTING
I_BATCH = "If the variable is set, it is a call in the batch
I_TCODE = "Transaction Code

IMPORTING
E_CALL_AVC = "Availability control is called up in the usual manner
E_CALL_AVC_MODE_WARNING = "Availability control is called up, but all messages are issued as warnings
E_DONT_CALL_AVC = "Availability control not called up
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
FMCA_DOCUMENT_GET
FMCA_GET_INIT_INFO
FMCA_GET_NUMBER Determine Doc. No.
FMCA_UPDATE_FI
FM_BTE_EVENT_00002920
FM_CHECK_ACCTIT_RELEVANT
FM_CHECK_SPL_FIELDS
FM_DETERMINE_LEDGER
FM_EXIT_STATISTIC_SIGN_SET_FI
FM_FIBELNR_GET
FM_FIBELNR_SET
FM_FUNDS_CHECK_MODE
FM_GET_AUTOLINES
FM_GET_EXPERT_MODE
FM_GET_EXTRA_PERIOD
FM_GET_PAY_COM_BUDGET_INFO
FM_GET_PREDELIVERY_ACTIVATION
FM_IT_DETERMINE
FM_IT_TO_OI_CONVERT
FM_LAST_ITEM_GET
FM_OI_CHECK_YEAR
FM_REPOSTING_REVENUES
FM_RFC_TCODE_GET
FM_RFC_TCODE_SET
FM_SET_PERIO_FROM_FI
FM_SET_SPL_FIELDS
FM_SET_TCODE_FOR_RFC
FM_STATISTIC_SIGN_SET
FM_STUNR_GET
FM_TRANR_GET
FM_VT_UPDATE_TABLE_SEPARATE
RWIN_CALL_WITH_FMEPIN

IMPORTING Parameters details for EXIT_SAPLFMFA_005

I_BATCH - If the variable is set, it is a call in the batch

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

I_TCODE - Transaction Code

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

EXPORTING Parameters details for EXIT_SAPLFMFA_005

E_CALL_AVC - Availability control is called up in the usual manner

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

E_CALL_AVC_MODE_WARNING - Availability control is called up, but all messages are issued as warnings

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

E_DONT_CALL_AVC - Availability control not called up

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

Copy and paste ABAP code example for EXIT_SAPLFMFA_005 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_batch  TYPE C, "   
lv_e_call_avc  TYPE C, "   
lv_i_tcode  TYPE C, "   
lv_e_call_avc_mode_warning  TYPE C, "   
lv_e_dont_call_avc  TYPE C. "   

  CALL FUNCTION 'EXIT_SAPLFMFA_005'  "Controls the call up of availability control in batch
    EXPORTING
         I_BATCH = lv_i_batch
         I_TCODE = lv_i_tcode
    IMPORTING
         E_CALL_AVC = lv_e_call_avc
         E_CALL_AVC_MODE_WARNING = lv_e_call_avc_mode_warning
         E_DONT_CALL_AVC = lv_e_dont_call_avc
. " EXIT_SAPLFMFA_005




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLFMFA_005

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.

 
 
 
 
 


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!