Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 24, 2017 at 05:48 AM

    Hello experts,

    Problem solved. The access issue was due cross origin. Cross origin requests were getting blocked by the browser. The domain of portal was different from domain of SAP backend. Basis guys did something to solve the cross origin problem. Thanks for the help!!

    Regards,

    Yayati Ekbote

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 20, 2017 at 02:23 PM

    I can share some suggestions for non-production usage so you can atleast see it working and then you can work backward and do the right thing.

    You can anonymize your ODATA service by entering test credentials in SICF for your ODATA server, see logon data tab.

    I believe single-sign would be the right approach where the EP user will be propagated to Gateway .

    Add comment
    10|10000 characters needed characters exceeded