Symptom

A billing document has to be archived, therefore you execute the check program S3VBRKPTS. This program checks billing documents to see if they can be archived. The check program should be executed before the write program to ensure the quality of the billing documents that are to be archived.

Although the invoice 90037720 was successfully released to accounting and its accounting document was already cleared, S3VBRKPTS ends up with a negative result: document not archivable due to BADI add-on archiving check.

According to the archivability check the invoice is not complete yet, therefore the archiving fails.

Capture.JPG

Capture2.JPG

See also:

488970 – Archivability criteria for billing docs S3VBRKWR/S3VBRKPT

Reason

Since the billing document is not complete, it is necessary to have a look at the status in VBUK and VBUP database tables.

You should search for status A or B.

In this case the overall processing status of that billing document is not complete. VBUK-GBSTK = B (partially processed).

In most cases the reason for this incompleteness is the fact, that no invoice list has been created for the invoice yet, although it is relevant for invoice list.

That is why invoice list status VBUK-RELIK = A (Not yet processed).


The system expects an invoice list for billing document 90037720.

Capture3.JPG

A billing document is relevant for an invoice list when:

  • the relevant billing type has an invoice list type (in standard LR or LG) assigned in customizing (transaction VOFA), and
  • the relevant payer has an invoice list calendar (KNVV-PERRL) assigned in the customer master data (transaction XD03, Sales Area Data / Billing Documents tab).

As a consequence the fields Invoice List Date (VBRK-FKDAT_RL) and Invoice List Type (VBRK-FKART_RL) are filled, so that the invoice list status (VBUK-RELIK) can be set.

These fields can not be changed online, as they are only processed during document creation.

Capture4.JPG

Solution

You have two options to solve this problem:

  1. either you create the missing invoice list for the affected billing document
  2. or you change the invoice list relevance of the billing document.
    For this option you should take the implementation of the report mentioned in SAP Note 1078149 into consideration.

After that the invoice should have a complete overall processing status and should be archivable in S3VBRKPTS.

.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply