Jai Janardhan has Published 70 Articles

Viewing field names or tables names of the forms in SAP Business One

Jai Janardhan

Jai Janardhan

Updated on 12-Jun-2020 12:42:05

703 Views

It is possible that the older version of SAP B1 may not show you all the fields of all the forms. If you have the latest version, you should be able to see the data sources that are mapped to given field. You need to open the forms in SAP ... Read More

How -Infinity is converted to Boolean in JavaScript?

Jai Janardhan

Jai Janardhan

Updated on 23-May-2020 10:06:59

105 Views

Use the Boolean() method in JavaScript to convert to Boolean. You can try to run the following code to learn how to convert -Infinity to Boolean in JavaScript.ExampleLive Demo           Convert -Infinity to Boolean                var myVal = -Infinity;          document.write("Boolean: " + Boolean(myVal));          

How to work with document.embeds in JavaScript?

Jai Janardhan

Jai Janardhan

Updated on 20-May-2020 10:51:40

108 Views

Use the document.embeds property in JavaScript to get the number of tags in a document.ExampleYou can try to run the following code to implement document.embeds property in JavaScript.Live Demo           JavaScript Example                              var num = document.embeds.length;          document.write("How many embed tags: "+num);          

What is the correct way to check if String is empty in Java?

Jai Janardhan

Jai Janardhan

Updated on 26-Feb-2020 09:43:28

89 Views

We can verify whether the given string is empty using the isEmpty() method of the String class. This method returns true only if length() is 0.ExampleLive Demoimport java.lang.*; public class StringDemo {    public static void main(String[] args) {       String str = "tutorialspoint";       ... Read More

Searching characters in a String in Java.

Jai Janardhan

Jai Janardhan

Updated on 26-Feb-2020 06:13:58

8K+ Views

You can search for a particular letter in a string using the indexOf() method of the String class. This method which returns a position index of a word within the string if found. Otherwise it returns -1.Examplepublic class Test {    public static void main(String args[]) {       ... Read More

How Server-Sent Events Works in HTML5?

Jai Janardhan

Jai Janardhan

Updated on 25-Feb-2020 06:55:09

313 Views

Server-sent events standardize how we stream data from the server to the client. To use Server-Sent Events in a web application, you would need to add an element to the document.The src attribute of element should point to an URL which should provide a persistent HTTP connection that ... Read More

How to set the favicon size in CSS rather than HTML attributes?

Jai Janardhan

Jai Janardhan

Updated on 25-Feb-2020 06:32:28

2K+ Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size.You cannot add the size using CSS. The standards do not support adding Favicon size using CSS. Let’s add it using attributes, The result after ... Read More

Passing array to method in Java

Jai Janardhan

Jai Janardhan

Updated on 25-Feb-2020 05:05:56

210 Views

Just as you can pass primitive type values to methods, you can also pass arrays to methods. For example, the following method displays the elements in an int array -Examplepublic static void printArray(int[] array) {    for (int i = 0; i < array.length; i++) {       System.out.print(array[i] ... Read More

What does the modifier volatile in Java do?

Jai Janardhan

Jai Janardhan

Updated on 19-Feb-2020 12:41:26

416 Views

The volatile modifier is used to let the JVM understand that a thread accessing the variable should always merge its own personal copy of the variable with the original in the memory.Accessing a volatile variable synchronizes all the cached copy of the variables in the main memory. Volatile can only ... Read More

Using Breakpoint in SAP system

Jai Janardhan

Jai Janardhan

Updated on 14-Feb-2020 05:36:30

118 Views

There is a problem with your code. Here is the correct syntaxSyntaxBREAK username.If you want to implement it for all the users you can just codeBREAK-POINT.

Advertisements