SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

RWMATSIM SAP ABAP Report - Assortments: Analysis program







RWMATSIM 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 RWMATSIM 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 RWMATSIM. "Basic submit
SUBMIT RWMATSIM AND RETURN. "Return to original report after report execution complete
SUBMIT RWMATSIM 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: P_WSOP_G = WSOP, complete
Selection Text: P_WSOH = WSOH
Selection Text: P_WSOF_G = WSOF, complete
Selection Text: P_WLK1_S = WLK1, by assortment
Selection Text: P_WLK1_M = WLK1, by material
Selection Text: P_WLK1_G = WLK1, complete
Selection Text: P_WLK1_D = WLK1 deleted
Selection Text: P_MARC_W = MARC, by plant
Selection Text: P_MARC_M = MARC, by material
Selection Text: P_MARC_G = MARC, general
Selection Text: P_MARA = Mara
Selection Text: P_AUSWER = Evaluation
Selection Text: P_ANALYS = Analysis
Title: Assortments: Analysis program
Text Symbol: 013 = Display no. of MARC per plant:
Text Symbol: 012 = Display no. of MARC per material:
Text Symbol: 011 = Existing records:
Text Symbol: 006 = Analysis was carried out
Text Symbol: 004 = Records w.LP
Text Symbol: 003 = Plnt
Text Symbol: 002 = No. records
Text Symbol: 001 = Material


INCLUDES used within this REPORT RWMATSIM

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:

REUSE_ALV_GRID_DISPLAY *CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' * EXPORTING * i_callback_program = g_repid * is_layout = gs_layout * it_fieldcat = gt_fieldcat * i_save = gc_a * it_events = gt_events * TABLES * t_outtab = gt_header * EXCEPTIONS * program_error = 1 * OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_status is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = gc_a it_events = gt_events TABLES t_outtab = gt_header EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_mmsmatsim02 CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_mmsmatsim01 CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_mmsmatsim01 CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = gt_events.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_topoflist.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = gc_a it_events = gt_events TABLES t_outtab = gt_anz_marc_matnr EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = gc_a it_events = gt_events TABLES t_outtab = gt_anz_marc_werks EXCEPTIONS program_error = 1 OTHERS = 2.



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