Ansicht
Dokumentation
/LIME/ARCH_WRITE - NOTRANSL: Archivierung der LIME Objekten
Vendor Master (General Section) ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Functionality
With this function module, you can archive LIMEObjects.
There two archiving objects in LIME:'/LIME/LOG' and '/LIME/PN'. You declare the archiving objects in the interface of the function module using the parameter 'OBJECT'
The archiving object '/LIME/LOG' archives the following tables:
,,/LIME/LOG_HEAD,,,,Log table for the header data of a Prima Nota document,
,,/LIME/LOG_ QUAN,,,,Log table for the stock change of a document,
,,/LIME/LOG_SERIAL,,,,Log table of serial numbers,
,,/LIME/LOG_TREE,,,,Log of changes,
,,/LIME/COLL_PN,,,,Assignment table: Collection <-> LIME Document.
The archiving object '/LIME/PN' archives the following tables:
,,/LIME/LOG_HEAD,,,,Log table for header data of a Prima Nota document,
,,/LIME/PN_ITEM,,,,Table to save the Prima Nota Item Data,
,,/LIME/PN_ITEM_TB,,/LIME/DOC- Collective table of Param, Quant, Serialno, ACC,
,,/LIME/PN_SERIAL,,,,/LIME/DOC - PN document for serial numbers.
Both archiving objects consider the table /LIME/LOG_HEAD in order to be able read the document completely from the archive file. Data sets are only deleted from this table when the corresponding GUID_PN is no longer used in other database tables.
The system calls up the function module in the report /LIME/ARCH_WR. However, you can also define your own interface.
The document is only then archived when you post inventory (table
/LIME/LOG_QUANField LOG_TYPE= 'NEW') at a later date for all materials in the document (GUID_STOCK).
In order to define the time of the archiving, you must supply the parameter ARCH_DATE with information.
Thereafter, you delete the archived data with the function module /LIME/ARCH_DELETE (Report /LIME/ARCH_DL).
Example
CALL FUNCTION '/LIME/ARCH_WRITE'
,,EXPORTING
,,create_archive_file,,,,= 'X'
,,delete_in_test_mode,,= 'X'
,,comments,,,,,,= 'Comments'
,,maxsize,,,,,,= '10'
,,arch_date,,,,,,= 'Archiving Date'
,,object,,,,,,,,= '/LIME/LOG'
Notes
Further information
Parameters
I_ARCH_BIG_DATAI_ARCH_DATE
I_ARCH_DATE_QUAN
I_ARCH_UNUSED_QUAN
I_COMMENTS
I_COMPRESS
I_CREATE_ARCHIVE_FILE
I_DELETE_IN_TEST_MODE
I_DO_NOT_DELETE_DATA
I_MAXSIZE
I_OBJECT
Exceptions
ILLEGAL_INPUTINTERNAL_ERROR
NOT_AUTHORIZED
OPEN_ERROR
Function Group
E/SAPLARCHAddresses (Business Address Services) CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 3444 Date: 20240329 Time: 123924 sap01-206 ( 43 ms )