Ansicht
Dokumentation
ARCHIVE_WRITE_STATISTICS - Output Statistical Data Collected by ADK (Standard Log)
Fill RESBD Structure from EBP Component Structure PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Function
Function module ARCHIVE_WRITE_STATISTICS is used in write, delete, reload, and read programs in Data Archiving to display in a standard log the statistics collected by the Archive Development Kit (ADK).
Purpose
The standard log that is produced by function module ARCHIVE_WRITE_STATISTICS displays the statistics collected by the ADK for the relevant context (write, delete, reload, or read).
Use
Function module ARCHIVE_WRITE_STATISTICS can be used in all write, delete, reload, and read programs in Data Archiving. It should be called immediately before the function module ARCHIVE_CLOSE_FILE. In reload programs, it must be called using the read handle. In all other programs, such as conversion, preprocessing and postprocessing programs, this function module cannot be used.
Example
Correct use of function module ARCHIVE_WRITE_STATISTICS is illustrated in programs in archiving object BC_FLIGHT.
Parameters
ARCHIVE_HANDLESTATISTICS_ONLY_PER_FILE
STATISTICS_ONLY_PER_RUN
Exceptions
INTERNAL_ERRORWRONG_ACCESS_TO_ARCHIVE
Function Group
ARCHGeneral Material Data Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 1734 Date: 20240523 Time: 091507 sap01-206 ( 32 ms )