on 01-16-2018 2:32 PM
I have placed a label on a flavor and assigned onClick event
In the event, I require the ID of the control so I used following script
var labelId = source.id;
Though this code works successfully on
SAPK-30004INPERSONAS
It fails on an other SAP system
SAPK-30005INPERSONAS
Error detail
[Flavor:SalesClerk]>[Script:wnd[0]/scrptPersonas_00505686BC801ED7BED81024E553A9A7-openURL]:19:5 scriptingEngineModule/self.executeScriptInternal@.....:8000/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/ScriptingEngine.js?20171102222708:61:10466 scriptingEngineModule/sap.personas.scripting.executeScriptInternal<@.....:8000/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/ScriptingEngine.js?20171102222708:61:12752 sap.personas.fw.its.scripting.Runtime.prototype.execute/<@....:8000/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/Runtime.js:1:435 W@....:8000/sap/bc/personas3/ui5/resources/sap-ui-core.js:155:1664 " tabindex="-1" style="direction:inherit">Error during script execution:
source is not definedanonymous@[AppID:SMEN]>[Flavor:SalesClerk]>[Script:wnd[0]/scrptPersonas_00505686BC801ED7BED81024E553A9A7-openURL]:19:5
scriptingEngineModule/self.executeScriptInternal@.....:8000/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/ScriptingEngine.js?20171102222708:61:10466
scriptingEngineModule/sap.personas.scripting.executeScriptInternal<@.....:8000/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/ScriptingEngine.js?20171102222708:61:12752
sap.personas.fw.its.scripting.Runtime.prototype.execute/<@......:8000/sap/bc/personas3/core/script/sap/personas/fw/its/scripting/Runtime.js:1:435
W@.....:8000/sap/bc/personas3/ui5/resources/sap-ui-core.js:155:1664
Is there anything that I can do to correct the problem?
Thanks,
Hi Eralper,
Can you give more details about the issue, so I can try to replicate it?
Thanks,
Cris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for references, though I could not find anything related with the error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.