Skip to Content
avatar image
Former Member

SAPUI5 Smart Variant Management vs Flexibility Service

Hello Experts,

I am having trouble with Smart Variant Management control.

I've made a demo of smart variant management in Web-IDE. But it fails when Save the variant. From the debug tool, I see it requests /sap/bc/lrep/actions/getcsrftoken/ and then fails with 404 error. As documentation says, that is part of SAPUI5 Flexibility Service. So my question is, how can I make smart variant management work?

Thanks in advance!

Ray

--------

p.s.

I've tried "Run as Web Application" and "Run as SAP Fiori Launchpad Sandbox", and got the same 404 error of request /sap/bc/lrep/actions/getcsrftoken/.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 22 at 12:03 AM

    Hello,

    Have you got any solution to this? We are facing same issue from WebIDE.

    Thanks in advance,

    Arunava

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 22 at 03:04 AM

    Hi Arunava, Your problem is not a SAPUI5 problem it is a SAP Cloud Platform Web IDE issue.

    Given that you are using the sandpit, the Smart Variant still needs to be saved somewhere. So the sandpit is unlikely to permit you to do this as it is not connected to a particular Fiori frontend server.

    You need to deploy your app to a SAPUI5 ABAP Repository or a SAP Cloud Platform Portal Service based on the Fiori Launchpad content type and then try from there.

    Rgds

    Jocelyn

    Add comment
    10|10000 characters needed characters exceeded