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

RMMMCDOC SAP ABAP Report - Change documents for material







RMMMCDOC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program provides you with all of the change documents for the material specified...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 RMMMCDOC 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

MM44 - Display Change Documents


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 RMMMCDOC. "Basic submit
SUBMIT RMMMCDOC AND RETURN. "Return to original report after report execution complete
SUBMIT RMMMCDOC 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: UDATE = From change date
Selection Text: MATERIAL = Material
Title: Change documents for material
Text Symbol: 072 = Material description for unit
Text Symbol: 071 = Layout Modules
Text Symbol: 070 = POS control data
Text Symbol: 069 = Material master: default data and special retail data
Text Symbol: 068 = For. trade data
Text Symbol: 067 = Tariff pref. data
Text Symbol: 065 = Forecast params
Text Symbol: 064 = Valuation data
Text Symbol: 063 = Sales data
Text Symbol: 062 = List of all planned changes for the material
Text Symbol: 061 = Planned by
Text Symbol: 060 = Planned for
Text Symbol: 059 = Material data/stor. type
Text Symbol: 058 = Material data/warehouse no.
Text Symbol: 057 = Stor.loc.data
Text Symbol: 056 = Plant data
Text Symbol: 055 = Material master: gen. data
Text Symbol: 054 = Internal Comment in Language
Text Symbol: 053 = Basic Data Text Language
Text Symbol: 052 = Country/tax category comb.
Text Symbol: 051 = Unit of meas./EAN combination
Text Symbol: 073 = Vendor-specific EANs
Text Symbol: 074 = Vendor/EAN combination
Text Symbol: 075 = Vendor
Text Symbol: 076 = Selected
Text Symbol: 077 = Selected Line
Text Symbol: 078 = Promo
Text Symbol: 079 = Organizational Unit
Text Symbol: 080 = Org. Unit
Text Symbol: 081 = Field Descript.
Text Symbol: 082 = Additional Info
Text Symbol: 101 = Transaction:
Text Symbol: 102 = Change number:
Text Symbol: 103 = Date:
Text Symbol: 104 = No entries found for





Text Symbol: 105 = object from the date specified
Text Symbol: 111 = Lang.
Text Symbol: 121 = Internal comment
Text Symbol: 122 = BasicData text
Text Symbol: 123 = InspText
Text Symbol: 124 = Purchase order text
Text Symbol: 125 = Sales text
Text Symbol: 050 = ProductionVersion
Text Symbol: 022 = DistrChannel
Text Symbol: 021 = Sales org.
Text Symbol: 020 = ValuationType
Text Symbol: 019 = Valuation area
Text Symbol: 018 = Plnt
Text Symbol: 017 = New Value
Text Symbol: 016 = Old Value
Text Symbol: 015 = Entry
Text Symbol: 014 = Long text entry
Text Symbol: 013 = Deletion
Text Symbol: 012 = Long text delete
Text Symbol: 011 = Change
Text Symbol: 010 = Long text change
Text Symbol: 009 = Chgd by
Text Symbol: 008 = Material
Text Symbol: 007 = Changed by
Text Symbol: 006 = Time
Text Symbol: 005 = Date
Text Symbol: 004 = No items found
Text Symbol: 003 = List of all change docs for the material
Text Symbol: 002 = Error in read access (internal error).
Text Symbol: 001 = No change documents exist.
Text Symbol: 023 = Whse number
Text Symbol: 049 = Cust. Area
Text Symbol: 048 = Material memo
Text Symbol: 047 = InspTyp
Text Symbol: 046 = Field
Text Symbol: 045 = Stor.Loc
Text Symbol: 044 = Sales Text in Language
Text Symbol: 043 = PO Text in Language
Text Symbol: 042 = Insp. Text Language





Text Symbol: 041 = Lang.
Text Symbol: 040 = TxtType
Text Symbol: 035 = TCode
Text Symbol: 034 = Planned for
Text Symbol: 033 = Change number
Text Symbol: 032 = Company code
Text Symbol: 031 = Corr. unplanned cons. in per.
Text Symbol: 030 = Corr. total cons. in period
Text Symbol: 029 = InPlant
Text Symbol: 028 = Period
Text Symbol: 027 = Forecast result for period
Text Symbol: 026 = Alt. unit of measure
Text Symbol: 025 = Material descr. in language
Text Symbol: 024 = StorType


INCLUDES used within this REPORT RMMMCDOC

