FMRB_READ_ALL_RIB_DOCS 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 FMRB_READ_ALL_RIB_DOCS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FMRB_EVALUATION
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FMRB_READ_ALL_RIB_DOCS' "Read all RIB documents for a given RIB object
EXPORTING
i_fm_area = " fikrs Financial Management Area
i_fiscyear = " gjahr Fiscal Year
i_ceffyear = '0000' " gnjhr Year of cash effectivity
* i_version = '000' " buku_version Version
i_bldnr = " bubas_bldnr Budgeting ledger number
* i_ldnr = " burb_rbbldnr Budget Category for Revenue Increasing the Budget
i_s_sender_address = " fmrb_s_rib_object RIB Object or RIB Source Address (for use with cover group)
* i_flg_only_active_docs = ' ' " xfeld Flag: only select documents that have not been reversed
* TABLES
* e_t_fmbh = " fmbh Funds management budget header (entry documents)
* e_t_fmbl = " fmbl Funds management budget document lines (entry documents)
EXCEPTIONS
INVALID_COMMITMENT_ITEM = 1 " Commitment item category not supported
INVALID_RIB_OBJECT = 2 " Invalid RIB Object
. " FMRB_READ_ALL_RIB_DOCS
The ABAP code below is a full code listing to execute function module FMRB_READ_ALL_RIB_DOCS 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).
| it_e_t_fmbh | TYPE STANDARD TABLE OF FMBH,"TABLES PARAM |
| wa_e_t_fmbh | LIKE LINE OF it_e_t_fmbh , |
| it_e_t_fmbl | TYPE STANDARD TABLE OF FMBL,"TABLES PARAM |
| wa_e_t_fmbl | LIKE LINE OF it_e_t_fmbl . |
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_i_fm_area | TYPE FIKRS , |
| it_e_t_fmbh | TYPE STANDARD TABLE OF FMBH , |
| wa_e_t_fmbh | LIKE LINE OF it_e_t_fmbh, |
| ld_i_fiscyear | TYPE GJAHR , |
| it_e_t_fmbl | TYPE STANDARD TABLE OF FMBL , |
| wa_e_t_fmbl | LIKE LINE OF it_e_t_fmbl, |
| ld_i_ceffyear | TYPE GNJHR , |
| ld_i_version | TYPE BUKU_VERSION , |
| ld_i_bldnr | TYPE BUBAS_BLDNR , |
| ld_i_ldnr | TYPE BURB_RBBLDNR , |
| ld_i_s_sender_address | TYPE FMRB_S_RIB_OBJECT , |
| ld_i_flg_only_active_docs | 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 FMRB_READ_ALL_RIB_DOCS or its description.
FMRB_READ_ALL_RIB_DOCS - Read all RIB documents for a given RIB object FMRB_READ_ALL_RECS_FOR_RIB_OBJ - Read All Receiving Budget Addresses for RIB Object FMRB_MOVE_FMIT_TO_ACTUALS_LINE - Move line of DB table FMIT to internal structure of FM AVC FMRB_GET_UPDFILT - Read FM Filter Profile for Posting Data (With Text) FMRB_GET_RIB_PROCEDURE - Read RIB Procedure (With Text) FMRB_GET_RIB_LEDGER_FOR_BUDCAT - Derive RIB Ledger(s) for a Budget Category (FM)