Process Before Output and Process After Input Initiate Commits in ABAP

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

296 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

550 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

Convert Array to Set in Java

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

4K+ 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]

Difference Between JavaScript, JScript, and ECMAScript

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

1K+ 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.

Open Standardized File Format for Exporting Invoices in SAP ERP System

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

171 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

Available Options for Data Integration in SAP

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

155 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.

Convert Byte Array to Hex String in Java

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

600 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

Relationship Between JavaScript, CoffeeScript, TypeScript, ES5, and ES6

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

192 Views

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.

Determine Table or Structure of ABAP Code

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

308 Views

abc would be a table and its line will be of type PPP. For structure, you need to code asabc TYPE PPP

Perform Repetitive Aggregation Over a Field in a SAP HANA Table

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

123 Views

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.

Advertisements