cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Personas 3.0 - switching flavors script error

Former Member
0 Kudos

Hello everybody,

i'm trying to switch flavors in a script using following libe of code:

session.utils.changeflavor("xyz");

where "xyz" is the flavor-id, which i obtained from the admin tool.

Script throws following error:

Error during script execution:
anonymous@http://depadbat.benpad.loc:8076/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/Scripting... line 43 > Function:1:1
sap.personas.scripting.initialize/scriptingEngineModule/self.executeScript@http://depadbat.benpad.loc:8076/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/Scripting...
sap.personas.scripting.initialize/scriptingEngineModule/sap.personas.scripting.executeScriptInternal<@http://depadbat.benpad.loc:8076/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/Scripting...
sap.personas.fw.its.scripting.Runtime.prototype.execute/<@http://depadbat.benpad.loc:8076/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/Runtime.j...


As far as i can see, the falvor-id is not mentioned in the errror message, so perhaps it is some sort of system failure.


Kindly advise,

Vyacheslav


Accepted Solutions (1)

Accepted Solutions (1)

chinthan_yajamaan
Active Contributor
0 Kudos

Please change "changeflavor" to "changeFlavor" (with caps F) and check.

Former Member
0 Kudos

Thanks a lot, Chinthan! It works perfectly fine now!

Answers (0)