Skip to Content

Variant Management - where to Store user customised data ?

Hi ,

how user data (variants) from UI are stored ? do i need to create new ODATA service in SAP system to store variants or is there any standard ODATA service which i can use for storing variants ?

i have googled alot but still not able to find proper answer, it will be very helpful if i get some help.

thank you.....

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 15, 2017 at 12:54 PM

    As per my experience, the variant data is stored in gateway if you are using the functions of personalization container and they can also be retrieved. You can store the data for the variant in the way you want and the data is retrieved in the same format. I stored in a JSON format with all the filters that are the selected for variant. These variants are specific to the user.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Can somebody please help exact service name in Gateway or the service path ?

      /sap/opu/odata/.... ???

      Any quick help will be highly appreciated ?

  • avatar image
    Former Member
    Nov 30, 2017 at 06:00 AM

    Can somebody please help exact service name in Gateway or the service path ?

    /sap/opu/odata/.... ???

    Any quick help will be highly appreciated ?

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 04, 2017 at 08:57 AM

    Hi MAHESH GONDA,

    The storing of your variants depends on the requirement of your application. If yours is an server side app, you have to use OData to store variants. If the variants is required for an single execution instance only, then you can store it in JSON or even in localStorage also.

    If you are storing your variants in the OData :

    You have to first create an new entity set (name does not matter in this case) in back end OData side, where you have to define your variant fields. When your user logs in, you have to get the corresponding variants from the particular entity set and use it in your UI accordingly.

    Hope this helps,

    Regards,

    Arjun Biswas

    Add comment
    10|10000 characters needed characters exceeded