on 12-29-2015 1:56 PM
Hi Experts
I can guide them appreciate, I designed flavors for NWP1 transaction, presently need to find out if it is possible to improve the warning messages that have been placed according to customer processes.
I'm working with Screen Personas 3.0 with SP02.
Alerts come with this design.
Thanks
Cheers!.
Damy Vidal
Hi Damy,
As Tamas already mentioned, you can use the "session.utils.showOptionDialog()" functionality.
Underneath you can find an example:
session.utils.showOptionDialog("Confirmation", "Are you sure you want to proceed?", session.utils.MESSAGE_TYPE_QUESTION, session.utils.MESSAGE_OPTION_YESNO , onOptionDialogClose, "1");
function onOptionDialogClose(dec, id){
if(id === '1'){
var decision = "The decision was: " + dec;
session.utils.showOptionDialog("Decision", decision.toString(), session.utils.MESSAGE_TYPE_INFORMATION, session.utils.MESSAGE_OPTION_OK, onOptionDialogClose, "2");
}
}
This will result in the following outputs:
In case of "Yes":
In case of "No":
Kind regards,
Niels De Greef
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use the "alert" dialog based on this KB artcile: Scripting: Creating alert and confirmation dialogs with session.utils.showOptionDialog() - SAP Imagi...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.