I have run pre proc for the Archiving object RV_LIKP (Deliveries),
the pre proc generated the log and to my surprise most of the deliveries were not slected for archiving
due to an error "Subsequent document (billing document is still open".
But we have checked the billing document flow it shows clearly that the all status is complete/cleared.
I have gone through multiple sap notes but i couldnt find any solution.
Kindly provide a possible solution ASAP.
we have find that
VBUK-RELIK (invoice list status) is A.
VBUK-GBSTK (over all status ) is B.
That's why the delivery cant archive, but my question is how to close that anyway.
Because billing is not relavant for the delivery in the system as if we are using inter company invoice.
contact your SD colleague to correct the customizing.
if you do x-company stock transfers using purchase order and delivery, then delivery related billing is usually required, your system is probably setup for order related billing.
it has as well info about a report to correct the status, more info on this report and correction of status can be found in notes: 506510, 137011 and 992587