SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

RMMMBENFM SAP ABAP INCLUDE - MEPO_ITEM_FILL_PTV







RMMMBENFM 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 RMMMBENFM 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 RMMMBENFM. "Basic submit
SUBMIT RMMMBENFM AND RETURN. "Return to original report after report execution complete
SUBMIT RMMMBENFM 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 RMMMBENFM

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:

MB_ADD_PURCHASE_ORDER_QUANTITY CALL FUNCTION 'MB_ADD_PURCHASE_ORDER_QUANTITY' EXPORTING x_matnr = mkopf-matnr * X_MEINS = MKOPF-meins "ch /14.10.95

MATERIAL_QUANTITIES_FAUF CALL FUNCTION 'MATERIAL_QUANTITIES_FAUF' EXPORTING matnr = mkopf-matnr kzwso = kzwso "ALRK014884 SW TABLES famng_tab = xtab5 werks_tab = ms_werks.

MB_ADD_RESERVATION_QUANTITIES CALL FUNCTION 'MB_ADD_RESERVATION_QUANTITIES' EXPORTING x_matnr = mkopf-matnr x_xloek = space x_kzear = space x_kzwso = kzwso "ALRK014884 SW TABLES xtab1 = xtab1 xwerks = ms_werks xbdart = xbdart.

MB_ADD_TRANSFER_QUANTITY *CALL FUNCTION 'MB_ADD_TRANSFER_QUANTITY' * EXPORTING * X_ELIKZ = SPACE * X_LOEKZ = SPACE * X_MATNR = MKOPF-MATNR * X_MEINS = MKOPF-BASME * TABLES * XTAB6 = XTAB6 * XWERKS = MS_WERKS * EXCEPTIONS * OTHERS = 1.

MB_ADD_TRANSFER_QUANTITY CALL FUNCTION 'MB_ADD_TRANSFER_QUANTITY' EXPORTING cumulate = 'X' TABLES xmatnr = xmatnr xwerks = ms_werks * XRESWK = * XSOBKZ = xpstyp = xpstyp xelikz = xelikz xloekz = xloekz xtab6 = xtab6.

ME_DELIV_STRG_LOC_ACTIVE CALL FUNCTION 'ME_DELIV_STRG_LOC_ACTIVE' IMPORTING ef_del_strg_loc_act = with_lgort.

MATERIAL_QUANTITIES_ULBS CALL FUNCTION 'MATERIAL_QUANTITIES_ULBS' EXPORTING matnr = mkopf-matnr with_lgort = with_lgort "Retrofit SDP Bw TABLES abmng_tab = xtab5 werks_tab = ms_werks.

MB_SELECT_SD_SCHEDULED_STOCK CALL FUNCTION 'MB_SELECT_SD_SCHEDULED_STOCK' EXPORTING x_matnr = mkopf-matnr x_kzwso = kzwso "ALK014884 SW TABLES xtab4 = xtab4 xwerks = ms_werks.

MB_SELECT_GR_BLOCKED_STOCK CALL FUNCTION 'MB_SELECT_GR_BLOCKED_STOCK' EXPORTING x_matnr = mkopf-matnr * X_MEINS = MKOPF-MEINS "ch /14.10.95

MB_ADD_VAL_BLOCKED_GR_STOCK CALL FUNCTION 'MB_ADD_VAL_BLOCKED_GR_STOCK' EXPORTING I_LOEKZ = ' ' "n1535711 i_wi_st = 'X' i_no_st = 'X' i_knttp = 'X' i_condense = 'X' i_wiora = 'X' i_noora = 'X' i_withb = 'X' I_ELIKZ = ' ' "n1535711 TABLES t_ra_matnr = lr_matnr t_ra_werks = ms_werks t_result = lt_result EXCEPTIONS parameter_error = 1 missing_authorization = 2 OTHERS = 3.

WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING pi_lifnr = lftab-lifnr PI_READ_CAM = l_iav PI_ACCESS_TO_ADDR_VERSION = l_iav IMPORTING PO_LFA1 = lfa1 EXCEPTIONS NO_RECORDS_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

V_KNA1_SINGLE_READ CALL FUNCTION 'V_KNA1_SINGLE_READ' EXPORTING pi_kunnr = kntab-kunnr PI_READ_CAM = l_iav PI_ACCESS_TO_ADDR_VERSION = l_iav IMPORTING PE_KNA1 = kna1 EXCEPTIONS NO_RECORDS_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

MATERIAL_PRE_READ_MARM CALL FUNCTION 'MATERIAL_PRE_READ_MARM' TABLES ipre03 = pre03_tab.

MATERIAL_UNIT_FIND_30 CALL FUNCTION 'MATERIAL_UNIT_FIND_30' EXPORTING kzall = x matnr = pi_matnr meins = pi_basme TABLES rmmme1_itab = mengeneinheiten EXCEPTIONS material_not_found = 01.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = mengeneinheiten-meinh language = sy-langu IMPORTING long_text = t006a-msehl output = t006a-mseh3 short_text = t006a-mseht EXCEPTIONS unit_not_found = 01.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy_repid dynumb = sy_dynnr translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 OTHERS = 9.

CONVERSION_EXIT_MATN1_INPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT' EXPORTING input = matnr_lisel IMPORTING output = matnr_neu EXCEPTIONS OTHERS = 1.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'T006A' tabname = 'MSEHI' titel = text-089 * TITLE_IN_VALUES_LIST = ' ' IMPORTING select_value = meins_neu TABLES fields = t_fields valuetab = t_values EXCEPTIONS field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 OTHERS = 4.

MD_MRP_AREA_GET





CALL FUNCTION 'MD_MRP_AREA_GET' EXPORTING i_matnr = matnr i_werks = werks i_lgort = lgort IMPORTING e_mdma = mdma EXCEPTIONS wrong_parameters = 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 RMMMBENFM or its description.