RI_MPLAN_START_CYCLE 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 RI_MPLAN_START_CYCLE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
IP11U - Rescheduling of Maintenance Plans
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.
Rescheduling of Maintenance Plans After Changing the Maintenance Cycle
Selection Text: WARPL = D .
Selection Text: WSTRA = D .
Title: Program RI_MPLAN_START_CYCLE
Text Symbol: F01 = Maint. Plan Selection
Text Symbol: F02 = Admin. Data
Text Symbol: FG1 = Maint. Plans
INCLUDE RIMPLANTOP.
INCLUDE MIOLXTOP.
INCLUDE MIOLXF14.
INCLUDE MIOLXF16.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Selektion Wartungsabrufe'(201).
CR_WORKCENTER_PRE_READ CALL FUNCTION 'CR_WORKCENTER_PRE_READ' TABLES tarbid = l_tarbid.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = object_tab-ppsid msgty = 'S' IMPORTING arbpl = object_tab-arbpl EXCEPTIONS not_found = 01.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = object_tab-gwkid msgty = 'S' IMPORTING arbpl = object_tab-gewrk EXCEPTIONS not_found = 01.
WPOS_AUTHORITY_CHECK CALL FUNCTION 'WPOS_AUTHORITY_CHECK' EXPORTING i_wa_mpos = h_mpos i_tcode = f_tcode EXCEPTIONS OTHERS = 01.
MPLAN_UPDATE_SCHEDULING CALL FUNCTION 'MPLAN_UPDATE_SCHEDULING' EXPORTING warpl = ls_object_tab-warpl no_commit = 'X' IMPORTING return = lt_return.
IWP1_FILL_WA_FROM_BUFFER CALL FUNCTION 'IWP1_FILL_WA_FROM_BUFFER' EXPORTING i_warpl = ls_object_tab-warpl i_read_used_packages = 'X' i_read_strategy = 'X' IMPORTING e_t351 = ls_t351_new TABLES tab_t351p = lt_t351p_new EXCEPTIONS number_initial = 1 locked_or_not_in_database = 2 OTHERS = 3.
IWP1_FILL_BUFFER_FROM_WA CALL FUNCTION 'IWP1_FILL_BUFFER_FROM_WA' EXPORTING i_warpl = ls_object_tab-warpl i_aktyp = 'V' i_mpla = ls_mpla TABLES tab_t351p = lt_t351p_old.
MPLAN_UPDATE_SCHEDULING CALL FUNCTION 'MPLAN_UPDATE_SCHEDULING' EXPORTING warpl = ls_object_tab-warpl no_commit = 'X' IMPORTING return = lt_return.
IWP1_FILL_BUFFER_FROM_WA CALL FUNCTION 'IWP1_FILL_BUFFER_FROM_WA' EXPORTING i_warpl = ls_object_tab-warpl i_aktyp = 'V' i_mpla = ls_mpla TABLES tab_t351p = lt_t351p_new.
MPLAN_RELEASE_CALL CALL FUNCTION 'MPLAN_RELEASE_CALL' EXPORTING warpl = ls_object_tab-warpl abnum = lv_abnum no_commit = 'X' IMPORTING return = lt_return.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING * input = ls_mhis-offze "1744046 input = ls_t351p-zykzt "1744046 unit_out = ls_t351p-zeieh IMPORTING output = lv_zykloffset EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.
MPLAN_START_CYCLE CALL FUNCTION 'MPLAN_START_CYCLE' EXPORTING warpl = ls_object_tab-warpl * lrmdt = ls_mhis-nplda "1744046 lrmdt = lv_start_cycle "1744046 zykloffset = lv_zykloffset zyklunit = ls_t351p-zeieh no_commit = 'X' IMPORTING return = lt_return.
MPLAN_UPDATE_SCHEDULING CALL FUNCTION 'MPLAN_UPDATE_SCHEDULING' EXPORTING warpl = ls_object_tab-warpl no_commit = 'X' IMPORTING return = lt_return.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING * input = ls_mhis-offze "1744046 input = ls_t351p-zykzt "1744046 unit_out = ls_t351p-zeieh IMPORTING output = lv_zykloffset EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.
MPLAN_START_CYCLE CALL FUNCTION 'MPLAN_START_CYCLE' EXPORTING warpl = ls_object_tab-warpl * lrmdt = ls_mhis-nplda "1744046 lrmdt = lv_start_cycle "1744046 zykloffset = lv_zykloffset zyklunit = ls_t351p-zeieh no_commit = 'X' IMPORTING return = lt_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RI_MPLAN_START_CYCLE - Program RI_MPLAN_START_CYCLE RI_MPLAN_START_CYCLE - Program RI_MPLAN_START_CYCLE RI_IFLOT2IFLOS - Performance Optimization When Accessing Functional Locations RI_IFLOT2IFLOS - Performance Optimization When Accessing Functional Locations RI_IFLOS_REUSE_TOP - Include RI_IFLOS_REUSE_TOP RI_IFLOS_REUSE_O200 - Include REUSEO200