SAP Reports / Programs

RVBWSUOM SAP ABAP Report - Consistency check for proportion/product units







RVBWSUOM 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 RVBWSUOM into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MWBC - Consistency Chck f. Prop./Prod. Unit


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 RVBWSUOM. "Basic submit
SUBMIT RVBWSUOM AND RETURN. "Return to original report after report execution complete
SUBMIT RVBWSUOM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ALL_REC = Complete list
Selection Text: CHAR = Characteristic
Selection Text: DET_BAT = Batch
Selection Text: DET_MAT = Material
Selection Text: ERR_REC = Inconsistent char. values
Selection Text: INI_REC = Characteristics w/o valuation
Selection Text: KZWSM = Usage of UoM
Selection Text: MAT = Material
Selection Text: STATUS = Output aggregated status
Selection Text: UOM = Unit of measure
Selection Text: VARIANT = Layout
Title: Consistency check for proportion/product units
Text Symbol: T02 = Expansion level
Text Symbol: T01 = Display criteria
Text Symbol: T00 = Database selections
Text Symbol: LS3 = Inconsistent char. values exist
Text Symbol: LS2 = Non-valuated characteristics exist
Text Symbol: LS1 = Char. values of all batches are consistent
Text Symbol: L03 = The char. value is inconsistent
Text Symbol: L02 = The char. is not valuated
Text Symbol: L01 = The char. value is consistent
Text Symbol: 003 = Conversion
Text Symbol: 002 = Status
Text Symbol: 001 = Aggregated status of all batches for the material
Text Symbol: T03 = Layout


INCLUDES used within this REPORT RVBWSUOM

INCLUDE RVBWSUOM_DATA.


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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = restrict EXCEPTIONS OTHERS = 0.

VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING kzdch = kzdch kzdws = kzdws EXCEPTIONS OTHERS = 1.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_pf_status_set i_callback_user_command = g_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat[] i_save = g_save is_variant = g_variant i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo IMPORTING es_exit_caused_by_user = g_exit_user TABLES t_outtab_header = material t_outtab_item = batch.

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING matnr = uom_tab-matnr spras = sy-langu IMPORTING wmakt = makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

CLSE_SELECT_CABNT CALL FUNCTION 'CLSE_SELECT_CABNT' EXPORTING language = sy-langu TABLES in_cabn = r_atinn t_cabnt = t_cabnt EXCEPTIONS no_entry_found = 01.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = uom_tab-meins language = sy-langu IMPORTING short_text = i_t006a-mseht EXCEPTIONS unit_not_found = 01.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = uom_tab-meinh language = sy-langu IMPORTING short_text = i_t006a-mseht EXCEPTIONS unit_not_found = 01.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light * TEXT = ' ' info = text-l03 * ADD_STDINF = 'X' IMPORTING result = material-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light * TEXT = ' ' info = text-l03 * ADD_STDINF = 'X' IMPORTING result = material-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_green_light * TEXT = ' ' info = text-l01 * ADD_STDINF = 'X' IMPORTING result = material-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light * TEXT = ' ' info = text-l03 * ADD_STDINF = 'X' IMPORTING result = material-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light * TEXT = ' ' info = text-l03 * ADD_STDINF = 'X' IMPORTING result = material-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light * TEXT = ' ' info = text-ls3 * ADD_STDINF = 'X' IMPORTING result = batch-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_yellow_light * TEXT = ' ' info = text-ls2 * ADD_STDINF = 'X' IMPORTING result = batch-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_green_light * TEXT = ' ' info = text-ls1 * ADD_STDINF = 'X' IMPORTING result = batch-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_yellow_light * TEXT = ' ' info = text-ls2 * ADD_STDINF = 'X' IMPORTING result = batch-state EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.



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 RVBWSUOM or its description.