Display a Confirmation Dialog Box

Confirmation Dialog
jQuery.sap.require("sap.m.MessageBox");
sap.m.MessageBox.confirm( 
	"Confirmation Message Text Goes Here?",
	function(evt){
		console.log("confirm evt:" + evt);
		if( evt=="OK" ){
			// Run your successful script here
		}
		else
		{
			//Pressed CANCEL, run cancellation code or do nothing
		}
	} 
);


Related articles


IQX Business Solutions - FAB 2.40