SAP Reports / Programs

RMMMMPOIA SAP ABAP Report - Report on Listing of Articles with MARC Segment







RMMMMPOIA 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 RMMMMPOIA 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

WRSTA - Materials Listing


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


Text pool values


Listing articles mit MARC segments
Selection Text: S_MATNR = Material
Selection Text: S_WERKS = Plant
Title: Report on Listing of Articles with MARC Segment
Text Symbol: 001 = Customizing data not maintained correctly
Text Symbol: 002 = No materials selected
Text Symbol: 003 = Material
Text Symbol: 004 = Plnt
Text Symbol: 005 = Asrtmnt
Text Symbol: 006 = Following records have been listed:
Text Symbol: 007 = Check entries! No listing has been carried out!


INCLUDES used within this REPORT RMMMMPOIA

INCLUDE MWWCONST. " COLLETT 4.7


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:

TWPA_SINGLE_READ CALL FUNCTION 'TWPA_SINGLE_READ' IMPORTING wtwpa = is_twpa EXCEPTIONS not_found = 1 OTHERS = 2.

MARC_ARRAY_READ_MATNR_ALL CALL FUNCTION 'MARC_ARRAY_READ_MATNR_ALL' TABLES ipre03 = h_pre03 marc_tab = h_marc EXCEPTIONS enqueue_mode_changed = 1 lock_system_error = 2 lock_on_marc = 3 OTHERS = 4.

ASSORTMENT_GET_ASORT_OF_USER CALL FUNCTION 'ASSORTMENT_GET_ASORT_OF_USER' EXPORTING valid_per_date = sy-datum user = z_marc-kunnr user_type = z_marc-vlfkz TABLES assortment_data = z_asortdata EXCEPTIONS no_asort_found = 1 OTHERS = 2.

LISTING_COND_MAINTAIN_DARK CALL FUNCTION 'LISTING_COND_MAINTAIN_DARK' EXPORTING " COLLETT 4.7

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_grid_settings = ls_lvc_s_glay is_layout = ls_layout_artlist it_sort = lt_sort it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events_artlist TABLES t_outtab = gt_outtab_artlist EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = gv_repid i_structure_name = gc_struct_artlist CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' "#EC * EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2 .

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_list_top_of_page.



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