SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RM07MBWS SAP ABAP Report - Valuated Sales Order and Project Stock







RM07MBWS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report Valuated special stock issues a list with the following 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 RM07MBWS 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

MBBS - Display valuated special stock


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 RM07MBWS. "Basic submit
SUBMIT RM07MBWS AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MBWS 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: BWKEY = Valuation Area
Selection Text: BWTAR = Valuation Type
Selection Text: KUNNR = Sold-To Party
Selection Text: MATNR = Material
Selection Text: POSID = WBS Element
Selection Text: POSNR = Sales Document Item
Selection Text: PSPHI = Project Definition
Selection Text: P_GRID = Output List as ALV Grid
Selection Text: P_VARI = Layout
Selection Text: VBELN = Sales Document
Selection Text: SO_LIFNR = D .
Selection Text: SO_SOBKZ = D .
Title: Valuated Sales Order and Project Stock
Text Symbol: 001 = Database Selections
Text Symbol: 002 = Display Options
Text Symbol: 003 = Additional Selections - Valuated Project Stock
Text Symbol: 004 = Additional Selections - Valuated Sales Order Stock
Text Symbol: 005 = Additonal Selections - Valuated Stock of Material for Vendor


INCLUDES used within this REPORT RM07MBWS

INCLUDE: RM07MBWD, " REPORTSPEZIFISCHE DATENDEFINITIONEN


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:

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = VARIANTE I_SAVE = VARIANT_SAVE * it_default_fieldcat = IMPORTING E_EXIT = VARIANT_EXIT ES_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = VARIANT_SAVE CHANGING CS_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = repid i_callback_pf_status_set = 'STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = layout it_fieldcat = fieldcat[] i_default = 'X' i_save = 'A' is_variant = variante * IT_EVENTS = is_print = print TABLES t_outtab = gt_ibew[] EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = repid i_callback_pf_status_set = 'STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = layout it_fieldcat = fieldcat[] i_default = 'X' i_save = 'A' is_variant = variante * IT_EVENTS = is_print = print TABLES t_outtab = gt_ibew[] EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = VARIANT_SAVE CHANGING CS_VARIANT = DEF_VARIANTE.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = 'CK_BWST' value = h_value langu = sy-langu IMPORTING dd07v_wa = wa_dd07v.

LVC_FIELDCAT_COMPLETE CALL FUNCTION 'LVC_FIELDCAT_COMPLETE' CHANGING ct_fieldcat = gt_fieldcat_xbew[].

CK_F_ORG_ELEMENTS_PLANT CALL FUNCTION 'CK_F_ORG_ELEMENTS_PLANT' EXPORTING werk = p_werks IMPORTING organisationselemente = orgelmts.



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