Quantcast
Channel: SCN : Unanswered Discussions - SAP GUI
Viewing all articles
Browse latest Browse all 2552

Exception Handling before Switch Flavor in Scripts for SAP Personas 2.0

$
0
0

Hello everyone!

 

I have created customized flavors for the transactions used by my client.

 

For this, I've created a unique flavor of SMEN which contains buttons directing to the other flavors (of different T-Codes).

 

My issue occurs when a user clicks on a button of the T-Code he is not authorized to use.

 

He gets a message of this form along with a ITS message at the bottom stating that the user is not allowed to use the Transaction:

 

AskSCN_2.JPG

I have added a 'Switch Flavor' command after the user is directed to the transaction.

 

I need to put an exception (using IF condition?) after the user is directed to the transaction but before the Switch Flavor is executed.

 

To summarise, my primary goal is to change the TEXT of this error message, possibly by raising an exception before Switch Flavor.

 

Please suggest/help.


Viewing all articles
Browse latest Browse all 2552

Trending Articles