What is the difference between JavaScript and ECMAScript?

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

3K+ Views

JavaScriptJavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers.The standard of scripting languages like JavaScript is ECMAScript.ECMAScriptThe full form of ECMA is European Computer Manufacturer's Association. ECMAScript is a Standard for scripting languages such as JavaScript, JScript, etc. It is a trademark scripting language specification. JavaScript is a language based on ECMAScript. A standard for scripting ... Read More

Standards for maintaining Customer Repository Objects in SAP

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

77 Views

The Y-namespace is meant to be used for centrally developed solutions or also known as head office while the Z-namespace is used for local developed solutions or also known as branch office. But at the end of day, it all depends on the developer how he uses it.

Using memory analyzer in SAP

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

187 Views

There are lots of free and proprietary tools to do the same. You can use Memory Analyzer project done by SAP. It lets you find memory leaks against in-memory objects via simple SQL statements. Also, you can use JHAT (Java Heap Analysis tool) command line tool to examine the memory. It lets you examine heap memory via histogram and can be of good help. Also, you can go for HeapWalker from Netbeans or Visual VM. Also, Eclipse has Eclipse memory analyzer which is a freeware and can handle good size with dump and provides a fair deal of memory analysis.Read More

Does Process before output and process after input initiate commits in ABAP?

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

134 Views

Yes, the PBO-PAI triggers commit so your requirement will fail. You need to make changes to your current implementation to avoid the auto-commit.

What are Java classes?

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

472 Views

A class in Java is a user-defined datatype, a blueprint, a classification, that describes the behavior/state that the object of its type support. Example public class Dog { String breed; int age; String color; void barking() { } void hungry() { } void sleeping() { } } A class can contain any of the following variable types. Local variables − Variables defined inside methods, constructors or blocks are called local ... Read More

How to convert an Array to a Set in Java?

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

2K+ Views

One solution to add an array to set is to use the addAll() method of the Collections class. This method accepts a collection and an element and, it adds the given element to the specified Collection. Example Live Demo import java.util.Collections; import java.util.HashSet; import java.util.Set; public class ArrayToSet { public static void main(String args[]) { Integer[] myArray = {23, 93, 56, 92, 39}; Set set = new HashSet(); Collections.addAll(set, myArray); System.out.println(set); } } Output [23, 39, 56, 92, 93]

What is the difference between JavaScript, JScript & ECMAScript?

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

744 Views

JavaScriptJavaScript is a language based on ECMAScript. A standard for scripting languages like JavaScript, JScript is ECMAScript. JavaScript is considered as one of the most popular implementations of ECMAScript.ECMAScriptThe full form of ECMA is European Computer Manufacturer's Association. ECMAScript is a Standard for scripting languages such as JavaScript, JScript, etc. It is a trademark scripting language specification.JScriptJScript released in 1996 by Microsoft, as Microsoft’s dialect of ECMAScript. JScript and JavaScript are different names for the same language. They have different names to avoid trademark issues.

What is the open/standardized file format for exporting invoices in SAP ERP System?

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

91 Views

SAP uses IDoc known as an intermediate document to exchange data between logical systems. If your system involves non-SAP systems as well, then IDoc can be used as a standard interface for data exchange between SAP and non-SAP systems.IDoc is a container for information exchange. IDoc is made by message type and method of Objects when information is to be exchanged. The message type is the configuration in which the information for a particular business process is transmitted electronically. An IDoc consists of several data segments, headers and status records. Also, it can be extended by extending IDoc types to add ... Read More

What are the available options for Data integration in SAP?

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

88 Views

Yes, there exists an equivalent. You can go for using SAP HANA Smart Data Integration also known as SDI. It is a standard offering of SAP for data integration.  You don’t require any additional infrastructure for this, like a separate server or other. There are lots of blogs and online help which can help you to start on SDI.You can also check out for Data services but that is too complex and may be excessive for the mentioned usage.

How to convert a byte array to a hex string in Java?

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

343 Views

The printHexBinary() method of the DatatypeConverter class accepts a byte array and returns a hex string.Exampleimport javax.xml.bind.DatatypeConverter; public class ByteToHexString { public static void main(String args[]) { String sam = "Hello how are you how do you do"; byte[] byteArray = sam.getBytes(); String hex = DatatypeConverter.printHexBinary(byteArray); System.out.println(hex); } }Output48656C6C6F20686F772061726520796F7520686F7720646F20796F7520646F

Advertisements