Swarali Sree

Swarali Sree

48 Articles Published

Articles by Swarali Sree

Page 5 of 5

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

Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 673 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 the method will be other programming language. Example Tester.java public class Tester { public native int getValue(int i); public static void main(String[] args) { System.loadLibrary("Tester"); System.out.println(new Tester().getValue(2)); ...

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 2K+ 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 keyboard is used as a standard input stream and represented as System.in.Standard Output: This is used to output the data produced by the user's program and usually a computer screen is used for standard output stream and represented as System.out.Standard Error: This is used to output the error data produced ...

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

Read More

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

SAP
Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 498 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 format of data from one to another, GENTRAN can do it for you too.Coming up to the most exciting part of it, it provides a drag and drop interface to you where you can program.Usually, when you need to convert a document from one format to another, you need to ...

Read More

Transaction Jobs with no access to SM36 in SAP system

SAP
Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 306 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.

Read More

BAPI to upload documents to SAP system is throwing an exception

Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 505 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 use GUI services in non-GUI operations, and it is not suggested to use class cl_gui_frontend_services and functions GUI_* and you should use OPEN_DATASET FOR INPUT/OUTPUT instruction in RFC function.

Read More

Using EF to insert data into SAP Business One.

SAP
Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 246 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 because a basic operation also results in updating many tables. In simple words, a lot of data manipulation happens. So in case you still stick to using EF, then you will need to take care of doing that on your own.

Read More

What is a method signature in Java?

Swarali Sree
Swarali Sree
Updated on 30-Jul-2019 8K+ Views

The method signature consists of the method name and the parameter list. Example Live Demo public class MethodSignature { public int add(int a, int b){ int c = a+b; return c; } public static void main(String args[]){ MethodSignature obj = new MethodSignature(); int result = obj.add(56, 34); System.out.println(result); } } Output 90 Method ...

Read More
Showing 41–48 of 48 articles
« Prev 1 2 3 4 5 Next »
Advertisements