cancel
Showing results for 
Search instead for 
Did you mean: 

Using Variables for 'Switch Flavor' in SAP Personas 2.0

former_member195167
Participant
0 Kudos

Hello everyone,

I am currently working on a system where I have multiple flavors for the same T-Code.

My issue is that I am unable to make the switch to different flavors dynamically.

Here's what I have to do:

If A

Switch Flavor Z_A

If B

Switch Flavor Z_B

Here's what I'd like to do instead:

define args.condition as A or B

If condition IS NOT EMPTY

Switch Flavor Z_{condition}

My problem is that the 'Switch Flavor' command takes hard coded values only and does not allow variables.

Anyone has a work-around for this? I need to reduce my number of 'IF statements' for increasing performance.

Note: I am currently using Personas 2.0.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member195167
Participant
0 Kudos

I found a solution in Personas 3.0. Any suggestions for Personas 2.0?