SAP Reports / Programs | Logistics - General | SAP Retail Store(LO-SRS) SAP LO

RSTWBFMB SAP ABAP Report - Store WB: Display Store Material Documents







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


Text pool values


Title: Store WB: Display Store Material Documents
Text Symbol: 001 = Goods recipient Shipping location
Text Symbol: 002 = Vendor Goods recipient
Text Symbol: 003 = GR/GI SLIP
Text Symbol: 004 = Page:
Text Symbol: 005 = |Material doc. Cat. Date Pers.responsible
Text Symbol: 006 = GR/GI slip ReferenceDoc|
Text Symbol: 007 = | Item Material
Text Symbol: 008 = Short text Qty Un |


INCLUDES used within this REPORT RSTWBFMB

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_READ_MATERIAL_HEADER CALL FUNCTION 'MB_READ_MATERIAL_HEADER' EXPORTING MBLNR = refblnr MJAHR = s_mjahr TRTYP = 'A' VGART = ' ' IMPORTING KOPF = I_MKPF. " i_t_gm_head_02.

MB_READ_MATERIAL_POSITION CALL FUNCTION 'MB_READ_MATERIAL_POSITION' EXPORTING MBLNR = refblnr MJAHR = s_mjahr TRTYP = 'A' * ZEILB = * ZEILE = TABLES SEQTAB = I_t_MSEG. " i_t_gm_item_show

BAPI_MATERIAL_GET_DETAIL call function 'BAPI_MATERIAL_GET_DETAIL' EXPORTING material = i_t_mseg-matnr IMPORTING material_general_data = i_material return = s_i_bapireturn.

LOCATION_SELECT_PLANT call function 'LOCATION_SELECT_PLANT' exporting i_werks = I_t_MSEG-werks importing o_t001w = l_t001w exceptions no_valid_plant = 1 plant_not_found = 2 more_than_one_entry_found = 3 others = 4.

LOCATION_SELECT_PLANT call function 'LOCATION_SELECT_PLANT' EXPORTING i_werks = i_t_mseg-umwrk IMPORTING o_t001w = l_t001w EXCEPTIONS no_valid_plant = 1 plant_not_found = 2 more_than_one_entry_found = 3 others = 4.

LOCATION_SELECT_PLANT call function 'LOCATION_SELECT_PLANT' EXPORTING i_werks = i_t_mseg-umwrk IMPORTING o_t001w = l_t001w EXCEPTIONS no_valid_plant = 1 plant_not_found = 2 more_than_one_entry_found = 3 others = 4.

ME_EKKO_SINGLE_READ CALL FUNCTION 'ME_EKKO_SINGLE_READ' EXPORTING PI_EBELN = i_t_mseg-ebeln IMPORTING PO_EKKO = i_ekko EXCEPTIONS NO_RECORDS_FOUND = 1 OTHERS = 2 .

LOCATION_SELECT_PLANT call function 'LOCATION_SELECT_PLANT' EXPORTING i_werks = i_ekko-reswk IMPORTING o_t001w = l_t001w EXCEPTIONS no_valid_plant = 1 plant_not_found = 2 more_than_one_entry_found = 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 RSTWBFMB or its description.