MRM_HEADER_CHECK 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 MRM_HEADER_CHECK into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
MRMC
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'MRM_HEADER_CHECK' "
EXPORTING
i_bukrs = " rbkp_v-bukrs
i_blart = " rbkp_v-blart
i_bldat = " rbkp_v-bldat Document Date
i_budat = " rbkp_v-budat Posting Date
i_waers = " rbkp_v-waers Company Code
i_kursf = " rbkp_v-kursf
i_mwskz_bnk = " rbkp_v-mwskz_bnk
i_txjcd_bnk = " rbkp_v-txjcd_bnk
i_tcode = " rbkp_v-tcode
i_zterm = " rbkp_v-zterm Terms of Payment
i_zbd1t = " rbkp_v-zbd1t Days from baseline date for payment
i_zbd1p = " rbkp_v-zbd1p Cash Discount Percentage Rate
i_zbd2t = " rbkp_v-zbd2t Days from baseline date for payment
i_zbd2p = " rbkp_v-zbd2p Cash Discount Percentage Rate
i_zbd3t = " rbkp_v-zbd3t Days from baseline date for payment
i_xblnr = " rbkp_v-xblnr
ti_rbtx = " mrm_tab_rbtx
* i_rbstat = 5 " rbstat Invoice Document Status
* i_wwert = " accit-wwert Translation Date
IMPORTING
e_gjahr = " rbkp_v-gjahr
e_kursf = " rbkp_v-kursf
e_mwskz_bnk = " rbkp_v-mwskz_bnk
e_txjcd_bnk = " rbkp_v-txjcd_bnk
e_wwert = " accit-wwert Translation Date
. " MRM_HEADER_CHECK
The ABAP code below is a full code listing to execute function module MRM_HEADER_CHECK 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_gjahr | TYPE RBKP_V-GJAHR , |
| ld_e_kursf | TYPE RBKP_V-KURSF , |
| ld_e_mwskz_bnk | TYPE RBKP_V-MWSKZ_BNK , |
| ld_e_txjcd_bnk | TYPE RBKP_V-TXJCD_BNK , |
| ld_e_wwert | TYPE ACCIT-WWERT . |
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_gjahr | TYPE RBKP_V-GJAHR , |
| ld_i_bukrs | TYPE RBKP_V-BUKRS , |
| ld_e_kursf | TYPE RBKP_V-KURSF , |
| ld_i_blart | TYPE RBKP_V-BLART , |
| ld_e_mwskz_bnk | TYPE RBKP_V-MWSKZ_BNK , |
| ld_i_bldat | TYPE RBKP_V-BLDAT , |
| ld_e_txjcd_bnk | TYPE RBKP_V-TXJCD_BNK , |
| ld_i_budat | TYPE RBKP_V-BUDAT , |
| ld_e_wwert | TYPE ACCIT-WWERT , |
| ld_i_waers | TYPE RBKP_V-WAERS , |
| ld_i_kursf | TYPE RBKP_V-KURSF , |
| ld_i_mwskz_bnk | TYPE RBKP_V-MWSKZ_BNK , |
| ld_i_txjcd_bnk | TYPE RBKP_V-TXJCD_BNK , |
| ld_i_tcode | TYPE RBKP_V-TCODE , |
| ld_i_zterm | TYPE RBKP_V-ZTERM , |
| ld_i_zbd1t | TYPE RBKP_V-ZBD1T , |
| ld_i_zbd1p | TYPE RBKP_V-ZBD1P , |
| ld_i_zbd2t | TYPE RBKP_V-ZBD2T , |
| ld_i_zbd2p | TYPE RBKP_V-ZBD2P , |
| ld_i_zbd3t | TYPE RBKP_V-ZBD3T , |
| ld_i_xblnr | TYPE RBKP_V-XBLNR , |
| ld_ti_rbtx | TYPE MRM_TAB_RBTX , |
| ld_i_rbstat | TYPE RBSTAT , |
| ld_i_wwert | TYPE ACCIT-WWERT . |
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 MRM_HEADER_CHECK or its description.