Selling & Scrapping are both entirely different subject.

Selling : you will need to renew the RP inorder to transfer the ownership.

Scrapping : Just visit the Traffic Police Station with the car, & let them see it. They will do the rest to cancel. You can take the same to a scrap yard.