SAP FMAU_AUTHORITY_FIFM Function Module for









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

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



Function FMAU_AUTHORITY_FIFM 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 'FMAU_AUTHORITY_FIFM'"
EXPORTING
I_ACTVT = "Activity
* I_FMCI = ' ' "
* I_MSGTY = ' ' "
* I_FICA_CCT = ' ' "
* I_FICA_WCT = ' ' "
* I_BUDGET_PERIOD = "
* I_ACTVT_A = ' ' "
* I_AUTH_OBJECT = ' ' "
I_FIKRS = "Financial Management Area
* I_DATE = ' ' "Date
* I_GJAHR = ' ' "Fiscal Year
* I_VERSN = ' ' "Version
* I_FINCODE = ' ' "
* I_FMFCTR = ' ' "

IMPORTING
EX_AUTH = "
EX_AUTH_A = "

EXCEPTIONS
NO_AUTHORIZATION = 1
.



IMPORTING Parameters details for FMAU_AUTHORITY_FIFM

I_ACTVT - Activity

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

I_FMCI -

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

I_MSGTY -

Data type: SY-MSGTY
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FICA_CCT -

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

I_FICA_WCT -

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

I_BUDGET_PERIOD -

Data type: FM_BUDGET_PERIOD
Optional: Yes
Call by Reference: Yes

I_ACTVT_A -

Data type: TACT-ACTVT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AUTH_OBJECT -

Data type: TOBJ-OBJCT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FIKRS - Financial Management Area

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

I_DATE - Date

Data type: FMFPO-DATBIS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GJAHR - Fiscal Year

Data type: BPIN-GJAHR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VERSN - Version

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

I_FINCODE -

Data type: FMFINCODE-FINCODE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FMFCTR -

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

EXPORTING Parameters details for FMAU_AUTHORITY_FIFM

EX_AUTH -

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

EX_AUTH_A -

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

EXCEPTIONS details

NO_AUTHORIZATION -

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

Copy and paste ABAP code example for FMAU_AUTHORITY_FIFM 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_ex_auth  TYPE BPIN-BPGE, "   
lv_i_actvt  TYPE TACT-ACTVT, "   
lv_no_authorization  TYPE TACT, "   
lv_i_fmci  TYPE FMCI, "   SPACE
lv_i_msgty  TYPE SY-MSGTY, "   SPACE
lv_i_fica_cct  TYPE SY, "   SPACE
lv_i_fica_wct  TYPE SY, "   SPACE
lv_i_budget_period  TYPE FM_BUDGET_PERIOD, "   
lv_ex_auth_a  TYPE BPIN-BPGE, "   
lv_i_actvt_a  TYPE TACT-ACTVT, "   SPACE
lv_i_auth_object  TYPE TOBJ-OBJCT, "   SPACE
lv_i_fikrs  TYPE FM01-FIKRS, "   
lv_i_date  TYPE FMFPO-DATBIS, "   SPACE
lv_i_gjahr  TYPE BPIN-GJAHR, "   SPACE
lv_i_versn  TYPE BPJA-VERSN, "   SPACE
lv_i_fincode  TYPE FMFINCODE-FINCODE, "   SPACE
lv_i_fmfctr  TYPE FMFCTR. "   SPACE

  CALL FUNCTION 'FMAU_AUTHORITY_FIFM'  "
    EXPORTING
         I_ACTVT = lv_i_actvt
         I_FMCI = lv_i_fmci
         I_MSGTY = lv_i_msgty
         I_FICA_CCT = lv_i_fica_cct
         I_FICA_WCT = lv_i_fica_wct
         I_BUDGET_PERIOD = lv_i_budget_period
         I_ACTVT_A = lv_i_actvt_a
         I_AUTH_OBJECT = lv_i_auth_object
         I_FIKRS = lv_i_fikrs
         I_DATE = lv_i_date
         I_GJAHR = lv_i_gjahr
         I_VERSN = lv_i_versn
         I_FINCODE = lv_i_fincode
         I_FMFCTR = lv_i_fmfctr
    IMPORTING
         EX_AUTH = lv_ex_auth
         EX_AUTH_A = lv_ex_auth_a
    EXCEPTIONS
        NO_AUTHORIZATION = 1
. " FMAU_AUTHORITY_FIFM




ABAP code using 7.40 inline data declarations to call FM FMAU_AUTHORITY_FIFM

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 BPGE FROM BPIN INTO @DATA(ld_ex_auth).
 
"SELECT single ACTVT FROM TACT INTO @DATA(ld_i_actvt).
 
 
DATA(ld_i_fmci) = ' '.
 
"SELECT single MSGTY FROM SY INTO @DATA(ld_i_msgty).
DATA(ld_i_msgty) = ' '.
 
DATA(ld_i_fica_cct) = ' '.
 
DATA(ld_i_fica_wct) = ' '.
 
 
"SELECT single BPGE FROM BPIN INTO @DATA(ld_ex_auth_a).
 
"SELECT single ACTVT FROM TACT INTO @DATA(ld_i_actvt_a).
DATA(ld_i_actvt_a) = ' '.
 
"SELECT single OBJCT FROM TOBJ INTO @DATA(ld_i_auth_object).
DATA(ld_i_auth_object) = ' '.
 
"SELECT single FIKRS FROM FM01 INTO @DATA(ld_i_fikrs).
 
"SELECT single DATBIS FROM FMFPO INTO @DATA(ld_i_date).
DATA(ld_i_date) = ' '.
 
"SELECT single GJAHR FROM BPIN INTO @DATA(ld_i_gjahr).
DATA(ld_i_gjahr) = ' '.
 
"SELECT single VERSN FROM BPJA INTO @DATA(ld_i_versn).
DATA(ld_i_versn) = ' '.
 
"SELECT single FINCODE FROM FMFINCODE INTO @DATA(ld_i_fincode).
DATA(ld_i_fincode) = ' '.
 
DATA(ld_i_fmfctr) = ' '.
 


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!