SAP FIMA_TRANSACTIONS_COMPUTE Function Module for









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

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



Function FIMA_TRANSACTIONS_COMPUTE 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_TRANSACTIONS_COMPUTE'"
EXPORTING
* I_DPKOND = "
* I_FLG_SELECT = ' ' "
* I_PKOND = 0 "
* I_REINH = 0 "
* I_SZBMETH = ' ' "
* I_SKALID = ' ' "Factory Calendar
* I_FLG_COMPOUND = ' ' "

TABLES
IO_BEWE = "
.



IMPORTING Parameters details for FIMA_TRANSACTIONS_COMPUTE

I_DPKOND -

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

I_FLG_SELECT -

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

I_PKOND -

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

I_REINH -

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

I_SZBMETH -

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

I_SKALID - Factory Calendar

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

I_FLG_COMPOUND -

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

TABLES Parameters details for FIMA_TRANSACTIONS_COMPUTE

IO_BEWE -

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

Copy and paste ABAP code example for FIMA_TRANSACTIONS_COMPUTE 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_io_bewe  TYPE STANDARD TABLE OF VTBBEWE, "   
lv_i_dpkond  TYPE VTBBEWE-DPKOND, "   
lv_i_flg_select  TYPE VTBBEWE-JGESUCHT, "   SPACE
lv_i_pkond  TYPE VTBBEWE-PKOND, "   0
lv_i_reinh  TYPE TRFF_TYPE_N_4, "   0
lv_i_szbmeth  TYPE VTBBEWE-SZBMETH, "   SPACE
lv_i_skalid  TYPE VTBKOND-SKALID, "   SPACE
lv_i_flg_compound  TYPE TRFF_FLG. "   SPACE

  CALL FUNCTION 'FIMA_TRANSACTIONS_COMPUTE'  "
    EXPORTING
         I_DPKOND = lv_i_dpkond
         I_FLG_SELECT = lv_i_flg_select
         I_PKOND = lv_i_pkond
         I_REINH = lv_i_reinh
         I_SZBMETH = lv_i_szbmeth
         I_SKALID = lv_i_skalid
         I_FLG_COMPOUND = lv_i_flg_compound
    TABLES
         IO_BEWE = lt_io_bewe
. " FIMA_TRANSACTIONS_COMPUTE




ABAP code using 7.40 inline data declarations to call FM FIMA_TRANSACTIONS_COMPUTE

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 DPKOND FROM VTBBEWE INTO @DATA(ld_i_dpkond).
 
"SELECT single JGESUCHT FROM VTBBEWE INTO @DATA(ld_i_flg_select).
DATA(ld_i_flg_select) = ' '.
 
"SELECT single PKOND FROM VTBBEWE INTO @DATA(ld_i_pkond).
 
 
"SELECT single SZBMETH FROM VTBBEWE INTO @DATA(ld_i_szbmeth).
DATA(ld_i_szbmeth) = ' '.
 
"SELECT single SKALID FROM VTBKOND INTO @DATA(ld_i_skalid).
DATA(ld_i_skalid) = ' '.
 
DATA(ld_i_flg_compound) = ' '.
 


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!