ROIRC_MATERIAL_MOVEMENTS 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 ROIRC_MATERIAL_MOVEMENTS into the relevant SAP transactions such as SE38 or SE80
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.
SSR Service Station material movements
Selection Text: P_DOCDAT = D .
Selection Text: P_DOCS = D .
Selection Text: P_DOCTIM = D .
Selection Text: P_EXEDAT = D .
Selection Text: P_LOCST = Deactiv. location status check
Selection Text: P_MULT = Activ. dyn. date determination
Selection Text: P_PROC = D .
Selection Text: P_PROCST = Deactiv. process status check
Selection Text: P_SCHED = Deactivate schedule check
Selection Text: P_SUMM = Show summary information
Selection Text: S_CCODE = D .
Selection Text: S_PBLNR = D .
Selection Text: S_PBLTYP = D .
Selection Text: S_VKDAT = Transaction dates
Title: SSR Material document creation
Text Symbol: 036 = execution date from the entry screen for all checks
Text Symbol: 040 = Process Control log
Text Symbol: 041 = Process Control log overview
Text Symbol: 050 = Summary display parameters
Text Symbol: 060 = Business location
Text Symbol: 061 = Document number
Text Symbol: 062 = Year
Text Symbol: 063 = locations attempted
Text Symbol: 064 = locations rejected because of date
Text Symbol: 065 = locations rejected because process was already executed
Text Symbol: 066 = locations rejected because location status not valid
Text Symbol: 067 = locations rejected because of missing authorization
Text Symbol: 068 = locations rejected because business type is not maintained
Text Symbol: 069 = locations rejected because processing profile is not maintained
Text Symbol: 070 = locations rejected because profile calendar is not maintained
Text Symbol: 071 = loc. rej. because opening times (cal.) are not maintained.
Text Symbol: H01 = @0S\QInfo for location deselection@
Text Symbol: H02 = @0S\QInfo for date determination@
Text Symbol: 035 = Some locations not processed according to missing authorizations
Text Symbol: 001 = Material Movements
Text Symbol: 002 = Process selection
Text Symbol: 003 = Selection parameters
INCLUDE ROIRC_MATERIAL_MOVEMENTS_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
DD_POPUP_WITH_INFOTEXT call function 'DD_POPUP_WITH_INFOTEXT' exporting titel = 'Location deselection'(020) start_column = 20 start_row = 10 end_column = 72 end_row = 27 infoflag = ' ' importing answer = g_answer tables lines = g_lines_tab.
DD_POPUP_WITH_INFOTEXT call function 'DD_POPUP_WITH_INFOTEXT' exporting titel = 'Date Determination'(022) start_column = 20 start_row = 10 end_column = 72 end_row = 27 infoflag = ' ' importing answer = g_answer tables lines = g_lines_tab.
call function 'OIRA_GET_PROCESS_CUSTOMISING' exporting pi_process = g_process importing pe_current_rnbt = g_rnbt tables pt_process_routines = g_oiraprocdef_tab pt_location_check_results = g_loc_check_results_tab changing pc_pc_obj = pc_pc_obj exceptions main_process_not_found = 1 business_type_not_found = 2 prereq_check_rout_not_found = 3 main_process_not_found_in_pcg = 4 unknown_error = 5 process_not_linked_to_rnbt = 6 others = 7.
OIRA_GET_LOC_LIST call function 'OIRA_GET_LOC_LIST' tables pt_pblnr_range = s_pblnr pt_pbltyp_range = s_pbltyp pt_ccode_range = s_ccode changing pc_pc_obj = pc_pc_obj exceptions process_not_linked_to_rnbt = 1 no_locations_found_for_process = 2 unknown_error = 3 process_not_found_in_any_pcg = 4 others = 5.
OIRA_CHECK_OBJECT_LIST call function 'OIRA_CHECK_OBJECT_LIST' exporting pi_process = g_process pi_execution_date = g_execution_date pi_no_schedule_check = p_sched pi_no_loc_status_check = p_locst pi_no_process_execution_check = p_procst pi_use_loc_dates = p_mult changing pc_pc_obj = pc_pc_obj pc_ce_obj = ce_struc pc_mm01_obj = mm01_struc exceptions process_not_assigned_to_status = 1 business_type_not_found = 2 unknown_error = 3 application_log_not_set_up = 4 others = 5.
APPL_LOG_WRITE_DB call function 'APPL_LOG_WRITE_DB' exporting object = pc_pc_obj-balhdri-object subobject = pc_pc_obj-balhdri-subobject update_task = c_flag_off tables object_with_lognumber = pc_pc_obj-balnri_tab exceptions object_not_found = 1 subobject_not_found = 2 internal_error = 3 others = 4.
OIRA_APPLICATION_LOG_WRITE call function 'OIRA_APPLICATION_LOG_WRITE' changing pc_pc_obj = pc_pc_obj exceptions appl_log_not_set_up = 1 appl_log_header_not_filled = 2 others = 3.
APPL_LOG_WRITE_DB call function 'APPL_LOG_WRITE_DB' exporting object = pc_pc_obj-balhdri-object subobject = pc_pc_obj-balhdri-subobject update_task = c_flag_off tables object_with_lognumber = pc_pc_obj-balnri_tab exceptions object_not_found = 1 subobject_not_found = 2 internal_error = 3 others = 4.
OIRA_CHECK_IF_OPTIMIZE_ACTIV call function 'OIRA_CHECK_IF_OPTIMIZE_ACTIV' importing pe_activ = g_active.
OIRA_GET_OPTIMIZATION_SETTINGS call function 'OIRA_GET_OPTIMIZATION_SETTINGS' exporting pi_process = g_process tables pt_oiraproctech = g_oiraproctech_tab exceptions no_entries_found = 1 entries_not_fully_maintained = 2 others = 3.
OIRC_MM_DOC_PROCESSING call function 'OIRC_MM_DOC_PROCESSING' starting new task g_taskname destination in group g_servergroup performing rfc_info_mm_doc on end of task exporting pi_show_docnr = p_docs pi_ce_parameters = ce_struc-parameters pi_pc_parameters = pc_pc_obj-parameters pi_mm01_parameters = mm01_struc-parameters tables pt_obj_list = g_obj_list_tab2 pt_obj_rej_list = pc_pc_obj-obj_rej_tab pt_loclist = g_loc_list_tab2 pt_oiraprocdef = g_oiraprocdef_tab pt_loc_check_results = g_loc_check_results_tab pt_logdoc_ass = mm01_struc-logdoc_ass pt_logdoc_assc = mm01_struc-logdoc_assc pt_logdocdefh = mm01_struc-logdocdefh pt_logdocdefi = mm01_struc-logdocdefi pt_field_length = mm01_struc-field_length pt_vkdat = mm01_struc-vkdat[] pt_mmprocstat = g_mmprocstat_tab pt_doc_list = g_doc_list_tab pt_ce_table1 = ce_struc-table1 pt_ce_table2 = ce_struc-table2 pt_ce_table3 = ce_struc-table3 pt_ce_table4 = ce_struc-table4 pt_ce_table5 = ce_struc-table5 pt_ce_table6 = ce_struc-table6 pt_ce_table7 = ce_struc-table7 pt_ce_table8 = ce_struc-table8 pt_ce_table9 = ce_struc-table9 pt_ce_table10 = ce_struc-table10 exceptions resource_failure = 1 system_failure = 2 message g_rfc_msg communication_failure = 3 message g_rfc_msg.
OIRC_MM_DOC_PROCESSING call function 'OIRC_MM_DOC_PROCESSING' * starting new task 'MM_DOC_COMPLETE' * destination in group DEFAULT * performing rfc_info_mm_doc on end of task exporting pi_show_docnr = p_docs pi_ce_parameters = ce_struc-parameters pi_pc_parameters = pc_pc_obj-parameters pi_mm01_parameters = mm01_struc-parameters tables pt_obj_list = g_obj_list_tab2 pt_obj_rej_list = pc_pc_obj-obj_rej_tab pt_loclist = g_loc_list_tab2 pt_oiraprocdef = g_oiraprocdef_tab pt_loc_check_results = g_loc_check_results_tab pt_logdoc_ass = mm01_struc-logdoc_ass pt_logdoc_assc = mm01_struc-logdoc_assc pt_logdocdefh = mm01_struc-logdocdefh pt_logdocdefi = mm01_struc-logdocdefi pt_field_length = mm01_struc-field_length pt_vkdat = mm01_struc-vkdat[] pt_mmprocstat = mm01_struc-mmprocstat pt_doc_list = mm01_struc-doc_list pt_ce_table1 = ce_struc-table1 pt_ce_table2 = ce_struc-table2 pt_ce_table3 = ce_struc-table3 pt_ce_table4 = ce_struc-table4 pt_ce_table5 = ce_struc-table5 pt_ce_table6 = ce_struc-table6 pt_ce_table7 = ce_struc-table7 pt_ce_table8 = ce_struc-table8 pt_ce_table9 = ce_struc-table9 pt_ce_table10 = ce_struc-table10 exceptions * resource_failure = 1 system_failure = 2 "message g_rfc_msg communication_failure = 3. "message g_rfc_msg
MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_skip_first_screen = 'X' i_deadend = 'X' i_okcode = 'OK_GO' i_new_rollarea = 'X' i_mblnr = g_doc_list-docnr i_mjahr = g_doc_list-docyear EXCEPTIONS illegal_combination = 1 OTHERS = 2.
APPL_LOG_DISPLAY call function 'APPL_LOG_DISPLAY' exporting object = 'OIR_PROCESS_CONTROL' subobject = l_subobject external_number = '*' object_attribute = 1 subobject_attribute = 0 external_number_attribute = 0 date_from = start_date time_from = start_time date_to = end_date time_to = end_time title_selection_screen = 'Process Control log'(040) title_list_screen = 'Process Control log overview'(041) column_selection = c_baldisp suppress_selection_dialog = 'X' column_selection_msg_jump = '1' external_number_display_length = 13 * importing * number_of_protocols = exceptions no_authority = 1 others = 2.
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 ROIRC_MATERIAL_MOVEMENTS or its description.
ROIRC_MATERIAL_MOVEMENTS - SSR Material document creation ROIRC_MATERIAL_MOVEMENTS - SSR Material document creation ROIRC_LIST_PRDIFTOP_ALV - Include ROIRC_LIST_PRDIFTOP ROIRC_LIST_PRDIFTOP - Include ROIRC_LIST_PRDIFTOP ROIRC_LIST_PRDIFS01_ALV - Include ROIRC_LIST_PRDIFS01 ROIRC_LIST_PRDIFS01 - Include ROIRC_LIST_PRDIFS01