Skip to Content

How to enable Smart table Persistency Key

Hi Experts,

I have configured smart table with oData service having vocabulary annotaions. Now we want to enable variant management for smart Table which will enable by providing the 'persistencyKey' for the Table.

Can any one explain the process creating the 'persistencyKey' which can be used by smart table.

Thanks in advance..



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 10, 2018 at 05:41 PM

    Hi Mahi,

    This is the official SAPUI5 documentation on Smart Variant Management. There you will see that "percistencyKey" is the value for keyName that is used internally by the backend system to store the search variant ID. Once your UI sends a POST to store the variant, it sends its Name to the OData service. This in turn generates a key (GUID) for the variant that would be specific to the logged on user (same concept as saving variants on SAPGui). When you reload the UI, the Smart Table will retrieve all variants for the logged on user and display them. If you ever need to edit some of them the OData will send the GUID instead of a name.

    Hope this clarifies.


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Karthik,

      AFAIK: It should work just as well. Of topic: IE doesn't prevent you from running Fiori Applications just as long as if you are running it on a compatible version (I know IE11 works with the launchpad). I prefer running an Fiori application on top of the Launchpad because it give you the possibility to theme the application, integrated logon/logoff features, role based application groups, etc. Besides, it doesn't make a lot of sense delivering a Fiori App with a zillion features because it is not what the Fiori Design Principles tell us. Rather, one should design apps focused on simple tasks that can be accomplished with as little as 3 navigation clicks or less. So it makes more sense having several applications for each user than having just a single app that does it all.

      Back to the original question: You may call service (name in SICF is: /SAP/BC/LREP) directly using the GET method like so: <host:port>/sap/bc/lrep/content/?sap-client=XXX. This will give you a json string with the application name, variant name and variant contents. Test this with different users to see how the system works.

      Best regards,

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.