SAP Reports / Programs

RLS10020 SAP ABAP Report - WM Stock with Material Description







RLS10020 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for WM Stocks with Material Short Text You can use this report to generate a stock list for several storage types and storage bins for a warehouse number...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 RLS10020 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

LX02 - Stock list


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 RLS10020. "Basic submit
SUBMIT RLS10020 AND RETURN. "Return to original report after report execution complete
SUBMIT RLS10020 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: BESTQ = Stock Category
Selection Text: LSONR = Special Stock Number
Selection Text: P_VARI = Layout
Selection Text: SOBKZ = Special Stock Indicator
Selection Text: WDATU = Goods Receipt Date
Selection Text: WERKS = Plant
Title: WM Stock with Material Description
Text Symbol: 001 = TO (Quant)
Text Symbol: 002 = TO (Bin)
Text Symbol: 003 = Lst Inv.Q.
Text Symbol: 011 = Bin Data
Text Symbol: 012 = Quant Data
Text Symbol: 015 = Warehouse Number
Text Symbol: 100 = Program Parameters
Text Symbol: 101 = Stor.Loc


INCLUDES used within this REPORT RLS10020

INCLUDE MLLVSKON.


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:

L_PLATZ_POSITION_MISCHEN call function 'L_PLATZ_POSITION_MISCHEN' exporting lgpla = lqua-lgpla plpos = lqua-plpos importing o_lgpla = lqua-lgpla.

L_QUANT_DISPLAY call function 'L_QUANT_DISPLAY' exporting i_lgnum = lt_lagplqua-lgnum i_lqnum = lt_lagplqua-lqnum.

L_BIN_DISPLAY call function 'L_BIN_DISPLAY' exporting i_lgnum = lt_lagplqua-lgnum i_lgtyp = lt_lagplqua-lgtyp i_lgpla = lt_lagplqua-lgpla.

L_BATCH_DISPLAY call function 'L_BATCH_DISPLAY' exporting i_matnr = lt_lagplqua-matnr i_werks = lt_lagplqua-werks i_charg = lt_lagplqua-charg.

L_SU_DISPLAY call function 'L_SU_DISPLAY' exporting i_lenum = lt_lagplqua-lenum.

L_TR_DISPLAY call function 'L_TR_DISPLAY' exporting i_lgnum = lt_lagplqua-lgnum i_tbnum = lt_lagplqua-tbnum.

L_TO_DISPLAY call function 'L_TO_DISPLAY' exporting i_lgnum = lt_lagplqua-lgnum i_tanum = lt_lagplqua-btanr_q.

L_TO_DISPLAY call function 'L_TO_DISPLAY' exporting i_lgnum = lt_lagplqua-lgnum i_tanum = lt_lagplqua-btanr_b.

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 0 importing et_events = xevents.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting * I_INTERFACE_CHECK = ' ' i_callback_program = sav_repid i_callback_pf_status_set = 'SET_PF_STATUS' * I_CALLBACK_USER_COMMAND = ' ' * i_structure_name = '' is_layout = layout it_fieldcat = xfield it_excluding = gt_extab[] it_special_groups = gt_sp_group[] * IT_SORT = * IT_FILTER = * is_sel_hide = i_default = 'X' i_save = 'A' is_variant = variant it_events = xevents[] * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * importing * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = lt_lagplqua
exceptions program_error = 1 others = 2.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = i_variant i_save = a_save * i_tabname_header = * i_tabname_item = * it_default_fieldcat = importing * e_exit = es_variant = e_variant exceptions not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' exporting i_save = a_save changing cs_variant = c_variant.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = xheader[].

MATERIAL_READ call function 'MATERIAL_READ' exporting schluessel = mtcom importing matdaten = mlvs return = mtcor tables seqmat01 = dum_tab.



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