Hi Bhavesh,
You can read the process and required setup on the next page: docs.microsoft.com/.../reverse-a-transaction
Ensure you have number sequences setup for Transaction reversal and Trace numbers in the GL parameters. Then test if you can reverse your transaction manually. If this is possible, you can also achieve it using a .net application. If, not there is a check which could prevent a specific transaction from being reversed.