src/sap.ui.rta/src/sap/ui/rta/appVariant/Feature.js
function(bAsKeyUser) {
			var oDescriptor = fnGetDescriptor();

			return new Promise(function(resolve) {
				var fnCancel = function() {
					AppVariantUtils.closeOverviewDialog();
				};
				sap.ui.require(["sap/ui/rta/appVariant/AppVariantOverviewDialog"], function(AppVariantOverviewDialog) {
					if (!oAppVariantOverviewDialog) {
						oAppVariantOverviewDialog = new AppVariantOverviewDialog({
							idRunningApp: oDescriptor["sap.app"].id,
							isOverviewForKeyUser: bAsKeyUser
						});
					}

					oAppVariantOverviewDialog.attachCancel(fnCancel);

					oAppVariantOverviewDialog.oPopup.attachOpened(function() {
						resolve(oAppVariantOverviewDialog);
					});

					oAppVariantOverviewDialog.open();
				});
			});
		}
function(bAsKeyUser) {
			var oDescriptor = fnGetDescriptor();

			return new Promise(function(resolve) {
				var fnCancel = function() {
					AppVariantUtils.closeOverviewDialog();
				};
				sap.ui.require(["sap/ui/rta/appVariant/AppVariantOverviewDialog"], function(AppVariantOverviewDialog) {
					if (!oAppVariantOverviewDialog) {
						oAppVariantOverviewDialog = new AppVariantOverviewDialog({
							idRunningApp: oDescriptor["sap.app"].id,
							isOverviewForKeyUser: bAsKeyUser
						});
					}

					oAppVariantOverviewDialog.attachCancel(fnCancel);

					oAppVariantOverviewDialog.oPopup.attachOpened(function() {
						resolve(oAppVariantOverviewDialog);
					});

					oAppVariantOverviewDialog.open();
				});
			});
		}
function ( bAsKeyUser ) { var oDescriptor = fnGetDescriptor ( ) ; return new Promise ( function ( resolve ) { var fnCancel = function ( ) { AppVariantUtils . closeOverviewDialog ( ) ; } ; sap . ui . require ( [ "sap/ui/rta/appVariant/AppVariantOverviewDialog" ] , function ( AppVariantOverviewDialog ) { if ( ! oAppVariantOverviewDialog ) { oAppVariantOverviewDialog = new AppVariantOverviewDialog ( { idRunningApp : oDescriptor [ "sap.app" ] . id , isOverviewForKeyUser : bAsKeyUser } ) ; } oAppVariantOverviewDialog . attachCancel ( fnCancel ) ; oAppVariantOverviewDialog . oPopup . attachOpened ( function ( ) { resolve ( oAppVariantOverviewDialog ) ; } ) ; oAppVariantOverviewDialog . open ( ) ; } ) ; } ) ; }
To see the overview of app variants, a key user has created from an app
To see the overview of app variants a key user has created from an app