cancel
Showing results for 
Search instead for 
Did you mean: 

Variant Management - where to Store user customised data ?

maheshgonda
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member484715
Contributor
0 Kudos

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

Former Member
0 Kudos

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

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

Any quick help will be highly appreciated ?

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

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

Any quick help will be highly appreciated ?