SAP FM_FMAA_LIST_CURRENT_GET Function Module for









FM_FMAA_LIST_CURRENT_GET is a standard fm fmaa list current get 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 fmaa list current get FM, simply by entering the name FM_FMAA_LIST_CURRENT_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_FMAA_LIST_CURRENT_GET 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_FMAA_LIST_CURRENT_GET'"
EXPORTING
* IP_FLG_RETURN_ALL = "

IMPORTING
OP_FLG_ADDRESS_CHANGED = "
OP_FLG_NO_INPUT = "
OP_F_VFMPG = "
OP_F_FMPPT = "
OP_F_FMFCTR = "
OP_F_FMFCTRT = "
OP_F_FMFINCODE = "
OP_F_FMFINT = "
OP_F_FAREA_DET = "Transfer str.for object 0023: FunctionalArea GetList/Detail
OP_F_CURRENT_FMAA_INT = "

TABLES
* T_CURRENT_FMAA_INT = "
* T_CURRENT_FMSLTRP = "Transfer Structure for Mass Selection: Budget Structure

EXCEPTIONS
MASS_MAINTENANCE = 1 NO_CURRENT = 2
.



IMPORTING Parameters details for FM_FMAA_LIST_CURRENT_GET

IP_FLG_RETURN_ALL -

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

EXPORTING Parameters details for FM_FMAA_LIST_CURRENT_GET

OP_FLG_ADDRESS_CHANGED -

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

OP_FLG_NO_INPUT -

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

OP_F_VFMPG -

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

OP_F_FMPPT -

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

OP_F_FMFCTR -

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

OP_F_FMFCTRT -

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

OP_F_FMFINCODE -

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

OP_F_FMFINT -

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

OP_F_FAREA_DET - Transfer str.for object 0023: FunctionalArea GetList/Detail

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

OP_F_CURRENT_FMAA_INT -

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

TABLES Parameters details for FM_FMAA_LIST_CURRENT_GET

T_CURRENT_FMAA_INT -

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

T_CURRENT_FMSLTRP - Transfer Structure for Mass Selection: Budget Structure

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

EXCEPTIONS details

MASS_MAINTENANCE -

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

NO_CURRENT -

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

Copy and paste ABAP code example for FM_FMAA_LIST_CURRENT_GET 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_mass_maintenance  TYPE STRING, "   
lv_ip_flg_return_all  TYPE FMDY-XFELD, "   
lt_t_current_fmaa_int  TYPE STANDARD TABLE OF FMKT_T_FMAA_INT, "   
lv_op_flg_address_changed  TYPE FMKT_T_FMAA_INT, "   
lv_op_flg_no_input  TYPE FMKT_T_FMAA_INT, "   
lv_no_current  TYPE FMKT_T_FMAA_INT, "   
lv_op_f_vfmpg  TYPE VFMPG, "   
lt_t_current_fmsltrp  TYPE STANDARD TABLE OF FMSLTRP, "   
lv_op_f_fmppt  TYPE FMPPT, "   
lv_op_f_fmfctr  TYPE FMFCTR, "   
lv_op_f_fmfctrt  TYPE FMFCTRT, "   
lv_op_f_fmfincode  TYPE FMFINCODE, "   
lv_op_f_fmfint  TYPE FMFINT, "   
lv_op_f_farea_det  TYPE BAPI0023_1, "   
lv_op_f_current_fmaa_int  TYPE FMKT_FMAA_INT. "   

  CALL FUNCTION 'FM_FMAA_LIST_CURRENT_GET'  "
    EXPORTING
         IP_FLG_RETURN_ALL = lv_ip_flg_return_all
    IMPORTING
         OP_FLG_ADDRESS_CHANGED = lv_op_flg_address_changed
         OP_FLG_NO_INPUT = lv_op_flg_no_input
         OP_F_VFMPG = lv_op_f_vfmpg
         OP_F_FMPPT = lv_op_f_fmppt
         OP_F_FMFCTR = lv_op_f_fmfctr
         OP_F_FMFCTRT = lv_op_f_fmfctrt
         OP_F_FMFINCODE = lv_op_f_fmfincode
         OP_F_FMFINT = lv_op_f_fmfint
         OP_F_FAREA_DET = lv_op_f_farea_det
         OP_F_CURRENT_FMAA_INT = lv_op_f_current_fmaa_int
    TABLES
         T_CURRENT_FMAA_INT = lt_t_current_fmaa_int
         T_CURRENT_FMSLTRP = lt_t_current_fmsltrp
    EXCEPTIONS
        MASS_MAINTENANCE = 1
        NO_CURRENT = 2
. " FM_FMAA_LIST_CURRENT_GET




ABAP code using 7.40 inline data declarations to call FM FM_FMAA_LIST_CURRENT_GET

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 XFELD FROM FMDY INTO @DATA(ld_ip_flg_return_all).
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!