cancel
Showing results for 
Search instead for 
Did you mean: 

Archiving SD docs

Former Member
0 Kudos

Hello,

We are about to start the Archiving process for SD. I have gone thru some of the help/sdn discussion links and come with this understanding that we initally need to archive the dependent doc and later main docs. e.g. start with Deliveries then Billing docs and in the last sales docs.

But in this process, do we need to archive the Material documents also ??

If so, where we have to fit this??

Please suggest...

Regards,

JPS

Accepted Solutions (0)

Answers (5)

Answers (5)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

Perhaps Note 481577 - Archivability criteria of sales documents will help you. The note tell you:

5. If the "Check Purchase Order" indicator is set, the system checks whether one of the subsequent documents is a purchase order. If a data record exists for a purchase order in the EKKO table ("Purchasing Document Header"), you cannot archive the document. If no EKKO record exists, the program checks for document items with "Relevant for billing" (VBAP-FKREL) = Order-related billing doc. - status according to invoice qty ("F"). For these items, the system determines the purchase requisitions using the VBEP table ("Sales Document: Schedule Line Data") If a data record exists for an item in the EBAN table (Purchase Requisition), the document cannot be archived.

In my opinion, check the note and related notes.

I hope this helps you,

Regards,

Eduardo

Former Member
0 Kudos

Hi,

To archive SD objects the dependent objects should be archived first.

For example... for the archiving object SD_VBAK, this is the heirarachy to be followed while archiving.

PP_BKFLUSH --> MM_MATBEL --> SD_VFKK --> SD_VTTK > RV_LIKP>SD_VBRK---->SD_VBAK

MM_EKKO----


>SD_VBAK

MM_EBAN----


>SD_VBAK

How to find the dependencies?

Goto transaction <SARA> give your archiving object name , press ENTER and click on the button "NETWORK GRAPHIC" (or the short cut is Ctrl + F1).

Regards

Asish

Former Member
0 Kudos

Hi,

Asish is correct to certain percentage. however there is something else to add to his reply to give you a complete answer. it goes like below.

You should identify the depencies of the archiving object in question before you proceed with data archiving. For example, if u need to archive Sales document (Object SD_VBAK), find the other archive objects which need to be archived first.

This can be found using transaction AOBJ. In this transaction, select the arch object say SD_VBAK and click on " Maintain Network Graphic".....You would then find all the objects which need to be archived as a prerequisite.

Also this is trasaction which would of much use during the Data Archival Process. Hope the above is of some use to you and clarifies your querry.

Regards

Lakshmi

Former Member
0 Kudos

Initial idea is to Archive only SD docs, If we archive Material documnets also, would it archive material docs belongs to MM. Would it impact material management records also??

Regards,

JPS

Former Member
0 Kudos

With archiving object MM_MATBEL it will archive only material documents not other MM application documents, such as Purchase order, Purchase requisition. There are different archiving object to archive Purchase order, purchase requisition and so on.

What do you mean be Material management records? Archiving material document will not affect any other MM related documents.

-Thanks,

Ajay

Former Member
0 Kudos

Hi,

Yes, you have to start with archiving MM_MATBEL (Material document), then with SD archiving objects to keep the technical flow intact.

However you can also archive only SD archiving object with out cosidering material documents. Consequence: Might experience less pecentage of archivability of SD documents.

-Thanks,

Ajay

Former Member
0 Kudos

Hi Bhatti,

You need to Go to the Transaction "SARA"(Archiving administration) and select your object from the drop down list(Match code) like "SD_VBAK" for Sales Documents and "SD_VBRK" for Billing Documents,"RV_LIKP" For Deliveries. If you want to archive Material Documents(MM_MATBEL), You could do that aswell. After selecting the needed object, Click on preprocessing and Delete and then you have to Archive it.

Regards

Ram Pedarla