cancel
Showing results for 
Search instead for 
Did you mean: 

Personas 3.0 SP02: How to jump to different flavors of the same tcode?

Former Member
0 Kudos

Hi,

This is for Personas 3.0 only.

In my apps I have made more than one customised flavors for the same tcode for use in different apps.

Let's take an example: I made two flavors Flav_A and Flav_B, both for tcode SM04.

In one app, when i run SM04, I want to go Flav_A, but in another app, when running SM04, we want to go to Flav_B.

But in JS there is only

session.utils.changeFlavor("flavor_id");

where no tcode is specified. When attach such a JS in a button on the SMEN level, personas conplained that it cannot find the flavor. In Personas 2.0 there is command like

swicth flavor(tcode//flavor_name).

Does anyone know in Personas 3.0 how to specify the tcode in the "changeFlavor" command? Thanks.

Dong

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to do it in two steps:

  1. session.startTransaction("code");
  2. session.utils.changeFlavor("flavorID");

Or am I misunderstanding?

Steve.

Former Member
0 Kudos

Hi Steve,

Thanks. That's it! Set as Correct Answer.

Dong

Answers (0)