Hi Ankit, first thanks for the answer. I'm still struggling. I have attached the code extraction:
=============================================
UI5 PROJECT NAME: ROOT
Subfolder: searchhelp, contained file "SearchHelps.js"
Worklist.view (XML View)
<Input...
valueHelpRequest="handleValueHelpLocation"
Worklist.controller.js
sap.ui.define([
...
"ROOT/searchhelp/SearchHelps"
...
], function(...,SearchHelps,...) {
"use strict";
return BaseController.extend("ROOT.controller.worklist", {
...
handleValueHelpLocation: function(oEvent) {
SearchHelps.handleValueHelp(oEvent); "here error occures
},
SearchHelp.js
sap.ui.define([], function() {
"use strict";
return {
handleValueHelp: function(oEvent) {
...
}
});
Result in Chrome Debugger:
SearchHelps.handleValueHelp is not a function
Maybe you have again a tip. Thanks. Klaus