MILL_ROUNDERROR 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 MILL_ROUNDERROR 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.
Title: AUSP entries for quantity conversion with rounding error
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING KZDCH = L_KZDCH EXCEPTIONS OTHERS = 1.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING IT_FIELDCAT = LT_FIELDCAT[] IS_LAYOUT = LS_LAYOUT IT_EVENTS = LT_EVENTS[] I_CALLBACK_PROGRAM = L_REPID TABLES T_OUTTAB = LT_MCH_ERROR.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = RT_EVENTS.
MARM_GENERIC_READ_WITH_MATNR CALL FUNCTION 'MARM_GENERIC_READ_WITH_MATNR' EXPORTING KZRFB = ' ' MATNR = I_MATNR TABLES MARM_TAB = LT_MARM EXCEPTIONS WRONG_CALL = 1 NOT_FOUND = 2 OTHERS = 3.
BATCH_CONVERSION_FACTOR CALL FUNCTION 'BATCH_CONVERSION_FACTOR' EXPORTING I_CHARG = I_CHARG I_WERKS = I_WERKS I_MATNR = I_MATNR I_MEINS = I_MEINS I_MEINH = LT_MARM-MEINH I_KZMEINH = SPACE I_KZDWS = '1' I_MARM = LT_MARM I_KZDCH = I_KZDCH IMPORTING O_CHAR_VALUE = L_MMWERT EXCEPTIONS BATCH_NOT_CLASSIFIED = 1 "ZL2K000847 CHARACTERISTIC_WITH_VALUE_0 = 2 "ZL2K000847 NEW_BATCH_NOT_CLASSIFIED = 3 "ZL2K000847 OTHERS = 4. "ZL2K000847
CONVERT_TO_FRACT5 CALL FUNCTION 'CONVERT_TO_FRACT5' EXPORTING NOMIN = L_MMWERT DENOMIN = '1' IMPORTING NOMOUT = L_UMREZ DENOMOUT = L_UMREN EXCEPTIONS CONVERSION_OVERFLOW = 1 OTHERS = 2.
MURC_ROUND_FOR_FRACT5 CALL FUNCTION 'MURC_ROUND_FOR_FRACT5' EXPORTING I_CHARVALUE = L_MMWERT_F I_DECIMALS = L_DECIMALS IMPORTING O_CHARVALUE_ROUNDED = L_MMWERT_ROUND_F EXCEPTIONS INPUT_INVALID = 1 OUTPUT_INVALID = 2 OVERFLOW = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MILL_ROUNDERROR - AUSP entries for quantity conversion with rounding error MILL_ROUNDERROR - AUSP entries for quantity conversion with rounding error MILL_PP_COKOX2 - MILLPPCOKOX2 MILL_PP_COKOX - MILLPPCOKOX MILL_PP - MILLPP MILL_PCBT_CHECK - Analysis report for inconsistencies in single-unit batches