Hi Ramesh,
This issue usually occurs, when the domain and/or protocol is different for portal and for ABAP request of the POWL. Please refer to the following KBA for more information: https://launchpad.support.sap.com/#/notes/2279800.
Best Regards,
Daniel Marlen