Build JCo Server without Using a Properties File in SAP

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

216 Views

You can create your own implementation of DDP and then register using Environment.registerDestinationDataProvider().

What is Just-In-Time (JIT) Compiler and Its Functionality

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

363 Views

Java uses javac (compiler) to convert the java code to byte code (.class file).Then, JVM internally converts the bytecode to system understandable code using an interpreter in addition to it JVM.Instead of executing a piece of code, again and again, JVM identifies them as “hot spots” and compiles them using Just in time compiler and, later reuses the same when required.

Set the First Day of the Week in SAP M DatePicker Calendar

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

156 Views

I don’t think there is any recommended way to access internal calendar in Datepicker. I would suggest you raise a function request in Openui5 using GitHub.

Java Platform Independence Explained

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

392 Views

When you compile Java programs using javac compiler it generates bytecode. We need to execute this bytecode using JVM (Java Virtual machine) Then, JVM translates the Java bytecode to machine understandable code.You can download JVM’s (comes along with JDK or JRE) suitable to your operating system and, once you write a Java program you can run it on any system using JVM.

Difference Between Compile-Time Errors and Run-Time Errors in Java

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

518 Views

Compile time errors are syntactical errors in the code which hinders it from being compiled. Example public class Test{ public static void main(String args[]){ System.out.println("Hello") } } Output C:\Sample>Javac Test.java Test.java:3: error: ';' expected System.out.println("Hello") An exception (or exceptional event) is a problem that arises during the execution of a program. When an Exception occurs the normal flow of the program is disrupted and the program/Application terminates abnormally, which is not recommended, therefore, these exceptions are to be handled. Example ... Read More

Extending SAP ABAP 30 Characters Limit

Johar Ali
Updated on 30-Jul-2019 22:30:20

1K+ Views

For SAP ABAP tables, you can enter up to maximum 16 characters. There is a limit of up to 30 characters on use of ABAP Variables, Classes and Method.When you run SE11 you can press F1 and it will show you maximum permitted limit on SAP ABAP Table name.It is not possible to extend this limit as for this you need to make changes in Kernel.

What are Final Classes in Java

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

11K+ Views

The final modifier for finalizing the implementations of classes, methods, and variables. The main purpose of using a class being declared as final is to prevent the class from being subclassed. If a class is marked as final then no class can inherit any feature from the final class. You cannot extend a final class. If you try it gives you a compile time error. Example final class Super { private int data = 30; } public class Sub extends Super{ public static void main(String args[]){ } } Output ... Read More

Edit Report Generated from SAP Crystal Reports

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

424 Views

It does not seem to be feasible to edit the report once generated. You cannot add a constraint or logic to allow your report to be editable.But there does exist a work around, what you can do is: First export the report and then you can change the mode of the document toRestrict Change or Editing. You can write custom code to perform this operation.

What is Meant by Java Being Write Once, Run Anywhere Language

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

400 Views

Unlike many other programming languages including C and C++, when Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. This byte code is distributed over the web and interpreted by the Virtual Machine (JVM) on whichever platform it is being run on. Thus when you write a piece of Java code in a particular platform and generated an executable code .class file. You can execute/run this class file on any system the only condition is that the target system should have JVM (JRE) installed in it. In Short, If you have a ... Read More

When to Use Vararg Methods in Java

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

218 Views

Whenever, you want to pass different number of arguments each time you call a method you should use vararg methods. This example creates sumvarargs() method which takes variable no of int numbers as an argument and returns the sum of these arguments as an output. Example Live Demo public class Main { static int sumvarargs(int... intArrays) { int sum, i; sum = 0; for(i = 0; i< intArrays.length; i++) { ... Read More

Advertisements