Skip to Content

SAPUI5 Smart Variant Management vs Flexibility Service

Jun 28, 2017 at 07:41 AM


avatar image
Former Member

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!




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/.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

A. Mondal Feb 22 at 12:03 AM


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

Thanks in advance,


10 |10000 characters needed characters left characters exceeded
Jocelyn Dart
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.



10 |10000 characters needed characters left characters exceeded