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

RMMMBEFM SAP ABAP INCLUDE - documentation and ABAP source code







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

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 = 'X' I_WI_ST = 'X' I_NO_ST = 'X' I_KNTTP = 'X' I_CONDENSE = 'X' I_WIORA = 'X' I_NOORA = 'X' I_WITHB = 'X' TABLES T_RA_MATNR = lr_matnr T_RA_WERKS = MS_WERKS T_RESULT = lt_result EXCEPTIONS PARAMETER_ERROR = 1 MISSING_AUTHORIZATION = 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.



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