Skip to Content
0
Jul 20, 2017 at 08:16 AM

Passing Parameters to OData service URL from iView in FLP on SAP EP

593 Views

Hello experts,

In Our current project, we have SAP EP portal 7.4 SP14. We are running Fiori Launchpad on Enterprise portal and iViews/Pages as tiles. As per the further requirement, we needed dynamic tile to show some stats on the tile. For this requirement I followed the note 2087348.

I created an OData service which is working fine in SAP Gateway testing or directly accessing through browser.

My problem is - when I apply the URL to 'service URL' parameter of iView then the tile shows error.

I checked the HTTP trace and it says Network Error 0x80070005, Access is denied.

I am unable to understand how to pass login credentials through OData service URL so as the backend allows access the service to run.

Moreover, I need to pass user ID of the person which is logged in to portal as importing parameter with this OData service URL which will be used as query selection criteria in backend. How to achieve this? Is there any thing like this - sap/opu/odata/zservice('<portal.userID>') ??

Has anyone worked on such kind of scenario?

Regards,

Yayati Ekbote