SAP PI/PO is more relevant to use when your entire landscape is of SAP modules. SAP Process Integration is a part of the SAP NetWeaver platform. It is called SAP NetWeaver Exchange Infrastructure XI in NetWeaver 7.0 ehp2 and older versions. SAP NetWeaver Process Integration is a part of the NetWeaver software component and is used for the exchange of information in company’s internal system or with external parties.SAP PI/XI enables you to set up cross-system communication and integration and allows you to connect SAP and non-SAP systems based on a different programming language like Java and SAP ABAP. It ... Read More
JDK 1.5 introduced a new for loop known as foreach loop or enhanced for loop, which enables you to traverse the complete array sequentially without using an index variable.ExampleLive Demopublic class ArrayUsingForEach { public static void main(String[] args) { double[] myList = {1.9, 2.9, 3.4, 3.5}; for (double element: myList) { System.out.println(element); } } }Output1.9 2.9 3.4 3.5
Maximum column name length supported in a table in SAP HANA is 127 chars.
The maximum number of columns in a table is 1000.
Internationalization enhancements for Java 9 include enabling of CLDR Locale Data by Default.There are four distinct sources for locale data identified by using the below keywords:CLDR: The locale data provided by a Unicode Common Locale Data Repository (CLDR) project.HOST: The current user’s customization of an underlying operating system’s settings. Depending on the operating system, formats like date, time, number, and currency can be supported.SPI: The locale-sensitive services implemented in installed SPI providers.COMPAT (JRE): The locale data that is compatible with releases prior to Java 9. The JRE can still be used as a value but deprecated, and removed in the future.In Java ... Read More
Maximum table name length supported in SAP HANA is 127 characters.
In SAP HANA, a maximum number of tables in a schema are 131072. To create a table, you have to right click on Schema name → New Table
ExampleFollowing is the required program.Live Demopublic class Tester { public static int getThirdSmallest(int[] a) { int temp; //sort the array for (int i = 0; i < a.length; i++) { for (int j = i + 1; j < a.length; j++) { if (a[i] > a[j]) { temp = a[i]; a[i] = a[j]; a[j] = temp; } } } //return third smallest element return a[2]; } public static void main(String args[]) { int a[] = { 11,10,4, 15, 16, 13, 2 }; System.out.println("Third Smallest: " +getThirdSmallest(a)); } }OutputThird smallest: 10
In SAP HANA, you can create a Graphical Calculation view or SQL script based view. The graphical view is easy to develop and you don’t require to be an expert in SQL scripting.When you create a Calculation View, we get an option which type of view we want to create. It is recommended that you should prefer to Graphical Calculation views as you can easily achieve parallel processing and other performance benefits associated with HANA.To create a Calculation view- SQL Script or Graphical view, you have to go to a package and right click → New → Calculation ViewSelect Type ... Read More
Yes, when an Analytic Privilege is defined you have an option of using it for a specific time period. You have an option of defining Privilege validity where you can pass validity details.You can also opt for SQL Editor or Dynamic where you can pass different validity conditions. When you use SQL option you can pass a SQL query and it will be set as per SQL queryFor Dynamic option, you can pass Stored Procedure to define validity.