脚本执行期间SAP屏幕角色错误:未定义源

2020-09-22 13:21发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)我在口味上放置了标签,并分配了o...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我在口味上放置了标签,并分配了onClick事件

在这种情况下,我需要控件的ID,因此我使用了以下脚本

 var labelId = source.id; 

尽管此代码可在

上成功运行

SAPK-30004INPERSONAS

在其他SAP系统上失败

SAPK-30005INPERSONAS

错误详细信息

[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">脚本执行期间发生错误:
未定义源匿名@ [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/Scripting Engine.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

有什么我可以解决的问题吗?

谢谢,