What is the difference between JavaScript, JScript & ECMAScript?

Giri Raju
Updated on 30-Jul-2019 22:30:20
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
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
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
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

How to convert string to array of integers in java?

Samual Sam
Updated on 30-Jul-2019 22:30:20
You can convert a String to integer using the parseInt() method of the Integer class. To convert a string array to an integer array, convert each element of it to integer and populate the integer array with them.Example Live Demoimport java.util.Arrays; public class StringToIntegerArray { public static void main(String args[]) { String [] str = {"123", "345", "437", "894"}; int size = str.length; int [] arr = new int [size]; for(int i=0; i

What is the relationship between JavaScript, CoffeeScript, TypeScript, ES5, and ES6?

radhakrishna
Updated on 30-Jul-2019 22:30:20
JavaScriptThe base programming language in all these. ES5 and ES6 are just different versions of this languageCoffeeScriptCoffeeScript is a programming language which transcompiles to JavaScript. It’s a compiler layer on top of JavaScript.TypeScriptA language that compiles down to JavaScript. TypeScript is a method to create JavaScript code by writing it in the TypeScript dialect and compiles to JavaScript. TypeScript is a superset of JavaScript.ES5 and ES6CoffeeScript & TypeScript are the ones that support ES6 features. The compiler convert code into JavaScript (ES5). ES6 is next generation JavaScript.

Determining table or structure of an ABAP code

Smita Kapse
Updated on 30-Jul-2019 22:30:20
abc would be a table and its line will be of type PPP. For structure, you need to code asabc TYPE PPP

How to perform repetitive aggregation over a field in a SAP HANA table?

SAP Expert
Updated on 30-Jul-2019 22:30:20
The logic is pretty simple. You can define a local variable which is used for storing the total sum of all the groups. When you are performing iteration for each group, you can add the sum at the group level to the local variable.I am not suggesting code as it is very basic and straightforward.

How to declare a class in Java?

mkotla
Updated on 30-Jul-2019 22:30:20
Following is the syntax to declare a class. class className { //Body of the class } You can declare a class by writing the name of the next to the class keyword, followed by the flower braces. Within these, you need to define the body (contents) of the class i.e. fields and methods.To make the class accessible to all (classes) you need to make it public. public class MyClass { //contents of the class (fields and methods) }

What does an InfoStore refer to in SAP BO?

SAP Expert
Updated on 30-Jul-2019 22:30:20
Basically Infostore refers to the metadata about Objects and in BO terms – infoobject. An infoobject is basically an entity in SAP business Object universe. It can be a report or a user or an event as well.For E.g.: if we are speaking about an employee so an employee has a metadata like Name, Department, Designation, Salary and others. Infostore lists out this metadata when the context in Employee. So when you execute a GET request for getting infostore it returned you the metadata for an info object.
Advertisements