RM07MSQL 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 RM07MSQL into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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 = xmeins-matnr meins = xmeins-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.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = makt return = mtcor TABLES seqmat01 = dummy.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mabdr return = mtcor TABLES seqmat01 = dummy.
MATERIAL_TO_VALUE_MATERIAL CALL FUNCTION 'MATERIAL_TO_VALUE_MATERIAL' EXPORTING i_werks = lsk_werks i_matnr = lsk_matnr * I_DATAB = * I_DATBI = i_read_marc = 'X' "1462376 TABLES marab = t_mara_b EXCEPTIONS eingabe_nicht_erlaubt = 1 error_found = 2 OTHERS = 3.
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = l_matnr IMPORTING wmara = xmara EXCEPTIONS OTHERS = 5.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = marc return = mtcor TABLES seqmat01 = dummy EXCEPTIONS OTHERS = 1.
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = l_matnr IMPORTING wmara = xmara EXCEPTIONS OTHERS = 5.
MARV_SINGLE_READ CALL FUNCTION 'MARV_SINGLE_READ' EXPORTING bukrs = marvls_bukrs IMPORTING wmarv = marv EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mbefu return = mtcor TABLES seqmat01 = dummy.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mbefu return = mtcor TABLES seqmat01 = dummy.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = xmara TABLES seqmat01 = dummy EXCEPTIONS OTHERS = 01.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mbefu return = mtcor TABLES seqmat01 = dummy.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.