admin管理员组文章数量:1290778
Fairly new to SAPUI5 and OData.
As a proof of concept exercise, I have created an SAPUI5 application via vscode that is calling an OData service (OData 2.0) from a SAP backend
The OData service has three different (unrelated) entity sets that use vendor number to retireve data from some database tables and present this data back to the application. Each of these entities has its own function module to handle the GetEntity read and GetEntitySet query.
As a test I have the vendor number hardcoded in each of the three function modules in order to get the required data from the DB tables. Vendor number (LIFNR) is also defined as an optional import parameter on each of these FMs .
The SAPUI5 app is working fine at the moment and I'm seeing all the data as expected.
However, the next step is to remove the hardcoded vendor value and create a form or similar on the app which will allow the user to input the vendor number and this will then be passed back to the OData service to get the data and my question is how do I do that?
Will I need multiple controllers and views (for the inital form and then the data display) and how do I pass the user input back to the OData (and the function modules) BEFORE any data is sent back to the front end?
Any and all help greaatly appreciated.
本文标签: SAPUI5 and OData Passing user input value to import parameter of Function moduleStack Overflow
版权声明:本文标题:SAPUI5 and OData: Passing user input value to import parameter of Function module - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741515241a2382845.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论