What should I prefer to connect to SAP HANA database- extended services or other ODBC technique?

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

224 Views

As you had already mentioned that extended services are natively integrated with HANA, so it’s going to be easier to use against HANA but as it is native to HANA only it can’t be used elsewhere.  It will be faster when you compare it against ODBC because the extra step will be avoided here as it is native to HANA. Also, as it is integrated other factors like latency and other would be out of question which can be considerable factors with ODBC.Extended Services follow the MVC architecture so you need not worry about the implementation style as it will ... Read More

Using memory analyzer in SAP

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

447 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

340 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 is the open/standardized file format for exporting invoices in SAP ERP System?

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

213 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

192 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

704 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

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

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

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

How to declare a class in Java?

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

14K+ Views

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

356 Views

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.

Why do Java array declarations use curly brackets?

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

744 Views

Curly brackets usually denote sets and ensembles while parenthesis usually in most Algol-based programming languages curly braces are used to declare arrays.

Advertisements