Varma has Published 54 Articles

How to deal with floating point number precision in JavaScript?

varma

varma

Updated on 10-Jan-2020 07:29:46

962 Views

To handle floating point number precision in JavaScript, use the toPrecision() method. It helps to format a number to a length you can specify.ExampleLive Demo                    var num = 28.6754;          document.write(num.toPrecision(3));          document.write(""+num.toPrecision(2));          document.write(""+num.toPrecision(5));           Output28.7 29 28.675

How to call a JavaScript function from an onmouseover event?

varma

varma

Updated on 08-Jan-2020 10:36:14

2K+ Views

The onmouseover event triggers when you bring your mouse over any element.ExampleYou can try to run the following example to learn how to call a JavaScript function from onmouseover eventLive Demo                                         Bring your mouse inside the division to see the result:                 This is inside the division          

Does a real ECMAScript implementation exist, or is it just a spec?

varma

varma

Updated on 02-Jan-2020 09:03:25

333 Views

ECMAScript is a standard for JavaScript implementation. You cannot run or download ECMAScript. JavaScript 2.0 conforms to Edition 5 of the ECMAScript standard, and the difference between the two is minor.The 8th edition, known as ECMAScript 2017, came in June 2017. ECMAScript is a Standard for scripting languages such as ... Read More

Request Timeout while using Odata call to a gateway in SAPUI5 application

varma

varma

Updated on 10-Dec-2019 09:52:36

2K+ Views

As you have already tried different parameters, I would suggest to check timeout option for ICM and Web Dispatcher.In SAP, you have ICM and Web Dispatcher with different timeouts, controlled by different parameters:Timeout for opening a connection: icm/conn_timeoutTimeout for receiving a request: icm/traffic_control Keepalive timeout for the network connection: icm/server_port_ option ... Read More

How to check all objects belong to list of TR’s in SAP system

varma

varma

Updated on 10-Dec-2019 08:33:06

7K+ Views

SAP provides standard tables that you can use to get the detail about Transport objects.E070: Change & Transport System: Header of Requests/TasksE070T: Change & Transport System: Short Texts for Requests/TasksE071: Change & Transport System: Object Entries of Requests/Tasks (This table provides you details of transport objects).E070A: Change & Transport System: ... Read More

Get access or point to SAP UI5 control

varma

varma

Updated on 10-Dec-2019 07:08:07

563 Views

You are making a small mistake over here. Method addContent is a method available for UI5 controls not over normal DOM elements.If you want to gain a reference to the button then you can try with the below snippet:this.getView().byId("").addContent(new sap.m.Button({    : }));

What is the difference between single-line and multi-line comments in JavaScript?

varma

varma

Updated on 12-Sep-2019 08:19:19

700 Views

Single Line commentThe following is a single line comment in JavaScript. Any text between a // and the end of a line is treated as a comment and is ignored by JavaScript.// This is a comment. It is similar to comments in C++Multi-Line commentThe following is a multi-line comment in ... Read More

When should I use a semicolon after curly braces in JavaScript?

varma

varma

Updated on 12-Sep-2019 08:04:37

447 Views

In JavaScript, Semicolons are optional. Simple statements in JavaScript are generally followed by a semicolon character, just as they are in C, C++, and Java. JavaScript, however, allows you to omit this semicolon if each of your statements is placed on a separate line. It is a good programming practice ... Read More

Send an Idoc using SAP.net connector 3.0 from a non-SAP system

varma

varma

Updated on 30-Jul-2019 22:30:20

811 Views

As per my knowledge, SAP doesn’t offer any development library for NCo to deal with Idocs. .Net connector is primary used for development of RFC clients.One of a common method to submit idocs to the SAP system using NCo is by using function module “IDOC_INBOUND_ASYNCHRONOUS”. This function module includes multiple ... Read More

What are the platforms that support Java programming language?

varma

varma

Updated on 30-Jul-2019 22:30:20

1K+ Views

Java runs on operating systems such as Windows, Mac OS, and the various versions of UNIX/Linux like HP-Unix, Sun Solaris, Redhat Linux, Ubuntu, CentOS, etc.

Advertisements