When I create or edit a PO from ME21N/ME22N and save it, it is showing partner functions PI and GS as duplicated. When I again open that PO, duplicated partners are removed. Is there any solution for this issue? It seems to be standard issue as I have checked same scenario on different SAP landscape and they have same issue with these partners.
For example- I open a PO in edit mode-

Do some changes on Line item and save the PO-

PI and GS are duplicated. But if I open again this PO, duplicated partners are removed.
Has SAP provided any solution for this issue? Because this seems to be a standard issue and not coming from Custom code.