SAP FMAA_MASS_SELECTOR_CALLBACK Function Module for









FMAA_MASS_SELECTOR_CALLBACK is a standard fmaa mass selector callback 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 fmaa mass selector callback FM, simply by entering the name FMAA_MASS_SELECTOR_CALLBACK into the relevant SAP transaction such as SE37 or SE38.

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



Function FMAA_MASS_SELECTOR_CALLBACK 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 'FMAA_MASS_SELECTOR_CALLBACK'"
EXPORTING
* I_FIKRS = "
* I_GJAHR = "
* I_VARNT = "
* I_METHOD = "
* I_STATUS = "
* I_SUBAPPLC = "
* I_F_FMSLTRP = "
* I_FLG_MASS_SELECTION = "
* I_FLG_APPLC_LNCH = ' ' "

IMPORTING
OP_APPLC_LNCH_MTHD = "Name of Function Module
OP_ACTION = "Checkbox

TABLES
T_FMSLTRP = "
* R_FINCD = "
* R_FICTR = "
* R_FIPEX = "
* R_FAREA = "
.



IMPORTING Parameters details for FMAA_MASS_SELECTOR_CALLBACK

I_FIKRS -

Data type: FM01-FIKRS
Optional: Yes
Call by Reference: Yes

I_GJAHR -

Data type: FVAR-GJAHR
Optional: Yes
Call by Reference: Yes

I_VARNT -

Data type: FVAR-VARNT
Optional: Yes
Call by Reference: Yes

I_METHOD -

Data type:
Optional: Yes
Call by Reference: Yes

I_STATUS -

Data type: FMDY-XFELD
Optional: Yes
Call by Reference: Yes

I_SUBAPPLC -

Data type:
Optional: Yes
Call by Reference: Yes

I_F_FMSLTRP -

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

I_FLG_MASS_SELECTION -

Data type:
Optional: Yes
Call by Reference: Yes

I_FLG_APPLC_LNCH -

Data type:
Default: ' '
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FMAA_MASS_SELECTOR_CALLBACK

OP_APPLC_LNCH_MTHD - Name of Function Module

Data type: TFDIR-FUNCNAME
Optional: No
Call by Reference: Yes

OP_ACTION - Checkbox

Data type: FMDY-XFELD
Optional: No
Call by Reference: Yes

TABLES Parameters details for FMAA_MASS_SELECTOR_CALLBACK

T_FMSLTRP -

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

R_FINCD -

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

R_FICTR -

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

R_FIPEX -

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

R_FAREA -

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

Copy and paste ABAP code example for FMAA_MASS_SELECTOR_CALLBACK 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_fikrs  TYPE FM01-FIKRS, "   
lt_t_fmsltrp  TYPE STANDARD TABLE OF FMSLTRP, "   
lv_op_applc_lnch_mthd  TYPE TFDIR-FUNCNAME, "   
lv_i_gjahr  TYPE FVAR-GJAHR, "   
lt_r_fincd  TYPE STANDARD TABLE OF RANGE_C10, "   
lv_op_action  TYPE FMDY-XFELD, "   
lv_i_varnt  TYPE FVAR-VARNT, "   
lt_r_fictr  TYPE STANDARD TABLE OF RANGE_C16, "   
lt_r_fipex  TYPE STANDARD TABLE OF RANGE_C24, "   
lv_i_method  TYPE RANGE_C24, "   
lt_r_farea  TYPE STANDARD TABLE OF RANGE_C16, "   
lv_i_status  TYPE FMDY-XFELD, "   
lv_i_subapplc  TYPE FMDY, "   
lv_i_f_fmsltrp  TYPE FMSLTRP, "   
lv_i_flg_mass_selection  TYPE FMSLTRP, "   
lv_i_flg_applc_lnch  TYPE FMSLTRP. "   ' '

  CALL FUNCTION 'FMAA_MASS_SELECTOR_CALLBACK'  "
    EXPORTING
         I_FIKRS = lv_i_fikrs
         I_GJAHR = lv_i_gjahr
         I_VARNT = lv_i_varnt
         I_METHOD = lv_i_method
         I_STATUS = lv_i_status
         I_SUBAPPLC = lv_i_subapplc
         I_F_FMSLTRP = lv_i_f_fmsltrp
         I_FLG_MASS_SELECTION = lv_i_flg_mass_selection
         I_FLG_APPLC_LNCH = lv_i_flg_applc_lnch
    IMPORTING
         OP_APPLC_LNCH_MTHD = lv_op_applc_lnch_mthd
         OP_ACTION = lv_op_action
    TABLES
         T_FMSLTRP = lt_t_fmsltrp
         R_FINCD = lt_r_fincd
         R_FICTR = lt_r_fictr
         R_FIPEX = lt_r_fipex
         R_FAREA = lt_r_farea
. " FMAA_MASS_SELECTOR_CALLBACK




ABAP code using 7.40 inline data declarations to call FM FMAA_MASS_SELECTOR_CALLBACK

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 FIKRS FROM FM01 INTO @DATA(ld_i_fikrs).
 
 
"SELECT single FUNCNAME FROM TFDIR INTO @DATA(ld_op_applc_lnch_mthd).
 
"SELECT single GJAHR FROM FVAR INTO @DATA(ld_i_gjahr).
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_op_action).
 
"SELECT single VARNT FROM FVAR INTO @DATA(ld_i_varnt).
 
 
 
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_status).
 
 
 
 
DATA(ld_i_flg_applc_lnch) = ' '.
 


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!