Ali

Ali

32 Articles Published

Articles by Ali

Page 2 of 4

Including third party libraries in SAPUI5 Project

Ali
Ali
Updated on 13-Mar-2026 528 Views

Including third party libraries in your SAPUI5 project allows you to leverage external functionality and extend your application capabilities. SAPUI5 provides several methods to incorporate these libraries safely and efficiently. Using jQuery.sap.require Method For libraries that are already included with SAPUI5, you can use the jQuery.sap.require method to load them. Here's how you would include jQuery UI components − jQuery.sap.require("sap.ui.thirdparty.jqueryui.jquery-ui-core"); This method ensures that the library is loaded properly within the SAPUI5 framework and maintains compatibility with the application lifecycle. Security Considerations When working with third party libraries, security is a crucial ...

Read More

Generating range of numbers 1...n in SAP HANA

Ali
Ali
Updated on 13-Mar-2026 662 Views

In SAP HANA, you can generate a range of numbers from 1 to n using different approaches. This is particularly useful when you need to populate tables with sequential data or create test datasets. Method 1: Using FOR Loop You can use a FOR loop to iterate through a range of numbers and insert them into a table − FOR START_CID IN 1..1000 DO INSERT INTO "TEST_TABLE" VALUES(START_CID, ''); END FOR; This loop will iterate from 1 to 1000 and insert each number as a CID value along with an ...

Read More

Inserting Array list into HANA database

Ali
Ali
Updated on 13-Mar-2026 596 Views

To insert array lists into a HANA database, you can use JDBC statements with HANA's ARRAY function. This approach allows you to store multiple values as array columns in your database table. Example The following code demonstrates how to insert array data into a HANA database table − Integer[][] myarray = { {1}, {1, 2}, {1, 2, 3, 4, 5} }; String test = "Insert Arrays"; stopWatch.start(test); myDBconn.setAutoCommit(false); Statement stmt = myDBconn.createStatement(); stmt.execute("TRUNCATE TABLE Schema.Table1"); // Running a loop over our array of arrays for (int i = 0 ; i < (myarray.length); i++) { ...

Read More

What is the difference between character literals and string literals in Java?

Ali
Ali
Updated on 11-Mar-2026 1K+ Views

Character literals represents alphabets (both cases), numbers (0 to 9), special characters (@, ?, & etc.) and escape sequences like , \b etc. Whereas, the String literal represents objects of String class. Example public class LiteralsExample { public static void main(String args[]){ char ch = 'H'; String str = "Hello"; System.out.println("Value of character: "+ch); System.out.println("Value of string: "+str); } } Output Value of character: H Value of string: Hello

Read More

Retrieving Idoc XML data from SAP system over HTTPS

Ali
Ali
Updated on 04-Mar-2024 651 Views

You can read HTTP using file_get_contents("php://input")Try using this link-https://www.php.net/manual/en/reserved.variables.php

Read More

How to filter an array in Java

Ali
Ali
Updated on 17-Jun-2020 7K+ Views

You can use List.removeAll() method to filter an array. exampleimport java.util.ArrayList; import java.util.List; public class Tester { public static void main(String[] args) { List list = new ArrayList(); list.add("A"); list.add("B"); list.add("C"); list.add("D"); list.add("E"); list.add("F"); list.add("G"); list.add("H"); List ...

Read More

Everything is stored in database in SAP system

Ali
Ali
Updated on 15-Jun-2020 1K+ Views

Note that it is easy to store data in form of SAP database tables as compared to files. You can also access files in SAP system but they are available on file system of SAP Application server and not easy to use with.With use of ABAP, you can easily raise queries against database tables and it is safe to run queries to get data. SAP has various tools that allow you to work with table entries and also to manage entire landscape easily.What databases are supported by SAP?PartnerVendorMicrosoft SQL Serverwww.microsoft.comMySQL MaxDBwww.mysql.comIBM DB2 (various versions)www.ibm.comOraclewww.oracle.comAlso SAP has its own in-memory computing ...

Read More

Create database view in SAP ABAP

Ali
Ali
Updated on 25-Feb-2020 1K+ Views

In ABAP, you can make use of Function modules - DDIF_VIEW_PUT and DDIF_VIEW_ACTIVATE for view activation. All table parameters should be defined correctly otherwise it can result in an error in the creation process.DDIF_VIEW_PUT − Interface for writing a view in the ABAP Dictionary.You can refer to below link for more details −http://www.se80.co.uk/sapfms/d/ddif/ddif_view_put.htmCALL FUNCTION 'DDIF_VIEW_PUT' "DD: Interface for writing a view in the ABAP DictionaryEXPORTINGname = " ddname Name of the view to be written * dd25v_wa = ' ' " dd25v View header * dd09l_wa = ' ' " dd09v Technical settings of the view * TABLES * dd26v_tab ...

Read More

How do I reverse an int array in Java

Ali
Ali
Updated on 24-Feb-2020 251 Views

Following program reverses an int array.Examplepublic class Tester { public static void main(String[] args) { int[] numbers = {1,2,3,4,5}; //swap the numbers till the midpoint comes for (int start = 0, end = numbers.length - 1; start

Read More

Where should jQuery code go in header or footer?

Ali
Ali
Updated on 20-Feb-2020 2K+ Views

It’s always a good practice to add jQuery code in footer i.e. just before the closing tag. If you have not done that, then use the defer attribute.Use defer attribute so the web browser knows to download your scripts after the HTML downloaded −The defer attribute is used to specify that the script execution occurs when the page loads. It is useful only for external scripts and is a boolean attribute.ExampleThe following code shows how to use the defer attribute −                 The external file added will load later, since we're using defer    

Read More
Showing 11–20 of 32 articles
Advertisements