For this kind of inconsistency, please raise an incident to SAP, it seems the manual correction is necessary. However, we need to check further in system for LINK, LINP and LINV, as well as LQUA and LAGP.
If the LINK/LINP has status as deleted or cleared, but LAGP-SKZSI or LQUA-SKZSI is still locked. It should be checked further in SAP.
Best regards,
Edward