Archiving Handling Units (LO-HU) Object LE_HU for cross-application archiving of handling units.
Using the archiving object LE_HU, you can archive handling units that are no longer active in the system. Here, non-assigned handling units as well as handling units assigned to a document are taken into consideration.

Up to now, archiving of handling units was processed using the following archiving objects:
Transportation (archiving object SD_VTTK)
Delivery (archiving object RV_LIKP)
The new archiving object LE_HU replaces this type of archiving. In future, handling units can only be archived using this object.
When you use the archiving object LE_HU, the system archives data from the following tables:
Table |
Table Name |
|---|---|
VEKP |
Handling unit header table |
VEPO |
Packing: handling unit item (contents) |
VEVW |
Where-used list for handling units |
NAST |
Output status |
HUSSTAT |
Single status handling units |
HUSTOBJ |
Information on handling unit status object |
HUMSEG |
Reference HU item for last posted material document item |
In addition, the following archiving classes are included.
Archiving class CHANGEDOCU for archiving change documents
Archiving class PM_OBJLIST for archiving serial numbers
With the archiving object LE_HU, you have the following functions at your disposal:
Analysis of Archivability of Handling Units
Using the preprocessing program RHU_AR_ARCHIVABILITY_CHECK, you can check in advance how many handling units can be archived. The program can also supply you with a detailed list of handling units that cannot be archived.
You archive the handling units using the program RHU_AR_WRITE_TO_ARCHIVE.
Deleting Handling Units
You use the program RHU_AR_DELETE_FROMD_DATABASE to delete archived handling units from the database.
You display archived handling units using the program RHU_AR_READ_FROM_ARCHIVE. Here, any possible hierarchical structure of the handling units is taken into consideration so that the system displays the entire hierarchy.
In the Archive Information System archived handling units are displayed in the original transaction.
When you display archived deliveries via transactions VL33N (inbound delivery) and VL03N (outbound deliveries) or the Archive Information System any archived handling units are also displayed.
For emergency cases, for example, if you archived handling units by mistake, you can use the program RHU_AR_RELOAD_ARCHIVE to reload to the database handling units that were already archived and deleted. Only use this function in emergency cases and, before you use it, make sure you observe the notes in the online documentation of the reload program.
During reload, any existing hierarchical dependency of the handling units is taken into consideration, that is, the system will only reload complete groups of dependent handling units.
To call up the archiving function for handling units, select the following path from the SAP menu:
Tools
à
Administration
à
Administration
à
Archiving
. This calls up archive administration, and then you enter the archiving object LE_HU.
Handling units can only be archived if the documents assigned to them have already been archived.
Sales order
Inbound delivery
Outbound delivery
Shipment
Work order
Non-assigned handling units can be archived if they have the active status “Goods issue posted” or “Deleted”. Also, you can enter a residence time for the archivability check; this is the time that must have passed since the last change to the handling unit before you can archive it.
Using the customer exit, you can perform additional checks also.
Handling units that are in the same hierarchy group can only be archived if the entire group of dependent handling units can be archived. Groups of dependent handling units are always archived by the system together.
See also: