Hello,
>> I have not third system. I just have ERP and PI
So, you can create either sync Proxy - PI - RFC(BAPI_USER_GET_DETAIL) OR Sync Proxy - PI -Proxy scenario.
ABAP Proxy outbound program - purchase order send - Community Profiles - SCN Wiki
Thanks
Amit Srivastava