FMBD_READ_TOTALS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FMBD_READ_TOTALS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FMBD_DATABASE_ACCESS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FMBD_READ_TOTALS' "Data selection from summary table FMDBT
EXPORTING
i_fm_area = " fikrs Financial management area
* i_f_dimtabs = " fmku_s_dimtabs FM dimension value tables
* i_t_address = " fmku_t_dimpart Table with FM account assignments
* i_f_selcrittabs = " buku_s_selcrittabs Selection critiria tables for generic budgeting fields
* i_flg_consider_update_buffer = SPACE " xfeld Consider values in update buffer? Yes/No
* i_flg_incl_zero_records = SPACE " xfeld 'X' = Also consider zero records
IMPORTING
e_t_fmbdt = " fmbd_t_t Totals table FMBDT
EXCEPTIONS
SELECTION_ERROR = 1 " Error occurs during FISL selection
. " FMBD_READ_TOTALS
The ABAP code below is a full code listing to execute function module FMBD_READ_TOTALS including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_t_fmbdt | TYPE FMBD_T_T . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_t_fmbdt | TYPE FMBD_T_T , |
| ld_i_fm_area | TYPE FIKRS , |
| ld_i_f_dimtabs | TYPE FMKU_S_DIMTABS , |
| ld_i_t_address | TYPE FMKU_T_DIMPART , |
| ld_i_f_selcrittabs | TYPE BUKU_S_SELCRITTABS , |
| ld_i_flg_consider_update_buffer | TYPE XFELD , |
| ld_i_flg_incl_zero_records | TYPE XFELD . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FMBD_READ_TOTALS or its description.
FMBD_READ_TOTALS - Data selection from summary table FMDBT FMBD_POST - Post budget line items and totals FMBD_INSERT_LI - Insert line items in database (FMBDP) FMBD_CHECK_BUDGET_EXIST_VERSN - Check if data exists for a version in summary table FMDBT FMBD_CHECK_BUDGET_EXISTENCY - Check if data exists in summary table FMDBT FMBCS_WF_SHOW_ENTRY_DOC - Show an entry document