In SAP If a Customer Payment is made against incorrect invoice and then it can be Reset.
Enter Transaction Code FBRA in the SAP Command Field
In the next screen, Enter the Following
1. Enter the Clearing Document Number for the Cleared Items
2. Enter the Company Code in which it was posted
3. Enter the Fiscal Year in which it was posted
Press ‘Save‘ button to reset the Cleared Status of the Items
Confirm the modal dialog box for the Deactivation of open correspondence
In the next dialog box , Enter the Following
1. Enter the Reversal Reason for the Cleared Items
2. Enter the Posting Date
In the next dialog box, Confirm the Reset of the Clearing Document
In the next dialog box, Check the reversal document number to confirm the reset of the Cleared Items.