Hi,
This is SAP basic functionality. we can not do anything.
You can do passed the manual JV to recorrect the same. or create the TAX Code with same GL then it will passed the entry for the same account.
You need to create separate GL for Purchase and Sales.
Regards,
Tausif