Showing results for 
Search instead for 
Did you mean: 

Not Able to Save the Variants in Variant Management in ui5

0 Kudos

Hello readers,

I had implemented the Variant Management on my Custom ui5 app,

The same code was working fine before but now suddenly it stops for all the "Post" call of the PersContainer service.

The Code implemented like:

this.oVariant = this.oVariantSet.addVariant(;

if (this.oVariant) {

this.oVariant.setItemValue("ColumnsVal", JSON.stringify(aColumnsData));

if (VariantParam.def === true) {


} () {


sap.m.MessageBox.success("Variant Saved \n");




On Lastly when I created the new variant the new key is saved as currentVariantKey, but this key is not available in my variantSet

Accepted Solutions (0)

Answers (0)