Archiving of New Log Data (SCM-ECT-LIME-NLOG)

Definition

The Logistics Inventory Management Engine (LIME) New Log ( LIME_NLOG) archiving object archives the incoming LIME documents with Prima Nota information and LIME NLOG data.

Use

You can archive new logs that LIME saved a certain number of days in the past.

Structure

Tables

When you use the archiving object LIME_NLOG, the system archives data from the tables listed in the following table:

Table

Table Name

/LIME/LOG_HEAD

Log table that contains the header data of the Prima Nota document.

/LIME/COLL_PN

Table for the connection between collections and the Prima Nota documents.

/LIME/NLOG_QUAN

Log table that contains the stock change quantities.

/LIME/NLOG_SERIAL

Log table that contains the hierarchy of the serial numbers.

/LIME/NLOG_TREE

Log table that contains the LIME hierarchy.

/LIME/PN_ITEM

Table that contains each item of the Prima Nota document.

/LIME/PN_ITEM_TB

Table that contains a list of parameters, quantities, serial numbers and accounting parameters

/LIME/PN_SERIAL

Table that contains the serial numbers of the Prima Nota documents.

/LIME/ARCH_IDX

Table for the connection between the log and the archiving key.

Programs

The programs listed in the following table are available for archiving object LIME_NLOG:

Program

Function

/LIME/ARCH_WR

Write

/LIME/ARCH_DL

Delete

/LIME/ARCH_RL

Reload

/LIME/QUERY_PN

Function module to read log information in the archive

This archiving object does not store the business key of the LIME object (locations, handling units, stock items or serial numbers). They are kept in the corresponding shadow tables and are not deleted from the LIME database even if the LIME object is removed from LIME.

Variant Settings for Writing

You can use the following variant settings for the new logs you want to archive:

  • Minimum number of days

  • End date

The following conditions, in addition to the internal timestamp criteria for LIME documents, must be fulfilled before the LIME document can be archived:

  • Reload stock quantity

    At least one entry with a new log type or a calculated hist_stock value must be available for a combination of each stock item and location or stock item and handling unit in the /LIME/NLOG_QUAN table. This entry is used as a basis to calculate the historical stock level and for the recovery process.

  • Reload LIME hierarchy

    An entry in the /LIME/NLOG_TREE table must remain for all combinations of GUID and GUID_PARENT.

Integration

Display Function for Archived New Logs

You can use the field catalog SAP_LIME_NLOG and the archive information structure SAP_LIME_NLOG to access archived new logs using the archive information system:

More Information

Archiving documentation in the SAP NetWeaver library