- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 23 Articles for SAP UI5
173 Views
SAP UI supports custom formatter functions. formatter="function" is used to specify a function to format cell data prior to display.formatter="function"Try using formatter function as below −icon : { parts : ["answer"], formatter : function(answerValue){ return self.getIcon(answerValue); } }Refer below link to know more about custom formatter functions −https://sapui5.hana.ondemand.com/1.34.8/docs/guide/07e4b920f5734fd78fdaa236f26236d8.html
449 Views
SAPUI5 provides different static mobile packages: sapui5-mobile-opt-static.zip or sapui5-mobile-static.zip. SAPUI5 supports two options for building mobile apps- it can be used as a web application loaded from a URL or it can also be developed as a hybrid app consisting of a native app wrapper.Example: PhoneGap and an HTML viewer to display the SAPUI5 content on the user interface.Note that “sapui5-mobile-opt-static.zip” or “sapui5-mobile-static.zip” packages are not contained in the SAPUI5 runtime deployment. The packages are contained in the SCN download version of SAPUI5 and in the Open Source version OpenUI5.SAP provides a detailed documentation of these packages:https://help.sap.com/saphelp_nw74/helpdata/en/29/3eb945f0e945aaa776812481b4c533/frameset.htmIf you check out ... Read More
114 Views
The SAPUI5 framework is the original version of the SAP toolkit which was released initially. This version of the toolkit is a proprietary version. Later SAP released an Open source version of it named OpenUI5. Functionally it is almost equivalent in terms of basic operations negating few features but overall sufficient enough as a UI framework.This UI5 framework (applies to both SAPUI5 and OpenUI5) is capable of dispensing all major tasks expected from a full-fledged UI framework. It supports following features:Model View Controller architectureRouting engineModules with the help of module loadersFull data binding either in XML, JSON or using web servicesCulture ... Read More
920 Views
Your service end point is incorrect- var oModel = new sap.ui.model.odata.v2.ODataModel("http://admin- think:88/sap/...",{useBatch : true});.To fix this issue, you need to remove “CoreOpenAppSet()” portion of the variable which is getting passed to ODataModel constructor. You need to pass function import using ODataModel- “oModel.callFunction()”.Once function call is completed, you can bind the result using “setBindingContext” as in below code −var oPromise = oModel.callFunction("/CoreOpenAppSet"); oPromise.contextCreated().then(function(oContext) { oView.setBindingContext(oContext); });
110 Views
Note that SAP UI5 1.14 version supports Tree map and older version like 1.12 doesn’t have Tree map. You can try using below link: http://jsbin.com/aku-test-treemap-exists/1/edit?html,outputIt returns the code of tree map constructor, try loading your own copy sap-ui-core-js of UI5.
372 Views
This can be done in multiple ways. One of common approach would be by passing user name/password in URL.$.ajax({ url : "http://user:password@url/SERVICE?$format=json", type: "GET", //or POST? dataType: "jsonp", success: function(){alert("ok")}, error: function(){alert("error")} })
530 Views
This can be done using an OData service that accepts POST request from your UI5 application and writes data to a database table. While implementing OData service, you have to call ABAP Backend Class method.You have to remember that all application and classes are instantiated for processing and will end as soon as the request is completed. An OData service can be created using SAP Gateway Service Builder (SEGW).Following steps has to be performed for creating an OData service:Creation of Data ModelGenerate Runtime ObjectsRegistration of ServiceService ImplementationOnce you create a project in Gateway Service Builder, you have to create Entity ... Read More