Hi Jay,
The Problem seems to be not in PI, Ask your Abaper to check in ECC for that RFC function module, ask them to trigger & debug the RFC from ECC by providing the same payload which you are trying to post from PI. Then you will get exact problem why it is throwing error.
Nagesh.