The SAP tcode ABAVN is used for:
Asset Retirement by Scrapping (With No Revenue)
It’s part of the Asset Accounting (FI-AA) module and is used when an asset is scrapped and removed from the books without any proceeds or compensation.
If you're scrapping an asset and want to post that, ABAVN is the correct tcode.