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
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.
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.........................
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RIARCMPA - PM Maintenance Plan: Generate Archive File (Archiving) RIARCMPA - PM Maintenance Plan: Generate Archive File (Archiving) RIARCIBF00 - documentation and ABAP source code RIARCH01 - Program for object type BUS2007_01 : Maintenance Order RIARCH01 - Program for object type BUS2007_01 : Maintenance Order RIARCH00 - Program for Object Type PM_ORDER: Maintenance Orders