MBVALUES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter MBVALUES into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: UPDATE = Update
Selection Text: R_P_YEAR = Check Previous Year
Selection Text: R_P_MON = Check Previous Period
Selection Text: R_MATNR = Material
Selection Text: R_CURR = Check Current Period
Selection Text: R_BWKEY = Valuation Area
Selection Text: R_BLART = Document Types
Selection Text: R_BKLAS = Valuation Class
Selection Text: P_KEY = Key
Selection Text: P_BUKRS = Company Code
Selection Text: F_REUSE = Materials of Last Run
Selection Text: F_CKMI1 = Use Table CKMI1
Selection Text: F_BSIM = BSIM (Standard)
Selection Text: FR_YEAR = Start of Current Year
Selection Text: FR_START = System Start
Selection Text: FR_PP_Y = Start of Previous Year
Selection Text: FI_SUM = FI Summarization (MSEG/BSIM)
Selection Text: EURO_CH = To Euro During Current Year
Selection Text: BEWERT = Split Valuation Only
Title: MBVALUES: Check Material Value Against FI Documents
Text Symbol: 003 = Table to Be Used for Calculation
Text Symbol: 002 = Calculate From:
Text Symbol: 001 = Period to Check
INCLUDE RM07AUTH.
INCLUDE RM07REUSS.
No SAP DATABASE tables are accessed within this REPORT code!
EWU_GET_CUKEY_ORG CALL FUNCTION 'EWU_GET_CUKEY_ORG' EXPORTING waehrungsursprung = '10' "company code currency auspraegung = pp_bukrs gueltigkeitsdatum = p_from_budat IMPORTING waehrungsschluessel = start_curr EXCEPTIONS type_not_found = 1 no_conversion_found = 2 object_not_found = 3 OTHERS = 4.
LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = p_ml_jahr i_periv = xperiv i_poper = p_ml_poper IMPORTING e_date = p_to_budat EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3.
FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = current_year * I_MONMIT = 00 i_periv = xperiv i_poper = 001 IMPORTING e_date = from_budat EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.
FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = current_year * I_MONMIT = 00 i_periv = xperiv i_poper = 001 IMPORTING e_date = from_budat EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.
FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = current_year * I_MONMIT = 00 i_periv = xperiv i_poper = h_poper IMPORTING e_date = from_budat EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_bukrs = p_bukrs i_budat = budat IMPORTING e_monat = monat_mr21 e_gjahr = bdatj_mr21.
FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING i_bukrs = p_bukrs i_gjahr = bdatj_mr21 i_koart = '+' i_konto = '+' i_monat = l_monat EXCEPTIONS error_period = 1 error_period_acc = 2.
CKMS_BUFFER_REFRESH_COMPLETE CALL FUNCTION 'CKMS_BUFFER_REFRESH_COMPLETE'.
PRICES_CHANGE CALL FUNCTION 'PRICES_CHANGE' "#EC NO_INCOMP EXPORTING actual_bdatj = bdatj_mr21 actual_poper = l_poper bukrs = p_bukrs budat = budat TABLES t_matpr = lt_matpr. "#EC NO_INCOMP
PRICES_POST CALL FUNCTION 'PRICES_POST' "#EC NO_INCOMP EXPORTING i_bktxt = space bukrs = p_bukrs lis_update = 'X' "similar to MR21 IMPORTING o_belnr = l_belnr o_kjahr = l_year TABLES t_matpr = lt_matpr. "#EC NO_INCOMP
LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = cs_plant-to_year i_periv = is_t001-periv i_poper = l_poper IMPORTING e_date = cs_plant-to_date EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MBVALUES - MBVALUES: Check Material Value Against FI Documents MBVALUES - MBVALUES: Check Material Value Against FI Documents MBUSST00 - Business Partner Global Constants MBUSITOP - documentation and ABAP source code MBUSIO02 - documentation and ABAP source code MBUSIO01 - documentation and ABAP source code