Hi Nivin,
you are using IDOC communication channel to post the idoc to third party system. You need to define the business system of third party system as ABAP or need to use other adapter to post the IDOC.
How yo are sending the IDOC before (without PI)?
Regards,
Harish