Solution : https://service.sap.com/sap/support/notes/131051 (SAP Service marketplace login required)
Summary :
The SAP Note addresses a specific issue where document-flow records in the VBFA table are not deleted after billing documents are archived using the general billing interface or GN_INVOICE_CREATE. The problem arises because the system only archives subsequent document-flow records along with the predecessor and sets the preceding document status to 'Completed'. It suggests using the ARCHVBME report to delete unnecessary document-flow records from the VBFA table after archiving. It also includes steps for importing the report, creating a required index for the VBFA table, and configuring transaction settings for archiving and executing the report.
Key words :
mandt vbeln fktypthe prerequisite, delete document-flow records, /general/r3server/abap/note, subsequent document-flow records, completely archive billing documents, system processes archive files, external preceding document applies, archives sd billing documents, preceding document-flow records, affected flow records
Related Notes :
647775 | Missing test flag for report ARCHVBFA |
432436 | Changes in the report ARCHVBFA from Note 131051 |
93715 | Archiving: new functions SD_VBRK |
77282 | Database problems with Cluster table VBFA |