Hello,
You can return the goods through quality notification please refer thus useful document:Vendor Return through Quality Notification
An inspection lot is generated with a goods receipt posting for the purchase order. After that, the usage decision is made and the material is booked. Afterwards, a return delivery is posted for the purchase order. That can, for example, occur via the corresponding MM posting (Movement type 122) or also from a quality notification via the action box.
Refer detailed concept at SAP Help is at Define Follow-Up Actions for Tasks - Notification - SAP Library
Best Regards,
R.Brahmankar