SAP Reports / Programs | Plant Maintenance | Preventive Maintenance | Maintenance Task Lists(PM-PRM-TL) SAP PM

RIARCMPA SAP ABAP Report - PM Maintenance Plan: Generate Archive File (Archiving)







RIARCMPA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RIARCMPA is used for archiving 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 RIARCMPA 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 RIARCMPA. "Basic submit
SUBMIT RIARCMPA AND RETURN. "Return to original report after report execution complete
SUBMIT RIARCMPA 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_COMNT = Archiving Session Note
Selection Text: P_CREATE = Archive Maint.Plan/Delet.Prog.
Selection Text: P_DELFLG = Archive + delete maint. plans
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: PM Maintenance Plan: Generate Archive File (Archiving)
Text Symbol: 001 = Maint. plan
Text Symbol: 002 = Maintenance item
Text Symbol: 100 = Options
Text Symbol: END = End...........................
Text Symbol: P01 = Test run
Text Symbol: P02 = Archive maintenance plans / deletion program test
Text Symbol: P03 = Archive + delete maint. plans
Text Symbol: STA = Start.........................


INCLUDES used within this REPORT RIARCMPA

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_WRITE_ARCHIVE CALL FUNCTION 'PM_MPLAN_WRITE_ARCHIVE' EXPORTING I_TESTRUN = TESTRUN_DELETE I_CREATE = CREATE_ARCH I_ARCHIVE_OBJECT = 'PM_MPLAN' * I_PACKAGE_SIZE = 500 I_COMMENT = P_COMNT IMPORTING NO_SELECTION_GIVEN = NO_SELECTION_GIVEN COUNT_MPLAN = I_COUNT_MPLAN COUNT_MPOS = I_COUNT_MPOS 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.



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