SAP FI_MATCH_ITEMS_UI Function Module for









FI_MATCH_ITEMS_UI is a standard fi match items ui 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 fi match items ui FM, simply by entering the name FI_MATCH_ITEMS_UI into the relevant SAP transaction such as SE37 or SE38.

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



Function FI_MATCH_ITEMS_UI 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 'FI_MATCH_ITEMS_UI'"
EXPORTING
I_CALLBACK_PROGRAM = "
* IT_FUNCTION_EXCLUDE = "
* IT_CUSTOM_BUTTONS = "
I_STRUCTURE_NAME = "
* I_TAGFIELD = "
* I_COLORFIELD = "
* I_COLOR_AUTOMATIC = 'X' "
* I_COLORCODE_A = 'C400' "
* I_COLORCODE_B = 'C200' "
* IS_VARIANT1 = "
* IS_VARIANT2 = "
* I_CALLBACK_DISTRIBUTE = ' ' "
* IS_VARIANT3 = "
* I_SAVE = "
* I_DEFAULT = 'X' "
* IS_LAYOUT1 = "
* IS_LAYOUT2 = "
* IS_LAYOUT3 = "
* IT_FIELDCAT1 = "
* IT_FIELDCAT2 = "
* IT_FIELDCAT3 = "
* IT_SORT1 = "
* I_CALLBACK_TITLE_SET = ' ' "
* IT_SORT2 = "
* IT_SORT3 = "
* I_SCREEN = '0100' "
* I_SELECT_SYMMETRIC = 'X' "
* I_SELECT_SINGLE = ' ' "
* I_MAXLINES3 = 0 "
* I_CALLBACK_PF_STATUS_SET = ' ' "
* I_CALLBACK_USER_COMMAND = ' ' "
* I_CALLBACK_ALV_DATA_CHANGED = ' ' "
* I_CALLBACK_TOOLBAR_EXCLUDE = ' ' "
* IT_EVENT_EXIT = "
* IT_TOOLBAR_EXCLUDE = "

TABLES
CT_TAB1 = "
CT_TAB2 = "
CT_TAB3 = "

EXCEPTIONS
PROGRAM_ERROR = 1
.



IMPORTING Parameters details for FI_MATCH_ITEMS_UI

I_CALLBACK_PROGRAM -

Data type: SY-REPID
Optional: No
Call by Reference: Yes

IT_FUNCTION_EXCLUDE -

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

IT_CUSTOM_BUTTONS -

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

I_STRUCTURE_NAME -

Data type: DD02L-TABNAME
Optional: No
Call by Reference: Yes

I_TAGFIELD -

Data type: DD03L-FIELDNAME
Optional: Yes
Call by Reference: Yes

I_COLORFIELD -

Data type: DD03L-FIELDNAME
Optional: Yes
Call by Reference: Yes

I_COLOR_AUTOMATIC -

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

I_COLORCODE_A -

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

I_COLORCODE_B -

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

IS_VARIANT1 -

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

IS_VARIANT2 -

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

I_CALLBACK_DISTRIBUTE -

Data type: SLIS_FORMNAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

IS_VARIANT3 -

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

I_SAVE -

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

I_DEFAULT -

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

IS_LAYOUT1 -

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

IS_LAYOUT2 -

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

IS_LAYOUT3 -

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

IT_FIELDCAT1 -

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

IT_FIELDCAT2 -

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

IT_FIELDCAT3 -

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

IT_SORT1 -

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

I_CALLBACK_TITLE_SET -

Data type: SLIS_FORMNAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

IT_SORT2 -

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

IT_SORT3 -

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

I_SCREEN -

Data type: SY-DYNNR
Default: '0100'
Optional: Yes
Call by Reference: Yes

I_SELECT_SYMMETRIC -

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

I_SELECT_SINGLE -

Data type: CHAR01
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_MAXLINES3 -

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

