Hi Mithil,
You could try to encode in Base64 the object in PI, the ERP take the base64 and to decode it, finally you can upload to mime repository.
ABAP base64 decode: SSFC_BASE64_DECODE
Upload mime repository, package SMIMES, class: CL_WB_MIME_REPOSITORY, method STORE_MIME
Regards.