Archiving Physical Inventory Documents (SCM-ECT-LIME-PI)
Definition
You use the archiving object LIME_PI to write the LIME physical inventory tables in archive files.
Use
You can archive physical inventory documents that SAP Extended Warehouse Management (SAP EWM) saved a certain number of days ago. You can also simultaneously archive physical inventory documents for multiple warehouse numbers.
For test purposes, you can display a list of all the physical inventory documents to be archived and deleted before archiving them.
Structure
Tables
SAP EWM uses the archiving object LIME_PI to archive data from the following tables listed in the following table:
|
Table |
Table Name |
|---|---|
|
/LIME/PI_DOC_IT |
Table of Physical Inventory Document Items |
|
/LIME/PI_DOC_SER |
Serial Numbers for Physical Inventory Document Items |
|
/LIME/PI_DOC_TB |
Quantities for Physical Inventory Document Items |
|
/LIME/PI_LOGHEAD |
Log Table for Header Data of a Physical Inventory Document |
|
/LIME/PI_LOGITEM |
Log Table for Item Data of a Physical Inventory Document |
|
/LIME/PI_PAR_BIZ |
Physical Inventory Document Business Key Item Object |
|
/LIME/PI_IT_BIZ |
Physical Inventory Document Business Key Parent Object |
Programs
The programs listed in the following table are delivered for the archiving object LIME_PI:
|
Program |
Function |
|---|---|
|
/LIME/PI_ARCH_WR |
Write |
|
/LIME/PI_ARCH_DL |
Delete |
|
/LIME/PI_ARCH_RL |
Reload |
Variant Settings for Writing
In the variant of the write program, specify the following selection criteria for the physical inventory documents:
-
Document Year
You can enter the archiving year of a physical inventory document.
-
Generate Archive File
If you choose this option, the write program of the archiving object runs in production mode.
-
Delete Program in Test Mode
If you select this checkbox, the delete program of the archiving object is started with the test mode variant that was specified in the archiving-object-specific Customizing. No data is deleted from the database, because deletion is only simulated. The program generates statistics about the table entries that would be deleted from the database in the production mode.
If you do not select this checkbox, the delete program is started with the production mode variant that was specified in the archiving-object-specific Customizing.
The checkbox only appears on the selection screen if in archiving-object-specific Customizing under Settings for Delete Program you have checked the option Start Automatically.
-
Packet Size
You can define the maximum number of objects per archive file. The default value is 100.
In the processing options, specify whether SAP EWM is to start the program in test mode or production mode.
For more information about maintaining variants for archiving jobs, see the documentation for archiving with the Archive Development Kit (ADK) in the SAP NetWeaver library.
Integration
Display Function for Archived Physical Inventory Documents
You can use the field catalog SAP_LIME_PI and the archive information structure SAP_LIME_PI to access archived physical inventory documents using the archive information system.
For more information, see the documentation for the Archive Information System in the SAP NetWeaver library.