SAP Reports / Programs

RM07ICDD SAP ABAP Report - Display Changes to Phys. Inv. Docs







RM07ICDD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report Changes to Physical Inventory Documents allows you to display a list of all change documents for physical inventory documents...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 RM07ICDD 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

MI12 - Display changes


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 RM07ICDD. "Basic submit
SUBMIT RM07ICDD AND RETURN. "Return to original report after report execution complete
SUBMIT RM07ICDD 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: NUMMER = Change Document Number
Selection Text: IBLNR = D Physical Inventory Document
Selection Text: GJAHR = D Fiscal Year
Selection Text: DATUM = From Change Date
Selection Text: AENDERER = Changed by
Title: Display Changes to Phys. Inv. Docs
Text Symbol: 112 = Chge Lev.
Text Symbol: 111 = Changes
Text Symbol: 110 = Level of Change
Text Symbol: 103 = No phys. inv. doc. found
Text Symbol: 102 = Error reading
Text Symbol: 101 = No changes exist
Text Symbol: 091 = One Column
Text Symbol: 090 = One Column
Text Symbol: 080 = PI Doc. Header
Text Symbol: 070 = Unable to display change
Text Symbol: 060 = Field no longer defined in table
Text Symbol: 050 = New entry
Text Symbol: 040 = Deleted
Text Symbol: 030 = Line Number
Text Symbol: 020 = Inv. doc. |FYear|Change no.|Date |Time |Changed by |Tcode
Text Symbol: 010 = Selection Parameter
Text Symbol: 002 = New:
Text Symbol: 001 = Old:


INCLUDES used within this REPORT RM07ICDD

INCLUDE: MM07MABC,
RM07MAUT.


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:

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = objekt objectid = objectid_char username = aenderer date_of_change = datum TABLES i_cdhdr = icdhdr_teil EXCEPTIONS no_position_found = 1 OTHERS = 2.

CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING changenumber = icdhdr_gesamt-changenr objectclass = objekt TABLES editpos = ausg EXCEPTIONS no_position_found = 1 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = gt_fieldcat TABLES t_outtab = gt_output EXCEPTIONS program_error = 1 OTHERS = 2.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_internal_tabname = iv_tab i_structure_name = iv_structure CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 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 it_events = gt_eventtab TABLES t_outtab = gt_secondary EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_summary i_tabname_header = gc_tab_header i_tabname_item = gc_tab_item is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_summary_header t_outtab_item = gt_summary_item EXCEPTIONS program_error = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_log_handle i_s_msg = ls_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 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 RM07ICDD or its description.