INCLUDE MM03VERD.


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:

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = material IMPORTING wmara = mara EXCEPTIONS OTHERS = 1.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'MTXID' text = 'T' langu = sy-langu TABLES dd07v_tab = pos_txt * EXCEPTIONS * WRONG_TEXTFLAG = 1 * OTHERS = 2 .

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING * ARCHIVE_HANDLE = 0 date_of_change = udate objectclass = objclas objectid = objectid * TIME_OF_CHANGE = '000000' username = space TABLES i_cdhdr = icdhdr EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 OTHERS = 3.

TCURM_SINGLE_READ CALL FUNCTION 'TCURM_SINGLE_READ' IMPORTING wtcurm = tcurm EXCEPTIONS OTHERS = 4.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING * ARCHIVE_HANDLE = 0 changenumber = iv_changenr * TABLEKEY = ' ' * TABLENAME = ' ' IMPORTING header = cdhdr TABLES editpos = ausg EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 OTHERS = 3.

T005T_SINGLE_READ CALL FUNCTION 'T005T_SINGLE_READ' EXPORTING * KZRFB = ' ' t005t_spras = t005t-spras t005t_land1 = t005t-land1 IMPORTING wt005t = t005t EXCEPTIONS not_found = 1 OTHERS = 2.

T685T_SINGLE_READ CALL FUNCTION 'T685T_SINGLE_READ' EXPORTING * KZRFB = ' ' t685t_spras = t685t-spras t685t_kvewe = t685t-kvewe t685t_kappl = t685t-kappl t685t_kschl = t685t-kschl IMPORTING wt685t = t685t EXCEPTIONS not_found = 1 OTHERS = 2.

CONVERSION_EXIT_ISOLA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING INPUT = ls_alv_display_position-additional_info IMPORTING OUTPUT = ls_alv_display_position-additional_info .

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING INPUT = h_unit LANGUAGE = SY-LANGU IMPORTING OUTPUT = h_unit EXCEPTIONS UNIT_NOT_FOUND = 1 OTHERS = 2 .

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING INPUT = h_unit LANGUAGE = SY-LANGU IMPORTING OUTPUT = h_unit EXCEPTIONS UNIT_NOT_FOUND = 1 OTHERS = 2 .

TSKMT_SINGLE_READ CALL FUNCTION 'TSKMT_SINGLE_READ' EXPORTING * KZRFB = ' ' tskmt_spras = tskmt-spras tskmt_tatyp = tskmt-tatyp tskmt_taxkm = tskmt-taxkm IMPORTING wtskmt = tskmt EXCEPTIONS not_found = 1 OTHERS = 2.




TSKMT_SINGLE_READ CALL FUNCTION 'TSKMT_SINGLE_READ' EXPORTING * KZRFB = ' ' tskmt_spras = tskmt-spras tskmt_tatyp = tskmt-tatyp tskmt_taxkm = tskmt-taxkm IMPORTING wtskmt = tskmt EXCEPTIONS not_found = 1 OTHERS = 2.

CONVERSION_EXIT_ISOLA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING INPUT = ls_alv_display_position-additional_info IMPORTING OUTPUT = ls_alv_display_position-additional_info .

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING INPUT = h_unit LANGUAGE = SY-LANGU IMPORTING OUTPUT = h_unit EXCEPTIONS UNIT_NOT_FOUND = 1 OTHERS = 2 .

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING INPUT = h_unit LANGUAGE = SY-LANGU IMPORTING OUTPUT = h_unit EXCEPTIONS UNIT_NOT_FOUND = 1 OTHERS = 2 .

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING INPUT = h_unit LANGUAGE = SY-LANGU IMPORTING OUTPUT = h_unit EXCEPTIONS UNIT_NOT_FOUND = 1 OTHERS = 2 .

PROGNOSEPERIODEN_ERMITTELN CALL FUNCTION 'PROGNOSEPERIODEN_ERMITTELN' EXPORTING eanzpr = 1 edatum = d1 eperiv = periv TABLES pperx = int_pper.

DATUMSAUFBEREITUNG CALL FUNCTION 'DATUMSAUFBEREITUNG' EXPORTING flagm = flagm flagw = flagw idate = d1 IMPORTING mdat6 = mdat6 tdat8 = tdat8 wdat6 = wdat6 EXCEPTIONS datfm_ungueltig = 01 datum_ungueltig = 02.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 4 IMPORTING et_events = ct_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 4 IMPORTING et_events = ct_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid i_callback_pf_status_set = 'SET_PF_STATUS' is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_events TABLES t_outtab = gt_alv_display_header EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid i_callback_pf_status_set = 'SET_PF_STATUS' is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_events TABLES t_outtab = it_alv_display_position 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 RMMMCDOC or its description.