SAP FIMA_MESSAGE_SEND Function Module for









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

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



Function FIMA_MESSAGE_SEND 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 'FIMA_MESSAGE_SEND'"
EXPORTING
* I_FST_FIELDNAME = "
* I_FST_TABNAME = "
* I_MSG_SPEC = ' ' "
* I_MSG_TYPE = ' ' "
* I_SEC_FIELDNAME = ' ' "
* I_SEC_TABNAME = ' ' "
* I_SEC_VALUE = 0 "
* I_SEC_CURR = ' ' "
.



IMPORTING Parameters details for FIMA_MESSAGE_SEND

I_FST_FIELDNAME -

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

I_FST_TABNAME -

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

I_MSG_SPEC -

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

I_MSG_TYPE -

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

I_SEC_FIELDNAME -

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

I_SEC_TABNAME -

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

I_SEC_VALUE -

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

I_SEC_CURR -

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

Copy and paste ABAP code example for FIMA_MESSAGE_SEND 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_fst_fieldname  TYPE DFIES-FIELDNAME, "   
lv_i_fst_tabname  TYPE DFIES-TABNAME, "   
lv_i_msg_spec  TYPE DFIES, "   SPACE
lv_i_msg_type  TYPE DFIES, "   SPACE
lv_i_sec_fieldname  TYPE DFIES-FIELDNAME, "   SPACE
lv_i_sec_tabname  TYPE DFIES-TABNAME, "   SPACE
lv_i_sec_value  TYPE DFIES, "   0
lv_i_sec_curr  TYPE WWHR. "   SPACE

  CALL FUNCTION 'FIMA_MESSAGE_SEND'  "
    EXPORTING
         I_FST_FIELDNAME = lv_i_fst_fieldname
         I_FST_TABNAME = lv_i_fst_tabname
         I_MSG_SPEC = lv_i_msg_spec
         I_MSG_TYPE = lv_i_msg_type
         I_SEC_FIELDNAME = lv_i_sec_fieldname
         I_SEC_TABNAME = lv_i_sec_tabname
         I_SEC_VALUE = lv_i_sec_value
         I_SEC_CURR = lv_i_sec_curr
. " FIMA_MESSAGE_SEND




ABAP code using 7.40 inline data declarations to call FM FIMA_MESSAGE_SEND

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 FIELDNAME FROM DFIES INTO @DATA(ld_i_fst_fieldname).
 
"SELECT single TABNAME FROM DFIES INTO @DATA(ld_i_fst_tabname).
 
DATA(ld_i_msg_spec) = ' '.
 
DATA(ld_i_msg_type) = ' '.
 
"SELECT single FIELDNAME FROM DFIES INTO @DATA(ld_i_sec_fieldname).
DATA(ld_i_sec_fieldname) = ' '.
 
"SELECT single TABNAME FROM DFIES INTO @DATA(ld_i_sec_tabname).
DATA(ld_i_sec_tabname) = ' '.
 
 
DATA(ld_i_sec_curr) = ' '.
 


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!