Skip to Content
0

Variant Management - where to Store user customised data ?

Jun 08, 2017 at 10:18 AM

125

avatar image

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

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

3 Answers

avatar image
Former Member Sep 15, 2017 at 12:54 PM
0

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.

Show 1 Share
10 |10000 characters needed characters left 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 ?

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

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

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

Any quick help will be highly appreciated ?

Share
10 |10000 characters needed characters left characters exceeded
Arjun Biswas Dec 04, 2017 at 08:57 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded