SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

RMMMBIMG SAP ABAP Report - Generation Program: Batch Input for "Create/Change Material"







RMMMBIMG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program to generate program parts used to transfer material master data...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 RMMMBIMG 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 RMMMBIMG. "Basic submit
SUBMIT RMMMBIMG AND RETURN. "Return to original report after report execution complete
SUBMIT RMMMBIMG 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: DO_IT = Generate code
Title: Generation Program: Batch Input for "Create/Change Material"
Text Symbol: 105 = No code generated
Text Symbol: 106 = Messages
Text Symbol: M01 = LMATTFD0 and RMMMBIMZ generated
Text Symbol: M02 = Batch input for material master


INCLUDES used within this REPORT RMMMBIMG

INCLUDE MM03XVAL.
INSERT REPORT INCLUDE_GEN FROM REP.
INCLUDE MM03MENG.


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:

MATERIAL_CODING_ZMMH1 CALL FUNCTION 'MATERIAL_CODING_ZMMH1' EXPORTING repname = include_gen_zmmh1 do_check = 'X' IMPORTING zmmh1_active = zmm EXCEPTIONS OTHERS = 2.

MATERIAL_CODING_ZMMH1 CALL FUNCTION 'MATERIAL_CODING_ZMMH1' EXPORTING repname = 'RMDATITZ' do_check = 'X' IMPORTING zmmh1_active = zmm EXCEPTIONS OTHERS = 3.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING langu = sy-langu tabname = nametab_key-tabname withtext = ' ' TABLES fieldtab = nametab.

MATERIAL_COMPONENTS CALL FUNCTION 'MATERIAL_COMPONENTS' IMPORTING kstatus = kstatus.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_events TABLES t_outtab = gt_output_mess EXCEPTIONS program_error = 1 OTHERS = 2.

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

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_stuct CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_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 RMMMBIMG or its description.