Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
SAP UI5 Articles
Found 20 articles
Getting data in SAPUI5 application from backend tables in NetWeaver
Note: Eclipse is just a standard editor to develop UI5 applications. You should use SAP Web IDE which is one of the recommended editors now for SAPUI5 development. When your backend system is a NetWeaver system, Gateway and OData services would be the recommended way to retrieve data from backend tables. Overview of Data Retrieval Architecture In SAPUI5 applications connected to NetWeaver backend systems, the data flow follows this pattern − SAPUI5 App OData Service ...
Read MoreRequest Timeout while using Odata call to a gateway in SAPUI5 application
When encountering request timeout issues while making OData calls to a gateway in SAPUI5 applications, the problem often lies in the server-side timeout configurations rather than the client-side code. This typically occurs when ICM (Internet Communication Manager) and Web Dispatcher timeout settings are insufficient for your application's requirements. Understanding SAP Timeout Parameters In SAP systems, ICM and Web Dispatcher control different types of timeouts through specific parameters − Connection timeout: icm/conn_timeout − Controls the timeout for opening a connection Request timeout: icm/traffic_control − Controls the timeout for receiving ...
Read MoreSAP UI5 framework and comparison with JQuesry and Backbone, Angular, etc.
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 ...
Read MoreSending a table from UI5 application to ABAP Function Module
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 MorePassing to method geticon in SAPUI5
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/#/topic/07e4b920f5734fd78fdaa236f26236d8
Read MoreAccessing element which is defined SAPUI5 application
You could try using the below code −var iconTabBar = sap.ui.getCore().byId("vwDetails--itabBar")
Read MoreOnInit method is not getting called again when navigating back and forth from a view in SAPUI5
You have identified the correct use case as it is by design as you have navigated back and forth, it renders the last version rendered and OnInit() does not gets called. But if you want to override this behavior, SAP lets you do it.You can delegate to the patternMatched event of router, so that wheever the view is rendered the OnInit() method is invoked.this.getOwnerComponent().getRouter().getRoute("").attachPatternMatched(, this);You need to attach the even handler to the router in the init method of the controller. Hope it helps and sorts out your requirement.
Read MoreHow to show only one view at a time in Wizard in SAP UI5?
I will say not it is not a big out of box requirement. You can easily get it done. What you need to do is to hook up your requirement in the complete event of the wizard which gets invoked on each step completion. You just need to hide the completed view and show the next view. So you will be viewing only one view at a time.onComplete: function(oEvent) { var wdStep = oEvent.getSource(); wdStep.setVisible(false); }
Read MoreNot able to call another function within initialize method of controller in SAP UI5.
Yes, you are absolutely correct. It is very basic thing, you just need to use this operator for making the function call.onInit: function() { //Your logic this.CustomFunction(); } CustomFunction : function () { // some logic }
Read MoreRows with no data are visible after applying search in grid SAP UI5
The “No Data” rows are being shown in the grid irrespective of having no data is because of the “VisibleRowCount” attribute of the control. It controls the number of visible rows. So, once you are binding the table again after applying the filters, you need to update it dynamically to the number of rows in the matched result.Something similar to this −onBindingChange: function(oEvent) { this.getView().byId("").setVisibleRowCount(oEvent.getSource().getLength()); }
Read More