I_CALLBACK_PF_STATUS_SET -

Data type: SLIS_FORMNAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_CALLBACK_USER_COMMAND -

Data type: SLIS_FORMNAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_CALLBACK_ALV_DATA_CHANGED -

Data type: SLIS_FORMNAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_CALLBACK_TOOLBAR_EXCLUDE -

Data type: SLIS_FORMNAME
Default: SPACE
Optional: Yes
Call by Reference: Yes

IT_EVENT_EXIT -

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

IT_TOOLBAR_EXCLUDE -

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

TABLES Parameters details for FI_MATCH_ITEMS_UI

CT_TAB1 -

Data type:
Optional: No
Call by Reference: Yes

CT_TAB2 -

Data type:
Optional: No
Call by Reference: Yes

CT_TAB3 -

Data type:
Optional: No
Call by Reference: Yes

EXCEPTIONS details

PROGRAM_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FI_MATCH_ITEMS_UI 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:
lt_ct_tab1  TYPE STANDARD TABLE OF STRING, "   
lv_program_error  TYPE STRING, "   
lv_i_callback_program  TYPE SY-REPID, "   
lv_it_function_exclude  TYPE SLIS_T_EXTAB, "   
lv_it_custom_buttons  TYPE TMUI_T_BUTTON, "   
lv_i_structure_name  TYPE DD02L-TABNAME, "   
lv_i_tagfield  TYPE DD03L-FIELDNAME, "   
lv_i_colorfield  TYPE DD03L-FIELDNAME, "   
lv_i_color_automatic  TYPE CHAR01, "   'X'
lv_i_colorcode_a  TYPE COL_ASS, "   'C400'
lv_i_colorcode_b  TYPE COL_ASS, "   'C200'
lv_is_variant1  TYPE DISVARIANT, "   
lv_is_variant2  TYPE DISVARIANT, "   
lt_ct_tab2  TYPE STANDARD TABLE OF DISVARIANT, "   
lv_i_callback_distribute  TYPE SLIS_FORMNAME, "   SPACE
lv_is_variant3  TYPE DISVARIANT, "   
lv_i_save  TYPE CHAR01, "   
lv_i_default  TYPE CHAR01, "   'X'
lv_is_layout1  TYPE LVC_S_LAYO, "   
lv_is_layout2  TYPE LVC_S_LAYO, "   
lv_is_layout3  TYPE LVC_S_LAYO, "   
lv_it_fieldcat1  TYPE LVC_T_FCAT, "   
lv_it_fieldcat2  TYPE LVC_T_FCAT, "   
lv_it_fieldcat3  TYPE LVC_T_FCAT, "   
lv_it_sort1  TYPE LVC_T_SORT, "   
lt_ct_tab3  TYPE STANDARD TABLE OF LVC_T_SORT, "   
lv_i_callback_title_set  TYPE SLIS_FORMNAME, "   SPACE
lv_it_sort2  TYPE LVC_T_SORT, "   
lv_it_sort3  TYPE LVC_T_SORT, "   
lv_i_screen  TYPE SY-DYNNR, "   '0100'
lv_i_select_symmetric  TYPE CHAR01, "   'X'
lv_i_select_single  TYPE CHAR01, "   SPACE
lv_i_maxlines3  TYPE I, "   0
lv_i_callback_pf_status_set  TYPE SLIS_FORMNAME, "   SPACE
lv_i_callback_user_command  TYPE SLIS_FORMNAME, "   SPACE
lv_i_callback_alv_data_changed  TYPE SLIS_FORMNAME, "   SPACE
lv_i_callback_toolbar_exclude  TYPE SLIS_FORMNAME, "   SPACE
lv_it_event_exit  TYPE SLIS_T_EVENT_EXIT, "   
lv_it_toolbar_exclude  TYPE SLIS_T_EXTAB. "   

  CALL FUNCTION 'FI_MATCH_ITEMS_UI'  "
    EXPORTING
         I_CALLBACK_PROGRAM = lv_i_callback_program
         IT_FUNCTION_EXCLUDE = lv_it_function_exclude
         IT_CUSTOM_BUTTONS = lv_it_custom_buttons
         I_STRUCTURE_NAME = lv_i_structure_name
         I_TAGFIELD = lv_i_tagfield
         I_COLORFIELD = lv_i_colorfield
         I_COLOR_AUTOMATIC = lv_i_color_automatic
         I_COLORCODE_A = lv_i_colorcode_a
         I_COLORCODE_B = lv_i_colorcode_b
         IS_VARIANT1 = lv_is_variant1
         IS_VARIANT2 = lv_is_variant2
         I_CALLBACK_DISTRIBUTE = lv_i_callback_distribute
         IS_VARIANT3 = lv_is_variant3
         I_SAVE = lv_i_save
         I_DEFAULT = lv_i_default
         IS_LAYOUT1 = lv_is_layout1
         IS_LAYOUT2 = lv_is_layout2
         IS_LAYOUT3 = lv_is_layout3
         IT_FIELDCAT1 = lv_it_fieldcat1
         IT_FIELDCAT2 = lv_it_fieldcat2
         IT_FIELDCAT3 = lv_it_fieldcat3
         IT_SORT1 = lv_it_sort1
         I_CALLBACK_TITLE_SET = lv_i_callback_title_set
         IT_SORT2 = lv_it_sort2
         IT_SORT3 = lv_it_sort3
         I_SCREEN = lv_i_screen
         I_SELECT_SYMMETRIC = lv_i_select_symmetric
         I_SELECT_SINGLE = lv_i_select_single
         I_MAXLINES3 = lv_i_maxlines3
         I_CALLBACK_PF_STATUS_SET = lv_i_callback_pf_status_set
         I_CALLBACK_USER_COMMAND = lv_i_callback_user_command
         I_CALLBACK_ALV_DATA_CHANGED = lv_i_callback_alv_data_changed
         I_CALLBACK_TOOLBAR_EXCLUDE = lv_i_callback_toolbar_exclude
         IT_EVENT_EXIT = lv_it_event_exit
         IT_TOOLBAR_EXCLUDE = lv_it_toolbar_exclude
    TABLES
         CT_TAB1 = lt_ct_tab1
         CT_TAB2 = lt_ct_tab2
         CT_TAB3 = lt_ct_tab3
    EXCEPTIONS
        PROGRAM_ERROR = 1
