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

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

751 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

Storing configuration so that it doesn't transfer to database in SAP system

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

145 Views

I don’t think it can be automated so that configuration is not copied to the database. Try checking SAP Transport and Change Management detail, it could be possible by making some changes in Transport configuration.

What is a method in Java that ends in a semicolon and has no method body?

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

904 Views

An abstract method is the one which has no definition and declared abstract. In short, an abstract method contains only method signature without body. To use this method, you need to inherit this method by extending the class and provide the method definition. Example public abstract class Employee{ private String name; private String address; private int number; public abstract double computePay(); }

SAP SuccessFactor OData API access

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

1K+ Views

You need to sign up a demo account for SAP Cloud platform. SAP SuccessFactors and SAP HANA Cloud Platform, you can easily get SAP Cloud Applications Partner center program. You have to perform some additional configuration for both.For more details, you can go through below link:https://blogs.sap.com/2013/11/25/get-your-hands-dirty-successfactors-api-access-for-hcp-based-extensions/With use of OData API, it provides with built on protocols like HTTP following the REST methodologies for data transfer. With OData API, you can make use of SuccessFactors in providing Restful integration services for HR data in SAP Cloud.SAP SuccessFactors uses OData API for extraction and still there is some crucial sets of data ... Read More

Short TEXT for all errors occurred in SAP system

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

186 Views

In SAP system, you have a table name “ SNAPT” which can be used to find the texts. To view table contents you can make use of T-Code SE16There is also a report in SAP system RSLISTDUMPS that displays the text of short dump. You can check and execute report using T-Code: SA38This report lists all runtime errors and their description.

What are number format exceptions in Java?

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

296 Views

This Exception happens once you associated convert a string variable in an incorrect format to a whole number (numeric format) that's not compatible with one another. Example public class Test { public static void main(String[] args) { int data = Integer.parseInt("hello"); } } Output Exception in thread "main" java.lang.NumberFormatException: For input string: "hello" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at a6.dateAndTime.Test.main(Test.java:5)

Displaying T-code description and T-code field in Output ALV of report SM20 in SAP system

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

440 Views

There is include rsau_class_auditlist_impl and to add an additional column into table mt_outtab you can try via an enhancement of this rsau_class_auditlist_impl.You need to add an additional Column to “ts_out_ext” in CL_SAL_READ_FILES line 145. Using this way you can enhance the definition however you have to check if it is used.

What is the difference between javac, java commands?

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

8K+ Views

The javac command is used to compile Java programs, it takes .java file as input and produces bytecode. Following is the syntax of this command. >javac sample.java The java command is used to execute the bytecode of java. It takes byte code as input and runs it and produces the output. Following is the syntax of this command. >java sample Let us consider an example create a Sample Java program with name Sample.java Sample.java public class Sample { public static void main(String args[]) { System.out.println("Hi welcome ... Read More

Getting an error message Object already exported, no package change is possible while changing a package for 250 SAP development objects

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

372 Views

This problem commonly occurs when you move development objects from Transportable enabled package to non-Transportable package. You can resolve this issue by following steps − You need to migrate legacy package using report RS_MIGRATE_PACKAGES. Check SAP Note:  https://launchpad.support.sap.com/#/notes/1711900Then legacy package' will be removed, but the package will be still non-transportable. You can recreate package after migration. Next is to delete non Transportable package and create a copy of non TMS package. Next step is to assign all development objects to package created in the previous step using report RSWBO052. You use this program “RSWBO052” (Change Object Directory Entries) to ... Read More

Error while creating a PO in SAP system from a .NET application

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

313 Views

Below is the correct sequence to invoke Function Module for automatic OP generation:ME_REFRESH_PO onceME_CREATE_PO_HEADER onceME_CREATE_PO_ITEM n timesME_POST_PO onceIn case you don’t follow this sequence, it may result in data inconsistencies.

Advertisements