Procedure documentationArchiving INTRASTAT Statistics Data with FT_VEIAV

 

Archiving object FT_VEIAV for archiving INTRASTAT statistics data.

You can use archiving object FT_VEIAV (INTRASTAT Receipt/Dispatch) to archive, delete, and reload the data written to database table VEIAV through the INTRASTAT selection runs.

Prerequisites

  • There is no Application Customizing for this archiving object.

  • An archivability check is not performed because table VEIAV is simply a temporary store for creating INTRASTAT notification files and the data records it contains are not dependent on other data objects.

Tables

The following table shows the programs that exist for the archiving object FT_VEIAV. (You define archiving objects with transaction AOBJ). To display the programs used, use transaction AOBJ.

Program

Function

RVEXAIWR

Write

RVEXAIDL

Delete

RVEXAIRL

Reload

The standard variants SAP&PROD (production mode) and SAP&TEST (test mode) are delivered for the delete program.

ILM-Based Information for the Archiving Object

You can use this archiving object with the ILM object FT_VEIAV as part of SAP Information Lifecycle Management. In order to do so, you must activate the associated business function Information Lifecycle Management (ILM) (transaction SFW5). The system then also displays the ILM Actions frame. You can use these actions to archive documents with the retention periods defined in the Information Retention Manager. You can also make snapshots (copies) of data or delete data that fulfills the prerequisites.

The following fields for FT_VEIAV are defined in the ILM policy and are visible when processing ILM policies (transaction IRMPOL):

  • Available Time Bases

    The retention period for INTRASTAT data archived with archiving object FT_VEIAV begins with the creation date of the record (this is the CREATION_DATE in ILM).

  • Available Condition Fields

    • Reporting year of declaration to authorities (DATUMJAHR)

    • Reporting month of declaration to authorities (DATUMMONA)

    • Company Code (NUMMBUKRS)

    • Sales Organization (VERKAUFOR))

    • Declaration to authorities: Country of Plant (WERKSLAND)

  • Available Policy Categories

    RTP: Retention Rules

For more information, see SAP Information Lifecycle Management.

Procedure

To call archive administration (transaction SARA) with archiving object FT_VEIAV from the SAP Easy Access menu, choose Start of the navigation path Logistics Next navigation step Sales and Distribution Next navigation step Foreign Trade/Customs Next navigation step Periodic Declarations Next navigation step Periodic Declarations Next navigation step Operative Next navigation step Archiving Next navigation step INTRASTAT End of the navigation path.

Alternatively, you can also call archive administration under Start of the navigation path Tools Next navigation step Administration Next navigation step Administration Next navigation step Data Archiving End of the navigation path and enter object name FT_VEIAV.

Choose Write. Define a variant for the archiving write run. The archiving write run imports all data in accordance with the selection criteria chosen and writes this to one or more archive files without further checks.

You can select the INTRASTAT data to be archived in accordance with the following criteria:

  • Company code

  • Reporting year

  • Reporting month

  • Declaration country

Choose Delete. Define a variant for the archiving delete run. The archiving delete run selects the file generated in the write run and deletes the data for the validity periods to be archived.

Choose Start of the navigation path Goto Next navigation step Reload End of the navigation path to access the reload program for FT_VEIAV . We recommend that archived data be reloaded in exceptional cases only.

More Information

For more information about the archiving object, see the application documentation for data archiving under Start of the navigation path Data Archiving Next navigation step Data Archiving in the ABAP Application System Next navigation step Data Archiving with Archive Development Kit (ADK) Next navigation step Archiving Object End of the navigation path.