RM07MBST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report
If you would like to execute this report or see the full code listing simply enter RM07MBST into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
EW38 - EMU Conversion: MM Stock Value List
MB5L - List of Stock Values: Balances
MB5W - List of Stock Values
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.
Selection Text: AKSALDO = Select Balance, Current Period
Selection Text: BKLAS = Valuation Class
Selection Text: BUKRS = Company Code
Selection Text: BWKEY = Valuation Area
Selection Text: BWTAR = Valuation Type
Selection Text: KEINZEL = Valuation Area Level Only
Selection Text: MATLINES = Display Indiv. Matl Lines
Selection Text: MATNR = Material
Selection Text: NEGATIV = Negative Stocks
Selection Text: NULLB = Materials with Zero Stock
Selection Text: PRUEF = Extended Check
Selection Text: SKONT = G/L Account
Selection Text: SUMMEN = Totals Only
Selection Text: VJSALDO = Select Balance, Previous Year
Selection Text: VMSALDO = Select Balance, Prev. Period
Selection Text: ALV_DEF = D .
Title: List of Stock Values: Balances
Text Symbol: 070 = Bal. per
Text Symbol: 080 = Materials
Text Symbol: 083 = Stock Account
Text Symbol: 086 = Variance
Text Symbol: 088 = Value, Records
Text Symbol: 089 = Value, Val. Records
Text Symbol: 090 = Value, Valuation Records
Text Symbol: 091 = Value, Total
Text Symbol: 092 = Val.,TotalsRec.
Text Symbol: 093 = Val. Totals Record
Text Symbol: 094 = Stck, Recs
Text Symbol: 095 = Stock, Valuation Records
Text Symbol: 096 = Stck, Valuation Records
Text Symbol: 097 = Stck, Total
Text Symbol: 098 = Stock, Totals Record
Text Symbol: 099 = Stock, Totals Record
Text Symbol: 101 = Due to restrictions, the balance comparison may be incorrect
Text Symbol: T01 = Select Balance, Current Period
Text Symbol: T02 = Select Balance, Previous Period
Text Symbol: T03 = Select Balance, Previous Year
Text Symbol: T04 = The stock of the current period will be displayed.
INCLUDE: RM07MBSD, " REPORTSPEZIFISCHE DATENDEFINITIONEN
No SAP DATABASE tables are accessed within this REPORT code!
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' "n555246 EXPORTING "n555246 funcname = 'FI_CHECK_DATE' "n555246 EXCEPTIONS "n555246 function_not_exist = 1 "n555246 OTHERS = 2. "n555246
FI_CHECK_DATE CALL FUNCTION 'FI_CHECK_DATE' "#EC EXISTS "n555246 EXPORTING "n486477 i_bukrs = space "n486477 i_user = sy-uname "n486477 i_program = g_f_repid "n486477 IMPORTING "n486477 e_return = g_flag_tpcuser "n486477 EXCEPTIONS "n486477 no_authority_prog = 1 "n486477 no_authority_date = 2 "n486477 wrong_parameter = 3 "n486477 OTHERS = 4. "n486477
MB_CHECK_T160M CALL FUNCTION 'MB_CHECK_T160M' "n497391 EXPORTING "n497391 i_msgnr = '375' "n497391 IMPORTING "n497391 rc = g_retcode. "n497391
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = c_hdb_dbcon_get EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2.
MBEW_EXTEND CALL FUNCTION 'MBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = 'X' xvjah = ' ' TABLES mbew_tab = imbew "n760405 mbew_ext_tab = imbew_ext. "n760405
EBEW_EXTEND CALL FUNCTION 'EBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = 'X' xvjah = ' ' TABLES ebew_tab = iebew "n760405 ebew_ext_tab = iebew_ext. "n760405
QBEW_EXTEND CALL FUNCTION 'QBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = 'X' xvjah = ' ' TABLES qbew_tab = iqbew "n760405 qbew_ext_tab = iqbew_ext. "n760405
OBEW_EXTEND CALL FUNCTION 'OBEW_EXTEND' "n497391 EXPORTING "n497391 kzrfb = 'X' "n497391 maxtz = ' ' "n497391 xvper = 'X' "n497391 xvjah = ' ' "n497391 TABLES "n497391 obew_tab = iobew "n760405 obew_ext_tab = iobew_ext. "n760405
MBEW_EXTEND CALL FUNCTION 'MBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = ' ' xvjah = 'X' TABLES mbew_tab = imbew "n760405 mbew_ext_tab = imbew_ext. "n760405
EBEW_EXTEND CALL FUNCTION 'EBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = ' ' xvjah = 'X' TABLES ebew_tab = iebew "n760405 ebew_ext_tab = iebew_ext. "n760405
QBEW_EXTEND CALL FUNCTION 'QBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = ' ' xvjah = 'X' TABLES qbew_tab = iqbew "n760405 qbew_ext_tab = iqbew_ext. "n760405
OBEW_EXTEND CALL FUNCTION 'OBEW_EXTEND' "n497391 EXPORTING "n497391 kzrfb = 'X' "n497391 maxtz = ' ' "n497391 xvper = ' ' "n497391 xvjah = 'X' "n497391 TABLES "n497391 obew_tab = iobew "n760405 obew_ext_tab = iobew_ext. "n760405
MBEW_EXTEND CALL FUNCTION 'MBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = 'X' xvjah = ' ' TABLES mbew_tab = imbew "n760405 mbew_ext_tab = imbew_ext. "n760405
EBEW_EXTEND CALL FUNCTION 'EBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = 'X' xvjah = ' ' TABLES ebew_tab = iebew "n760405 ebew_ext_tab = iebew_ext. "n760405
QBEW_EXTEND CALL FUNCTION 'QBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = 'X' xvjah = ' ' TABLES qbew_tab = iqbew "n760405 qbew_ext_tab = iqbew_ext. "n760405
OBEW_EXTEND CALL FUNCTION 'OBEW_EXTEND' "n497391 EXPORTING "n497391 kzrfb = 'X' "n497391 maxtz = ' ' "n497391 xvper = 'X' "n497391 xvjah = ' ' "n497391 TABLES "n497391 obew_tab = iobew "n760405 obew_ext_tab = iobew_ext. "n760405
CALL FUNCTION 'MBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = ' ' xvjah = 'X' TABLES mbew_tab = imbew "n760405 mbew_ext_tab = imbew_ext. "n760405
EBEW_EXTEND CALL FUNCTION 'EBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = ' ' xvjah = 'X' TABLES ebew_tab = iebew "n760405 ebew_ext_tab = iebew_ext. "n760405
QBEW_EXTEND CALL FUNCTION 'QBEW_EXTEND' EXPORTING kzrfb = 'X' maxtz = ' ' xvper = ' ' xvjah = 'X' TABLES qbew_tab = iqbew "n760405 qbew_ext_tab = iqbew_ext. "n760405
OBEW_EXTEND CALL FUNCTION 'OBEW_EXTEND' "n497391 EXPORTING "n497391 kzrfb = 'X' "n497391 maxtz = ' ' "n497391 xvper = ' ' "n497391 xvjah = 'X' "n497391 TABLES "n497391 obew_tab = iobew "n760405 obew_ext_tab = iobew_ext. "n760405
MARV_SINGLE_READ CALL FUNCTION 'MARV_SINGLE_READ' EXPORTING bukrs = organ-bukrs IMPORTING wmarv = marv EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3.
CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = objekt objectid = objektid TABLES i_cdhdr = header_change EXCEPTIONS no_position_found = 1 OTHERS = 2.
CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING changenumber = nummer tablename = tabname tablekey = tabkey * importing * header = icdpos TABLES editpos = item_change EXCEPTIONS no_position_found = 1 OTHERS = 2.
FCML2_FOR_ALL_SKC1A CALL FUNCTION 'FCML2_FOR_ALL_SKC1A' EXPORTING xbukrs = bestand-bukrs xsaknr = bestand-konts TABLES xskc1a = intab EXCEPTIONS key_incomplete = 01 not_authorized = 02 not_found = 03.
FOR_ALL_SKC1A CALL FUNCTION 'FOR_ALL_SKC1A' EXPORTING xbukrs = bestand-bukrs xsaknr = bestand-konts TABLES xskc1a = intab EXCEPTIONS key_incomplete = 01 not_authorized = 02 not_found = 03.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = alv_repid i_callback_pf_status_set = 'STATUS_S' i_callback_user_command = 'USER_COMMAND' is_layout = layout it_fieldcat = fieldcat_s[] it_events = g_t_event[] "n497391 i_default = 'X' i_save = 'A' is_variant = alv_variant i_tabname_header = 'HEADER' i_tabname_item = 'SALDO' is_keyinfo = alv_keyinfo is_print = alv_print TABLES t_outtab_header = header t_outtab_item = saldo.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = alv_repid i_callback_pf_status_set = 'STATUS_P' i_callback_user_command = 'USER_COMMAND' is_layout = layout it_fieldcat = fieldcat_p[] is_print = alv_print TABLES t_outtab = gebew.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' "n497391 EXPORTING "n497391 it_list_commentary = g_t_listheader[]. "n497391
MARV_SINGLE_READ CALL FUNCTION 'MARV_SINGLE_READ' "n486477 EXPORTING "n486477 bukrs = g_s_bukrs-bukrs "n486477 IMPORTING "n486477 wmarv = l_s_marv "n486477 EXCEPTIONS "n486477 not_found = 1 "n486477 wrong_call = 2 "n486477 OTHERS = 3. "n486477
FI_CHECK_DATE CALL FUNCTION 'FI_CHECK_DATE' "n486477 EXPORTING "n486477 i_bukrs = g_s_bukrs-bukrs "n486477 i_user = sy-uname "n486477 i_program = g_f_repid "n486477 i_from_per = l_f_buper "n486477 EXCEPTIONS "n486477 no_authority_prog = 1 "n486477 no_authority_date = 2 "n486477 wrong_parameter = 3 "n486477 OTHERS = 4. "n486477
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' "n555246 EXPORTING "n555246 funcname = 'CA_WRITE_LOG' "n555246 EXCEPTIONS "n555246 function_not_exist = 1 "n555246 OTHERS = 2. "n555246
CA_WRITE_LOG CALL FUNCTION 'CA_WRITE_LOG' "#EC EXISTS "n555246 EXPORTING "n555246 i_program = g_f_repid "n555246 EXCEPTIONS "n555246 write_error = 1 "n555246 OTHERS = 2. "n555246
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 RM07MBST or its description.