cancel
Showing results for 
Search instead for 
Did you mean: 

Archiving PM orders

former_member222064
Participant
0 Kudos

Hi,

I have read the SAP Help about archiving PM orders but i would like to know what are the different programs (see below) to be executed and in what sequences?

RIARCORA

RIARCORAS

RIARCORD

RIARCORDS

RIARCORS

RIARCORSEL

RIARCORT

RIARCORV

RIARCORVS

RIARCORWRS

Thanks,

P.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Pete,

Below are steps for archiving maintenance orders

1) Maintenance order should be CLSD (Business Completed).

2) Execute program RIARCORV via SE38 transaction and enter Order No.

3) Set deletion flag and deletion indicator to all order through this program.

4) Execute program RIARCORA via SE38 transaction, which will create a file.

5) Execute program RIARCORD, and select the session from above step, after executing which will delete the Order

hope this solves your problem.

former_member222064
Participant
0 Kudos

Hi,

It helped indeed. But do you know the differences among those programs :

RIARCORA and RIARCORAS , RIARCORD and RIARCORDS, RIARCORV and RIARCORVS ?

Thx

P.

paul_meehan
Advisor
Advisor
0 Kudos

Hi,

Preperation program - Set deletion flag / deletion indicator

RIARCORV / RIARCORVS

The WRITE program - Generate the archive file

RIARCORA / RIARCORAS

The DELETION program - Remove the order records from main database tables

RIARCORD / RIARCORDS

In each case the S version is the latest most up-to-date version of the program, it replaces the original program. See note [617008|https://service.sap.com/sap/support/notes/617008]:

o program RIARCORAS which is supposed to replace the write program

RIARCORA;

o program RIARCORDS for the replacement of the delete program

RIARCORD with the respective standard variants of SAP&PROD

(Production mode) and SAP&TEST (Test mode);

o program RIARCORVS which replaces the preparation program

RIARCORV .....

Rather than run the programs individually, execute transaction SARA with object PM_ORDER and follow the Preproc, Write, Delete steps.

-Paul

b_krebbers
Explorer
0 Kudos

Hi Paul,

we are missing the reload program on Object PM_ORDER.

Is it available or do we need to make it ourselfs?

(we need to restore some inadvertently archived orders)

Bas