What are checked exceptions in Java?

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

1K+ 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 data from a file, if the file specified in its constructor doesn't exist, then a FileNotFoundException occurs, and the compiler prompts the programmer to handle the exception. Example import java.io.File; import java.io.FileReader; public class FilenotFound_Demo { public static void main(String args[]) { ... Read More

RFC or BAPI for displaying change documents in SAP

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

640 Views

You need to set up a workflow engine and then customize event generation. Next is to write down a Java service to connect to SAP system using Java Connector and then register a RFC server. For this, you have to follow steps:Navigate to Transaction SM59 -> Expand TCP/IP connections directory and click on Create (F8).In the RFC destination field, enter the name of the RFC destination system. Next is to set the connection type to T (Start an external program through TCP/IP).Next is to provide a Function Module handler that can be called using tRFC from SAP system -> Next ... Read More

How to pass import parameter values using SAP RFC class?

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

572 Views

Check the below link to know detail about SAPRFC class. https://github.com/sensational/php-saprfc/tree/php7https://github.com/piersharding/php-sapnwrfc

What is a JAR file?

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

3K+ Views

A java archive file is a file format/ archiving tool which contains all the components of an executable Java application. All the predefined libraries are available in this format. To include any of these (other than rt.jar) in to your project you need to set the class path for this particular JAR file. You can create a JAR file using the command line options or using any IDE’s. Creating a Jar file You can create a Jar file using the jar command as shown below. jar cf jar-file input-file(s) Let us consider an example, create a Sample Java ... Read More

What are native methods in Java and where are they used?

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

2K+ Views

A native method in Java is a method whose implementation is written in other languages such as c and c++. The ‘native’ keyword is used before a method to indicate that it is implemented in other language.

Generating SAP ABAP code/ script from XML coming from an external application

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

952 Views

Yes, this is feasible. You can create simple transformation for XML in ABAP. You can also use cl_proxy_xml_transform to transform data between XML and ABAP. Let us say that you have created ABAP proxy using T-Code: SPROXY or it is generated via WebService generation utility, you can use utility class “cl_proxy_xml_transform” to convert data of the ABAP to XML format or also from XML → ABAP.

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

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

714 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

135 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

883 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

Advertisements