Hi Ritu,
First of all check in application log what it is complaining about, go to SLG1 transaction code in ERP and check the log like below.
![slg1.png]()
And check the data you are sending to ERP from PI and when you test in SE37 is same or not.
Regards,
Praveen.