SAP Reports / Programs | Cross-Application Component (CA) Enhancements | Mill Products Industry Solution | Cross-Application Component (CA) Enhancements(IS-MP-CA) SAP IS

MILL_ROUNDERROR SAP ABAP Report - AUSP entries for quantity conversion with rounding error







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT MILL_ROUNDERROR. "Basic submit
SUBMIT MILL_ROUNDERROR AND RETURN. "Return to original report after report execution complete
SUBMIT MILL_ROUNDERROR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: AUSP entries for quantity conversion with rounding error


INCLUDES used within this REPORT MILL_ROUNDERROR

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MILL_ROUNDERROR or its description.