SAP Reports / Programs

RIARCMPV SAP ABAP Report - Maintenance Plans: Deletion Flag -> Set Deletion Indicator







RIARCMPV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report RIARCMPV is the preprocessing program for archiving maintenance plans and it sets the deletion indicator for the selected maintenance plans...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 RIARCMPV into the relevant SAP transactions such as SE38 or SE80


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 RIARCMPV. "Basic submit
SUBMIT RIARCMPV AND RETURN. "Return to original report after report execution complete
SUBMIT RIARCMPV 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: P_FHMEQ = Check usage in PRT equipment
Selection Text: P_TEST = Test run
Selection Text: S_EQUNR = D Equipment
Selection Text: S_KDAUF = D Sales document
Selection Text: S_KDPOS = D Item
Selection Text: S_MPTYP = D Maintenance plan category
Selection Text: S_STRAT = D Maintenance strategy
Selection Text: S_TPLNR = D Functional location
Selection Text: S_WARPL = D Maintenance plan
Title: Maintenance Plans: Deletion Flag -> Set Deletion Indicator
Text Symbol: 001 = Maint. plan
Text Symbol: 002 = Maintenance item
Text Symbol: 100 = Options


INCLUDES used within this REPORT RIARCMPV

No INCLUDES are used within this REPORT code!


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:

PM_MPLAN_SET_DELETE_FLAG CALL FUNCTION 'PM_MPLAN_SET_DELETE_FLAG' EXPORTING * i_package_size = p_packs i_test = p_test i_check_plan_in_equi = p_fhmeq IMPORTING no_selection_given = no_selection_given count_mplan = i_count_mplan count_warpl_in_equi = i_count_warpl_in_equi count_call_non_confirmed = i_count_call_non_confirmed count_no_enqueue = i_count_no_enqueue count_no_authority = i_count_no_authority count_status_changed = i_count_status_changed TABLES i_warpl = s_warpl i_mptyp = s_mptyp i_strat = s_strat i_equnr = s_equnr i_tplnr = s_tplnr i_kdauf = s_kdauf i_kdpos = s_kdpos.

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' TABLES xmsg = iprot EXCEPTIONS OTHERS = 0.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.



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