Swarali Sree has Published 72 Articles

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

Swarali Sree

Swarali Sree

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

598 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

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

How to find the file using Java?

Swarali Sree

Swarali Sree

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

165 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

496 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

452 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

262 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

538 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

463 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

How to cast a list of strings to a string array?

Swarali Sree

Swarali Sree

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

431 Views

The java.util.ArrayList.toArray() method returns an array containing all of the elements in this list in proper sequence (from first to last element).This acts as bridge between array-based and collection-based APIs. You can convert a list to array using this method of the List class − Example Live Demo ... Read More

Using EF to insert data into SAP Business One.

Swarali Sree

Swarali Sree

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

211 Views

You are absolutely correct. You cannot use anything other than DI to perform data manipulation.Because if you violate this, the warranty is void and SAP would stop any kind of support it.Coming to your point of using EF in your project, I will issue a simple warning to you just ... Read More

Advertisements