SAP FMCFAB_DELETE Function Module for









FMCFAB_DELETE is a standard fmcfab delete 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 fmcfab delete FM, simply by entering the name FMCFAB_DELETE into the relevant SAP transaction such as SE37 or SE38.

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



Function FMCFAB_DELETE 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 'FMCFAB_DELETE'"
EXPORTING
* I_ACTUALS = ' ' "
* I_VERSN = '000' "
* I_ALL_VERSN = ' ' "
* I_FM_WRTTP = ' ' "
* I_ALL_GJAHR = ' ' "
* I_BUDGET = ' ' "
I_FIKRS = "
* I_GJAHR = '0000' "
* I_XREAL = ' ' "
* I_XTEST = ' ' "
* I_GEBER = ' ' "
* I_ALL_GEBER = ' ' "

EXCEPTIONS
INVALID_INPUT = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFMCF_BUD_001 ISPS: FYC Budget: Calculation Maximum Transferable Amount
EXIT_SAPLFMCF_BUD_002 ISPS: FYC Budget: Can Approved/Requested Amount Be Negative

IMPORTING Parameters details for FMCFAB_DELETE

I_ACTUALS -

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

I_VERSN -

Data type: BPJA-VERSN
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ALL_VERSN -

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

I_FM_WRTTP -

Data type: FMCFAB-FM_WRTTP
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ALL_GJAHR -

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

I_BUDGET -

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

I_FIKRS -

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

I_GJAHR -

Data type: FCABP-GJAHR
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XREAL -

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

I_XTEST -

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

I_GEBER -

Data type: FMCFAB-GEBER
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ALL_GEBER -

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

EXCEPTIONS details

INVALID_INPUT -

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

Copy and paste ABAP code example for FMCFAB_DELETE 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_actuals  TYPE STRING, "   ' '
lv_invalid_input  TYPE STRING, "   
lv_i_versn  TYPE BPJA-VERSN, "   '000'
lv_i_all_versn  TYPE BPJA, "   ' '
lv_i_fm_wrttp  TYPE FMCFAB-FM_WRTTP, "   ' '
lv_i_all_gjahr  TYPE FMCFAB, "   ' '
lv_i_budget  TYPE FMCFAB, "   ' '
lv_i_fikrs  TYPE FCABP-FIKRS, "   
lv_i_gjahr  TYPE FCABP-GJAHR, "   '0000'
lv_i_xreal  TYPE FCABP, "   ' '
lv_i_xtest  TYPE FCABP, "   ' '
lv_i_geber  TYPE FMCFAB-GEBER, "   ' '
lv_i_all_geber  TYPE FMCFAB. "   ' '

  CALL FUNCTION 'FMCFAB_DELETE'  "
    EXPORTING
         I_ACTUALS = lv_i_actuals
         I_VERSN = lv_i_versn
         I_ALL_VERSN = lv_i_all_versn
         I_FM_WRTTP = lv_i_fm_wrttp
         I_ALL_GJAHR = lv_i_all_gjahr
         I_BUDGET = lv_i_budget
         I_FIKRS = lv_i_fikrs
         I_GJAHR = lv_i_gjahr
         I_XREAL = lv_i_xreal
         I_XTEST = lv_i_xtest
         I_GEBER = lv_i_geber
         I_ALL_GEBER = lv_i_all_geber
    EXCEPTIONS
        INVALID_INPUT = 1
. " FMCFAB_DELETE




ABAP code using 7.40 inline data declarations to call FM FMCFAB_DELETE

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_actuals) = ' '.
 
 
"SELECT single VERSN FROM BPJA INTO @DATA(ld_i_versn).
DATA(ld_i_versn) = '000'.
 
DATA(ld_i_all_versn) = ' '.
 
"SELECT single FM_WRTTP FROM FMCFAB INTO @DATA(ld_i_fm_wrttp).
DATA(ld_i_fm_wrttp) = ' '.
 
DATA(ld_i_all_gjahr) = ' '.
 
DATA(ld_i_budget) = ' '.
 
"SELECT single FIKRS FROM FCABP INTO @DATA(ld_i_fikrs).
 
"SELECT single GJAHR FROM FCABP INTO @DATA(ld_i_gjahr).
DATA(ld_i_gjahr) = '0000'.
 
DATA(ld_i_xreal) = ' '.
 
DATA(ld_i_xtest) = ' '.
 
"SELECT single GEBER FROM FMCFAB INTO @DATA(ld_i_geber).
DATA(ld_i_geber) = ' '.
 
DATA(ld_i_all_geber) = ' '.
 


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!