SAP Reports / Programs

RM07MWBU SAP ABAP Report - Valuation of Goods Movements







RM07MWBU is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Valuation of goods movements INCLUDE RM07MWBU_PURPOSE OBJECT DOKU ID TX LANGUAGE EN INCLUDE RM07MWBU_PREREQUISITES OBJECT DOKU ID TX LANGUAGE EN INCLUDE RM07MWBU_RESTRICTIONS OBJECT DOKU ID TX LANGUAGE EN INCLUDE RM07MWBU_CONTROLLING OBJECT DOKU ID TX LANGUAGE EN INCLUDE RM07MWBU_ACTIVATE OBJECT DOKU ID TX LANGUAGE EN INCLUDE RM07MWBU_FLOW OBJECT DOKU ID TX LANGUAGE EN INCLUDE RM07MWBU_OUTPUT OBJECT DOKU ID TX LANGUAGE EN INCLUDE RM07MWBU_EXAMPLE OBJECT DOKU ID TX LANGUAGE EN INCLUDE RM07MWBU_ERRORS OBJECT DOKU ID TX LANGUAGE EN..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RM07MWBU 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 RM07MWBU. "Basic submit
SUBMIT RM07MWBU AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MWBU 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: ERROR = No. of errors allowed
Selection Text: SIZE = Size of processing package
Selection Text: SP_BELEG = Locking attempts/doc. header
Selection Text: SP_MAT = Locking attempts / material
Selection Text: SP_PO = Locking attempts / PO / order
Selection Text: WAIT_G = Waiting time / read document
Selection Text: WAIT_M = Waiting time / block material
Selection Text: WAIT_PO = Waiting time / lock PO /order
Title: Valuation of Goods Movements
Text Symbol: 001 = Late material block not active
Text Symbol: 002 = Subsequent calculation of value is not allowed (Customizing trans. OMJV)
Text Symbol: 013 = Maximum no. of errors reached
Text Symbol: 014 = Valuated documents :
Text Symbol: 015 = Documents with errors :


INCLUDES used within this REPORT RM07MWBU

INCLUDE MM07MTOP_MWOFF.


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:

ENQUEUE_EMBVALE call function 'ENQUEUE_EMBVALE' exporting * MODE_TCURM = 'E' * MANDT = SY-MANDT _scope = '1' * _WAIT = ' ' * _COLLECT = ' ' exceptions foreign_lock = 1 system_failure = 2 others = 3.

KPEP_MONI_INIT_RECORD * call function 'KPEP_MONI_INIT_RECORD' * exporting * ls_detail = detail_user * LS_WITEM = * ls_appl = 'MM-IM' * LD_WORKLIST_FLAG = ' ' * LD_DELAYED_UPDATE = ' ' * importing * ls_key = key * WILL_BE_SAVED = * TABLES * LT_SELKRIT = * LT_PARAM = * .

MESSAGES_ACTIVE *Call function 'MESSAGES_ACTIVE' * IMPORTING * MAX_SEVERITY = * ZEILE = * EXCEPTIONS * NOT_ACTIVE = 1 * OTHERS = 2 .

MESSAGES_ACTIVE call function 'MESSAGES_ACTIVE' exceptions not_active = 1.

MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE' exporting reset = ' ' exceptions error_message = 4.

MB_GET_SINGLE_MWOFF_INTERFACE call function 'MB_GET_SINGLE_MWOFF_INTERFACE' exporting wait = wait_g_f packagesize = size maxlog = sp_beleg tables xmkpf = xmkpf zmseg = ymseg zdm07m = ydm07m zvm07m = yvm07m XMSEG = XMSEG XVM07M = XVM07M YMBUZ = YMBUZ exceptions exception_no_more_entries = 2.

MB_VALUATE_SINGLE_MWOFF call function 'MB_VALUATE_SINGLE_MWOFF' exporting v_mbval = mbval v_xwert = xwert sperrversuche_po = sp_po v_sperrversuche_mat = sp_mat wait_po = wait_po_f v_wait_mat = wait_mat_f tables v_xmkpf = xmkpf v_ymseg = ymseg v_ydm07m = ydm07m v_yvm07m = yvm07m v_xmseg = xmseg v_xvm07m = xvm07m v_ymbuz = ymbuz exceptions error_message = 2.

DEQUEUE_EMMKPF call function 'DEQUEUE_EMMKPF' exporting mblnr = xmkpf-mblnr mjahr = xmkpf-mjahr.

DEQUEUE_EMBVALE call function 'DEQUEUE_EMBVALE'.

KPEP_MONI_CLOSE_RECORD * call function 'KPEP_MONI_CLOSE_RECORD' * exporting * ls_key = key * LS_MESSAGE = * LD_OBJECTS = * LS_EXT = * LS_RL = * LS_SCMA_EVENT = * TABLES * LT_SPOOL = * changing * ld_aplstat = ls_status * EXCEPTIONS * NO_ID_GIVEN = 1 * OTHERS = 2 * .



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