Object documentationArchiving Billing Documents (SD-BIL)

 

Archiving object SD_VBRK for archiving billing documents.

Prerequisites
  • Before using the archiving object for the first time, check Application Customizing.

  • You have completed the entire revenue recognition process for the document concerned. This means that table VBREVK contains only entries with status C Completely processed.

Structure

Tables

When you use the archiving object SD_VBRK, data is archived from the following tables:

Table reference

Table

Table name

EIKP

Foreign Trade: Export/Import Header Data

EIPO

Foreign Trade: Export/Import: Item Data

FPLA

Billing Plan

FPLT

Billing Plan: Dates

FPLTC

Payment Cards: Transaction Data - SD

KOCLU

Cluster for conditions in purchasing and sales

NAST

Message Status

SADR

Address Management: Company Data

VBFCL

Sales Document Flow Cluster

VBPA

Sales Document: Partner

VBRK

Billing Document: Header Data

VBRL

Sales Document: Invoice List

VBRP

Billing Document: Item Data

VBUK

Sales Document: Header Status and Administrative Data

The following archiving classes are also archived:

Programs

The following programs are delivered with SD_VBRK:

Program

Function

S3VBRKWRS

Write

S3VBRKDLS

Delete

S3VBRKAU

Analyze

S3VBRKPTS

Check (preliminary)

S3VBRKRL

Reload

The write program supports the ADK interruption concept, that is, you can interrupt the write phase and continue at a later point. To be able to use this function, the Interruption Possible indicator must be set in Customizing (transaction AOBJ). This parameter is not set by default. For more information, see the application documentation for data archiving under Start of the navigation path Data Archiving in the ABAP Application System Next navigation step Data Archiving with Archive Development Kit (ADK) Next navigation step Archive Administration Next navigation step Interrupting and Continuing Archiving Sessions End of the navigation path

The standard variants SAP&PROD (production mode) and SAP&TEST (test mode) are delivered for the delete program. Progress confirmation is regularly output in the job log and in the dialog (status line) in both the write run and delete run.

ILM-Based Information for the Archiving Object

You can use this archiving object with the SD_VBRK ILM object 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 SD_VBRK are defined in the ILM policy and are visible when processing ILM policies (transaction IRMPOL):

  • Available Time Bases

    • End of Fiscal Year (END_OF_FISCAL_YEAR)

    • End of Year (END_OF_YEAR)

  • Available Standard Condition Fields

    Standard Field Country from Company Code ((BS_COUNTRY_OF_BUKRS)

  • Available Condition Fields

    • Date of Last Change (AEDAT)

    • Company Code (BUKRS)

    • Date on Which Record Was Created (ERDAT)

    • Billing Type (FKART)

    • Billing Document Date (FKDAT)

    • Sales Organization (VKORG)

    • Distribution Channel (VTWEG)

  • Available Policy Categories

    RTP: Retention Rules

For more information, see SAP Information Lifecycle Management.

Call

To call SD billing document archiving, go to the Billing Screen and Start of the navigation path  Environment Next navigation step Archive Documents. 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 SD_VBKA.

Authorization Objects

You need the following authority objects:

Authorization object

Description

V_VBRK_FKA

Billing Type

V_VBRK_VKO

Sales Organization

Integration

The deliveries should be archived before the billing documents. The sequence results from the linking of the documents through the flow. There is no dependency to the sales documents.

More Information

Variant Settings for Writing (SD-BIL)

Variant Settings for the Check (SD-BIL)

Variant Settings for Reloading (SD-BIL)

Analyzing an Existing Archive (SD-BIL)

Billing Documents in the DRB (SD-BIL)

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.