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
Articles by Arushi
86 articles
Using SAP BAPI API’s to extract information from client system
BAPI is an abbreviation for Business Application Programming Interface. BAPI's are proprietary interfaces of SAP. These provide standard access to SAP solution with all the semantic checks already present. Using BAPI interfaces, we can perform both synchronous and asynchronous processing of data. What are BAPIs? BAPIs are standardized programming interfaces that allow external applications to access SAP business objects and processes. They act as a bridge between SAP systems and external applications, enabling secure and controlled data exchange. Key Features of BAPIs BAPIs offer several important characteristics − Standardized Interface: ...
Read MoreInserting an Array to a table in SAP HANA database
As far as I know, there is no direct way of inserting an Array using SQL query in SAP HANA. You will first have to combine the columns (EMPL_Id + Skill Id) using the code and then do a bulk insert to the database. Array to Table Insert Methods In SAP HANA, when you need to insert array data into a table, you have several approaches to handle this limitation − Method 1: Using UNNEST Function The UNNEST function can convert an array into individual rows, which can then be inserted into a table − ...
Read MoreHow to automatically redirect a Web Page to another URL?
Page redirection is a situation where you clicked a URL to reach a page X but internally you were directed to another page Y. It happens due to page redirection.To redirect from an HTML page, use the META Tag. With this, use the http-equiv attribute to provide an HTTP header for the value of the content attribute. The value of the content is the number of seconds; you want the page to redirect after.Set the content attribute to 0, if you want the page to load the new URL immediately.ExampleThe following is an example of redirecting current page to another ...
Read MoreHow to work with document.images in JavaScript?
Use the document.images property in JavaScript to get the number of tags in a document.ExampleYou can try to run the following code to implement document.images property in JavaScript. JavaScript Example TutorialsPoint Tutorials var num = document.images.length; document.write("How many images? "+num);
Read MoreHow to set the style of the outline around an element with JavaScript?
To set the outline style, use the outlineStyle property. The outline can be solid, dotted, dashed, etc.ExampleYou can try to run the following code to set the style of the outline around an element with JavaScript − #box { width: 450px; background-color: orange; border: 3px solid red; margin-left: 20px; } ...
Read MoreHow to find the vowels in a given string using Java?
You can read a character in a String using the charAt() method. To find the vowels in a given String you need to compare every character in it with the vowel letters. Example public class FindingVowels { public static void main(String args[]) { String str = new String("Hi Welcome to Tutorialspoint"); for(int i=0; i
Read MoreHow to create a string from a Java Array?
You can convert an array of Strings to a single array using the collect() method.Exampleimport java.util.Arrays; import java.util.stream.Collectors; public class CreatngStringFromArray { public static void main(String args[]) { String [] myArray = {"Welcome", "to", "Tutorialspoint"}; String str = Arrays.stream(myArray).collect(Collectors.joining(" ")); System.out.println(str); } }OutputWelcome to Tutorialspoint
Read MoreWhat is the difference between “lang” and “type” attributes in a script tag?
JavaScript lang attributeThis attribute specifies what scripting language you are using. Typically, its value will be javascript. Although recent versions of HTML (and XHTML, its successor) have phased out the use of this attribute.JavaScript type attributeThis attribute is what is now recommended to indicate the scripting language in use and its value should be set to "text/javascript".Here you can see how it is used:
Read MoreClass declaration with a method that has a parameter in Java
A class declaration can contain a method that has a parameter in Java. A program that demonstrates this is given as follows:Exampleclass Message { public void messagePrint(String msg) { System.out.println("The message is: " + msg); } } public class Demo { public static void main(String args[]) { Message m = new Message(); m.messagePrint("Java is fun"); } }OutputThe message is: Java is funNow let us understand the above program.The Message class is created with a single member function ...
Read MoreHow to extend Interfaces in Java
An interface contains variables and methods like a class but the methods in an interface are abstract by default unlike a class. An interface extends another interface like a class implements an interface in interface inheritance.A program that demonstrates extending interfaces in Java is given as follows:Exampleinterface A { void funcA(); } interface B extends A { void funcB(); } class C implements B { public void funcA() { System.out.println("This is funcA"); } public void funcB() { System.out.println("This is funcB"); } } public class Demo { public ...
Read More