. " FI_MATCH_ITEMS_UI




ABAP code using 7.40 inline data declarations to call FM FI_MATCH_ITEMS_UI

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 REPID FROM SY INTO @DATA(ld_i_callback_program).
 
 
 
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_i_structure_name).
 
"SELECT single FIELDNAME FROM DD03L INTO @DATA(ld_i_tagfield).
 
"SELECT single FIELDNAME FROM DD03L INTO @DATA(ld_i_colorfield).
 
DATA(ld_i_color_automatic) = 'X'.
 
DATA(ld_i_colorcode_a) = 'C400'.
 
DATA(ld_i_colorcode_b) = 'C200'.
 
 
 
 
DATA(ld_i_callback_distribute) = ' '.
 
 
 
DATA(ld_i_default) = 'X'.
 
 
 
 
 
 
 
 
 
DATA(ld_i_callback_title_set) = ' '.
 
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_i_screen).
DATA(ld_i_screen) = '0100'.
 
DATA(ld_i_select_symmetric) = 'X'.
 
DATA(ld_i_select_single) = ' '.
 
 
DATA(ld_i_callback_pf_status_set) = ' '.
 
DATA(ld_i_callback_user_command) = ' '.
 
DATA(ld_i_callback_alv_data_changed) = ' '.
 
DATA(ld_i_callback_toolbar_exclude) = ' '.
 
 
 


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!