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

RM07MBST SAP ABAP Report - List of Stock Values: Balances







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 List of Stock Values: Balances is used to display the total quantity and value of the stock of one or more materials at plant and storage location level...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

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


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


Text pool values


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.





Text Symbol: 001 = G/L accnt is missing for val. segment
Text Symbol: 002 = Del.F
Text Symbol: 005 = Materials
Text Symbol: 006 = Stock Account
Text Symbol: 007 = Variance
Text Symbol: 008 = Account in previous year not yet opened
Text Symbol: 009 = Bal. per
Text Symbol: 010 = +
Text Symbol: 011 = -
Text Symbol: 012 = CoCde Stock Account ......................... Balance
Text Symbol: 013 = Selection of posting period not allowed
Text Symbol: 014 = Valuation Types Total Stock Un Total Val. Curr.
Text Symbol: 015 = Company Code Total
Text Symbol: 016 = For Company Code
Text Symbol: 017 = Description
Text Symbol: 018 = Only One Criterion
Text Symbol: 019 = G/L Account or Company Code
Text Symbol: 024 = Company Name
Text Symbol: 025 = G/L Account Description
Text Symbol: 032 = Please position cursor on a valid field
Text Symbol: 033 = Material does not exist
Text Symbol: 038 = Plant
Text Symbol: 039 = Not in table T001W
Text Symbol: 040 = Specify lower limit
Text Symbol: 041 = Valid G/L Account
Text Symbol: 042 = Valid Company Code
Text Symbol: 043 = Valid Material
Text Symbol: 044 = CoCode or G/L Acct. No.
Text Symbol: 045 = Stock Account/s
Text Symbol: 046 = Total Stock
Text Symbol: 047 = Total Value
Text Symbol: 048 = No valuation types available
Text Symbol: 049 = G/L Account or Company Code
Text Symbol: 050 = Database Selections
Text Symbol: 051 = Scope of List
Text Symbol: 052 = Display Options
Text Symbol: 053 = Period
Text Symbol: 060 = Total SlsVal


INCLUDES used within this REPORT RM07MBST

INCLUDE: RM07MBSD, " REPORTSPEZIFISCHE DATENDEFINITIONEN





MM07MABC, " VARIABLEN ZUM ZEICHENSATZ
RM07MUSR, " TASTENBELEGUNGEN UND TRANSKATIONEN
RM07MEND, " ANFORDERUNGSBILD UND ENDEROUTINE
RM07MBSP, " REPORTEIGENE PARAMETER


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:

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

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

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



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