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

RM07MWRKI1 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT RM07MWRKI1

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:

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING no_output = 'X' kzmeinh = ' ' matnr = matnr meinh = display_unit meins = base_unit charge = display_table_conv-charg werks = display_table_conv-werks IMPORTING umrez = umrez umren = umren EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.

REUSE_ALV_VARIANT_SELECT CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT' EXPORTING i_dialog = ' ' i_user_specific = 'X' i_default = 'X' i_tabname_header = 'HEADER_TABLE' i_tabname_item = 'DISPLAY_TABLE' it_default_fieldcat = fieldcat[] i_layout = layout IMPORTING et_fieldcat = fieldcat[] CHANGING cs_variant = variant EXCEPTIONS wrong_input = 1 fc_not_complete = 2 not_found = 3 program_error = 4 OTHERS = 5.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = variant i_save = 'A' IMPORTING es_variant = variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = default_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_fieldcat = fieldcat[] EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

MB_SELECT_GR_BLOCKED_STOCK CALL FUNCTION 'MB_SELECT_GR_BLOCKED_STOCK' "Optimization EXPORTING x_matnr = matnr x_meins = base_unit TABLES xtab2 = xtab2 xwerks = werks.

MB_ADD_TRANSFER_QUANTITY CALL FUNCTION 'MB_ADD_TRANSFER_QUANTITY' EXPORTING cumulate = ' ' i_cross_company = 'X' "sdp462 i_non_cross_company = 'X' "sdp462 TABLES xmatnr = xmatnr xwerks = werks xelikz = xelikz xloekz = xloekz xtab6 = xtab6.

MB_ADD_TRANSFER_ABRUF_QUANTITY CALL FUNCTION 'MB_ADD_TRANSFER_ABRUF_QUANTITY' "Optimization EXPORTING x_elikz = space x_loekz = space x_matnr = matnr x_meins = base_unit TABLES xtab7 = xtab7 xwerks = werks.

MB_SELECT_SPECIAL_STOCKS CALL FUNCTION 'MB_SELECT_SPECIAL_STOCKS' " Optimization EXPORTING x_matnr = matnr TABLES xtab5 = xtab5 xwerks = werks.

MB_ADD_PURCHASE_ORDER_QUANTITY CALL FUNCTION 'MB_ADD_PURCHASE_ORDER_QUANTITY' EXPORTING x_elikz = space x_loekz = space x_matnr = matnr x_meins = base_unit TABLES xtab = xtab xwerks = werks.

MB_ADD_RESERVATION_QUANTITIES CALL FUNCTION 'MB_ADD_RESERVATION_QUANTITIES' "Optimization EXPORTING x_kzear = space x_matnr = matnr x_xloek = space TABLES xbdart = bdart xtab1 = xtab1 xwerks = werks.

MB_SELECT_SD_SCHEDULED_STOCK CALL FUNCTION 'MB_SELECT_SD_SCHEDULED_STOCK' "Optimization EXPORTING x_matnr = matnr TABLES xtab4 = xtab4 xwerks = werks.



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