Archiving PM orders
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.
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
Similar Messages
-
In a archived saler Order user had deleted Line Item and completed overall sales order. Now this sales order is archived, but it is stll appearing in BW report as open order because of deleted item with rejection Status is maintained as “A” (Not yet Processed).
We want to change this status from "A" (Not yet Processed) to "C" as completed.
I have tried to reload Archive data but due to some limitation I was not able to do it. Also I feel this will like this s not the proper way to do it.
Could you please help me to correct way to do it???
Thanks in advance....Hi Vaibhav,
If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup or navigation attribute.
Just my views I am sharing .
Thanks,
KDJ -
Archiving Purchase Orders.
Hi Friends,
I am trying to Archive Purchase order using archiving object mm_ekko.
I get the following errors.
1. Could not delete some subitems
2. Delivery costs have not been balanced
3. GR qty is smaller than ordered qty minus underdelivery tolerance
4. GR qty not the same as delivered quantity
5. GR qty not the same as GI qty
6. Invoiced quantity is smaller than ordered quantity
7. Item is blocked
8. Posting date of delivery costs within retention period
I just want to ingnore / correct them and move ahead.
Any solutions ??
Thanks in Advance
KanicaHi Kanica,
If you think to implement same solution in production system then problems are,
1. Payment - Payment posting to vendor will happen and updated to FI accounting documents aganist to that vendor
2. You may land up with audit related issues.
If this seems to be ok with your client then you can proceed with that.
Otherwise you can think of the option of setting deletion flag for the line item and archive it. Once you do this nothing will be changed apart from deletion flag settings for this line item.
Hope this will help for your issue.
-Thanks,
Ajay -
Archive sales order BOM for archived sales order.
hi,
i have a very strange situation.
i have few sales order BOMS to archive, we have VC (variant config) in place.
now while trying to archive the BOMS i get the error message that "the sales order doesn't exists in the database or archived".
i checked in the SD tables, and it seems that sales orders are archived. now how to archive those order BOMS????
kindly give your inputs.
Best regards,
MaulinHi Mr. Maulinmunshi,
As per my understanding, you can't archive the BOMs with making the sales order visible in system.
Try to check the order in T-code SARI.
Talk to your basis team and get back those sales order in the system
Hope this helps.
Regards,
MT -
Display archived purchase orders in Lists (e.g. ME2L)
Hi everybody,
Last week we upgraded our system to SP13 (ECC 6.0). Since then we have problems with our archived purchase orders.
Usually all purchase orders (independent from where they are saved (archive or database)) are displayed in standard reports like the ME2L. Since the upgrade we cannot access the archived POs when we start the ME2L.
When I use SARA (e.g.: RM06ER30) to read the archive it works. When I start the ME24N and pic a archived purchase order it works fine too.
I have two questions now:
1.) I'm not 100% sure if the old behavior was standard or if some modification has been carried out in our system some time ago. Can anybody tell me if archived POs are displayed in MM-lists like the ME2L in SAP-standard?
2.) Does anybody has a solution how I can fix that?
Thanks upfront and kind regards
AlexHi,
I was over looked! Please check below tables
Please check the arciving procedure from SAP help
SAP Library - Materials Management (MM)
VARCHIVEKEY find in table ADMI_FILES ( *MM_EKKO)
Below FM's
MM_EKKO_AS_SHOW
MM_EKKO_02_DISPLAY_DATA -
Dear Gurus,
In OPJH transaction, I have removed residence time 1 & 2 and kept blank.
By running program PPARCHP1 in SE38 tcode, I am able to set deletion flag as well as deletion indicator in one execution. Now the Production order is having status DLFL and DLT.
What is the next step to archive the production order?
Please explain step by step procedure.
Thanks and Regards,
JejeshBy running the program PPARCHA1 I am able to archive production order successfully.
Thanks for all contributions.
Regards,
Jejesh
Edited by: jejesh yal on Feb 24, 2009 6:41 AM -
Hi ,
can you please let me know transaction or function module to archive PM orders... also is there any BTE or BADI available to add our logic..
Regards
AnujHi Anuj,
These are the programs related to PM_ORDER
RIARCORA Maintenance Order: Generate Archive File (Archiving)
RIARCORD PM Order: Delete Archived Records
RIARCORS Maintenance Order: Display Archive File Contents
RIARCORT PM Order Archiving: General Data Definitions
RIARCORV PM Order: Set Deletion Flag / Deletion Indicator
You can check the program names from ARCH_OBJ and ARCH_RPRG tables.
Hope this helps
Thanks
Lakshman -
Hi Gurus
Could some1 please take me through the steps for archiving Internals orders?. Tx OKO5 is out of it as I need to delete from the live system
Thanks a lothi
First you have to put deletion flag for the same then execute the T code KOAR .then you can achieve the order.
Kindly refer for [Prerequistie|http://help.sap.com/saphelp_47x200/helpdata/en/a9/ab7511414111d182b10000e829fbfe/content.htm]
Also [Archiving CO order|http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e5774462a11d189000000e8323d3a/frameset.htm]
regards
thyagarajan -
Hi,
Is it possible to archive only sales orders, or does archiving sales orders mean we have to seperately go and archive all related deliveries, billing, etc.
Any idea??
Thanks
KeshiHI Kesineni,
Sales order Archiving:
In "SARA" transaction you can select the number of the sales orders that you want to archive.
The archive procedure has two steps:
First - you run the preparation to the archive (here the documents steel in database, is just a test to know if the documents are ready to be archive, that means, they are completed)
Second - You run the archive process. Here, if you have a variant to eliminate the documents automatically, the documents disappear for the data base.
SD archiving objects are:
SD_VBAK sales orders
RV_LIKP deliveries
SD_VBRK billing documents
Reward points pls.
Regards,
Govind. -
Archiving purchase orders of a specific order-type
hello,
does anyone have a simple-doc or plan for archiving purchase orders. archiving for dummy's as I have never done this?
points to be taken into consideration:
- order of a specific type (ZRL0)
- order must be older then 10 days
thanks,Hi,
In order to archive PO's , there are a number of considerations that must be taken into account.
The archiving program SARA -> MM_EKKO , Write , does a large number of checks before archiving can be done.
The first step is to go to SARA -> MM_EKKO , customizing. In here , you can specifiy what kind of documents you want to archive and specify the retention period (document life) for each type of document.
For example :
Go to C MM-PUR : Reorganization PO
You will find several type of PO Doc types
DB Dummy purchase order Standard
NB Standard PO Standard
NB Standard PO K Consignment
NB Standard PO L Subcontracting
NB Standard PO S Third-party
NB Standard PO D Service
UB Stock transport ord. U Stock transfer
Suppose you want to archive Standard PO's , go into the customizing option and then set the residence time 1 and residence time 2.
Res time 1 is the number of days which must elapse after which a deletion indicator can be set for the document. The elapsed days are calculated from the last change date of the document record in EKKO table.
Res time 2 is the number of days which must elapse after which a document with a deletion indicator can be actually deleted out of the EKKO table.
Once the customizing is finished , then you should run the SARA Preprocessing job (which sets the deletion indicators for the selected set of documents) , then the write job (which will write the DLT status documents to an archive file) and then the delete step (which will remove documents from the EKKO and other related Purchasing tables. TO get a trailer of what gets archived and deleted , run the archive write job in "Test" Mode , rather than "Production" mode.
Hope this helps.
-Chandra -
Hi experts,
I'm working on the SRM archive process. I'm in extended classic scenario so my purchase order is created on SRM and duplicated on ECC. I only want to archive purchase order on SRM and not on ECC.
When the user is looking for the purchase order on ECC how does he know that the order is archived on SRM ?
Thank you for your help.
Regards,
Mikaël.Hi Peter,
Thank you for your answer.
I will used a cutomer field on the ECC purchase order and create a specific program to update this customer field from SRM data and tables ZARIX...
Thanks,
Mikaël. -
Reload archived Purchasing orders or reference archived PO's in MIRO
Hi Colleagues
Is there a way to
Reference an archived Purchase order in a MIRO posting?
or alternatively reload archived purchase orders? I hjave reviewed SAP note 456129 and this states that RM06ER30 can be amended by SAP as remote consulting
Any thoughts?
Thanks
SteveI would not do this, as it can cause inconsitencies.
And I would only consider it:
when I archived much more than it should be because of wrong selection
AND if this has happened right now and no new POs where created.
I would not even think about such option just because of an unexpected late invoice.
You can post this invoice thru FI transaction FB60 -
hi,
i have a very strange situation.
i have few sales order BOMS to archive, we have VC (variant config) in place.
now while trying to archive the BOMS i get the error message that "the sales order doesn't exists in the database or achived".
i checked in the SD tables, and it seems that sales orders are archived. now how to archive those order BOMS????
kindly give your inputs.
Best regards,
Maulin
Edited by: maulinmunshi on Feb 9, 2010 9:07 AMhere is the message number and other detail.
SD document *** is not in the database or has been archived
*Message no. V1302*
Diagnosis
You get this message in the following situations:
The SD document you have specified does not exist.
The document might have been archived.
The system did not find a document header (VBAK) for an individual sales requirement record (VBAK).
An inconsistency has occurred in the ERP system. -
How to archives sales orders after a certain frame-say 1 week
Basically We want the facility where the system automatically archives sls orders after a certain timeframe - ie one week.
Sls order is raised for the customer, if during 7 days it is not processed through the SD cycle the system automatically archives based on the set date range of 7 days.
It wil help us manage outstanding sls orders. Can SAP do this?
Regards
TSHi Taufique,
The standard SAP solution allows archiving of documents which have attained a certain status. The status here means that the document should be completed in all respect, that is, no further processing is pending for the document. For this to work you have to define an archiving object for VBAK and VBAP table in BASIS.
Just another suggestion to your issue, if the Memory capacity for transactional data at your firm is not a issue, then you can run a batch job every weekend, which basically puts a "Reason for Rejection" in all the Sales orders selected. This will be much easier and also resolve you problem..
Regards,
Shashi -
Retrieve the Archived Purchase order
Hello All,
Please help me with transaction to retrieve the archived Purchase order.
Regards
Kalyani.In transaction AOBJ, object MM_EKKO has no entry for a retrieval program.
In help.sap.com the document for MM_EKKO states:
There is no provision for the retrieval of previously archived data.
details: http://help.sap.com/saphelp_erp2005/helpdata/en/8d/3e5be0462a11d189000000e8323d3a/frameset.htm
Maybe you are looking for
-
Assigning a timestamp to an Import Parameter in eCATT
I am trying to assign a value to an Import parameter that will be unique every time the eCATT script runs. I have inserted a piece of Inline ABAP code that looks like this: ABAP. DATA: BEGIN of wa, time_stamp TYPE P, END OF wa. GET TI
-
Has any one ever met this kind of ABAP-mapping problem ??
Dear all, our scenario is: (remote)MQ(ssl connection)->(local)MQ-(jms)>XI---(proxy)>ECC I met a very strange question during mapping which we use abap mapping inside xi. the message come out from the abap mapping step.after the abap-mapping, th
-
PI7.11 Can I use Java proxy on Advanced Adapter Engine ??
To:PI Specialists Now I m planning to use Java Proxy on PI7.11. and I want to know Java Proxy can act on AAE as local processing. I wonder that Java Proxy do not connect to adapter engine but to integration engine. If it connect to integration engi
-
Help, Need XY Scatter Plots.vi
After getting a VI working, I realized I corrupted my XY Scatter Plots.vi which is in the examples under Building User Interfaces, Displaying Data, Graphs and Charts. All my subVI's are fine, I just need the main XY Scatter Plots.vi is somebody would
-
Why do my songs freeze when i switch songs?
I just updated my iPod to the new iOS 5.0.1 and when i switch songs it would freeze then the screen would turn black then load and lastly just freeze again and take me back to my lockscreen. So now i cant switch songs because then my iPod would freez