Go to register arrivals and filter by "Source Ref Type" equal to "Return Material Authorization" and click search.
Choose any one of them and click "Receive Parts against Order Deliveries". A pop up window appears and you can choose which material and quantity you want to return.
It doesn't matter if you choose the quantity on the RMA or less than the quantity on the RMA, it give you the error shared below.