SAP Reports / Programs

RI_MPLAN_START_CYCLE SAP ABAP Report - Program RI_MPLAN_START_CYCLE







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

IP11U - Rescheduling of Maintenance Plans


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 RI_MPLAN_START_CYCLE. "Basic submit
SUBMIT RI_MPLAN_START_CYCLE AND RETURN. "Return to original report after report execution complete
SUBMIT RI_MPLAN_START_CYCLE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RI_MPLAN_START_CYCLE

INCLUDE RIMPLANTOP.
INCLUDE MIOLXTOP.
INCLUDE MIOLXF14.
INCLUDE MIOLXF16.


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:

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.



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 RI_MPLAN_START_CYCLE or its description.