Swarali Sree has Published 74 Articles

What are checked exceptions in Java?

Swarali Sree

Swarali Sree

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

749 Views

A checked exception is an exception that occurs at the time of compilation, these are also called as compile time exceptions. These exceptions cannot simply be ignored at the time of compilation; the programmer should take care of (handle) these exceptions. if you use FileReader class in your program to ... Read More

What is the difference between a Java method and a native method?

Swarali Sree

Swarali Sree

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

388 Views

A native method is the one whose method implementation is done in other languages like c++ and Java. These programs are linked to Java using JNI or JNA interfaces. The difference between normal method and native method is That the native method declaration contains native keyword and, the implementation of ... Read More

What is the difference between System.out, System.in and System.err streams in Java?

Swarali Sree

Swarali Sree

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

946 Views

All the programming languages provide support for standard I/O where the user's program can take input from a keyboard and then produce an output on the computer screen. Similarly, Java provides the following three standard streams:Standard Input: This is used to feed the data to user's program and usually a ... Read More

What is Runnable interface in Java?

Swarali Sree

Swarali Sree

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

431 Views

If your class is intended to be executed as a thread, then you can achieve this by implementing a Runnable interface. This belongs to the java.lang package.

How to find the file using Java?

Swarali Sree

Swarali Sree

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

99 Views

Following example shows the way to look for a particular file in a directory by creating a File filter. Following example displays all the files having file names beginning with 'b'.ExampleLive Demoimport java.io.*; public class Main {    public static void main(String[] args) {       File dir ... Read More

RFC returns exception while using SAP RFC_READ_TABLE to output data to software

Swarali Sree

Swarali Sree

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

297 Views

You can check if there are any short dumps in SAP system using T-Code: ST22. When there are short dumps, it leaves ABAP Processor in an invalid state. This results in a failed call with an unspecified error message.

How is GENTRAN used in Electronic data interchange EDI in SAP?

Swarali Sree

Swarali Sree

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

326 Views

Let me give you a basic info about electronic data interchange, it is used to exchange data (usually structured) between firms.Speaking about GENTRAN, it is one of the available EDI tools which can help you parse data in most of the common formats available. If you want to change the ... Read More

Transaction Jobs with no access to SM36 in SAP system

Swarali Sree

Swarali Sree

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

181 Views

There are few modules which let you schedule jobs programmatically like ‘JOB_OPEN’ or ‘JOB_CLOSE’. You can use these modules to schedule the job and then run it.You can programmatically handle it irrespective of privilege issue.

What is concurrency in Java?

Swarali Sree

Swarali Sree

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

426 Views

The ability to run multiple programs or parts of programs (threads) in parallel is known as concurrency.A multi-threaded program contains two or more parts that can run concurrently and each part can handle a different task at the same time making optimal use of the available resources especially when your ... Read More

BAPI to upload documents to SAP system is throwing an exception

Swarali Sree

Swarali Sree

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

366 Views

As mentioned in exception message, it seems that the function module tries to access GUI related function and it doesn’t support BAPIs. So it seems to be a custom RFC module or there is some bug in SAP coding and you should open a support ticket with SAP.Also, you shouldn’t ... Read More

Advertisements