Skip to Content

Switching Flavor in Personas 2.0 SP3

Hello all,

Following is my scenario : I have created 4 flavors for Create Contract (VA41)

Flavor 1 – Overview screen

Flavor 2 – Header Data

Flavor 3 – Item Data with Bill Plan

Flavor 4 – Item Data without Bill Plan

By default, I will be in Flavor 1.

When user clicks on Header Button, it takes me to Flavor 2. When I do Back on Flavor 2. It takes me to Flavor 1. --------------------------------- This is working as expected

From Flavor 1 -> When user either double clicks or selects an Item and clicks on Item Data button, I want to check if “ses[0]/wnd[0]/usrUSRAREA/tabstripTAXI_TABSTRIP_ITEM” contains “Billing plan”. If yes, then I want to go to Flavor 3 else go to Flavor 4. This thing is not working.

Moreover, the above thing should also work when the user is in Flavor 3 or Flavor 4 and he clicks on Next, Previous, Go to First Item, Go to Last Item .

Can you provide some suggestions.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 15, 2015 at 08:35 PM

    Posting the script would probably help in troubleshooting... but the first suspect is missing a Refresh Screen before the IF statement that decides which flavor to switch to.

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Tamas. I actually worked with Kranthi and he resolved the issue by Creating an OnCreateHandler event and it worked for me.

      btw, we are always going to use language as English.