cancel
Showing results for 
Search instead for 
Did you mean: 

archiving sales documents

Former Member
0 Kudos

Hello

This question is on archiving sales documents.

How can I archive sales documents?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi David,

In Sales we do have Sales order, Delivery, Shipment and Billing document archiving. We use different archiving object to archive these document.

For Sales Order we use Archiving object SD_VBAK, RV_LIKP for Deliver document, Shipment SD_VTTK and Billing document SD_VBRK.

I assume your concern is Sales order archiving:

SD_VBAK is dependent Archiving object. It is dependent on SD_VTTK, RV_LIKP & SD_VBRK. Meaning which before archiving sales order SAP recommends to archive all the dependent archiving object and then archive SD_VBAK.

Archiving of any document is of 3 phases .i.e.

1. Write Archive file

2. Delete Archived data and

3. Store Archive file (Optional)

Before start of above phase, you have to check all the basic customizing is in place.

If ever customizing is done then

1. Goto SARA > Enter SD_VBAK > Click on WRITE > Create Variant > mention which sales order you want to archive.

2. In SARA transaction click on Delete > select the Archive session number > schedule it

3. In SARA transaction click on STORE > Select the Archive session number > Schedule it.

Note: Only the sales order status with completed will be archived and deleted.

Reward if it benefits.

-Thanks,

Ajay

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello David,

Well, Archiving spans across Master data and transaction data.

And before you choose to archive anything, you need to analyse and be careful with the sequence and the inter linked objects that need to be archived. In SAP, the master data or the transaction data are stored as objects. For ex, a sales order is stored as an object.

Go to txn AOBJ & search for SD*, you'll get a list of all objects related to SD that can be archived. For Customer Master, it is FI_ACCRECV.

There are lot of steps/customization, you should consider before archiving.

Archiving happens in 2 steps:

1) The data to be archived is written into a file.

2) Based on the data in the file, the data is deleted from the DB tables.

There are other optional steps, which am not discussing here...

Once you find the relevant object you want to archive, and have done all the analysis and customization.

You might also look at SARI, SARJ,SARA transactions to explore further..

Also, check this link:

http://help.sap.com/saphelpnw04s/helpdata/en/2a/fa0391493111d182b70000e829fbfe/frameset.htm_

Plz assign suitable points, if this helps.

Rgds,

Raghu.

Former Member
0 Kudos

In the SAP standard menu, select Tools -> Administration -> Client Administration -> Data Archiving (transaction SARA).

Enter the object name "SD_VBAK" and choose "Enter".

Transaction SARA is the central transaction for archiving.

From here, you can reach all required functions for example, Customizing, tables and archiving objects, archiving and Archive Information System.