Karthikeya Boyini has Published 2550 Articles

What are annotations in Java?

karthikeya Boyini

karthikeya Boyini

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

454 Views

Annotations are a tag (metadata) which provides info about a program. Annotations in Java Start with the symbol ‘@’. They are used by the compiler to detect errors. Software tools to generate code. They are used to show attributes of an element: e.g. @Deprecated, @Override. Annotation are used to ... Read More

What is the difference between abstraction and encapsulation in Java?

karthikeya Boyini

karthikeya Boyini

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

592 Views

As per dictionary, abstraction is the quality of dealing with ideas rather than events. For example, when you consider the case of e-mail, complex details such as what happens as soon as you send an e-mail, the protocol your e-mail server uses are hidden from the user. Therefore, to send ... Read More

What is the difference between Component class and Container class in Java?

karthikeya Boyini

karthikeya Boyini

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

4K+ Views

The class Component is the abstract base class for the non-menu user-interface controls of AWT. A component represents an object with graphical representation. The class Container is the superclass for the containers of AWT. The container object can contain other AWT components.

Identify required fields for an MB01 transaction in SAP

karthikeya Boyini

karthikeya Boyini

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

174 Views

As you have mentioned that you have access to SAP system. The solution lies within. Specify the transaction SE37 and mention the BAPI call that you have identified. It will navigate you to proper documentation of the call.But in order for that documentation to be of any help, you will ... Read More

Invoke a Web service from AJAX in SAP application

karthikeya Boyini

karthikeya Boyini

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

155 Views

It does not change much in SAP. How you have been doing in other projects like .NET or other, you need to incorporate the same.You need to send a POST or GET request to the intended service with the help of URL.In order to get the URL, you need to ... Read More

Is it possible to exclude subclasses from the results displayed in backoffice in SAP?

karthikeya Boyini

karthikeya Boyini

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

55 Views

You can uncheck the option - Include subtypes in a search bar and this will only give you the results of the parent type.

What is the Thread class in Java?

karthikeya Boyini

karthikeya Boyini

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

267 Views

The java.lang.Thread class is a thread of execution in a program. The Java Virtual Machine allows an application to have multiple threads of execution running concurrently. Following are the important points about Thread −Every thread has a priority. Threads with higher priority are executed in preference to threads with lower ... Read More

How to read data from scanner to an array in java?

karthikeya Boyini

karthikeya Boyini

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

9K+ Views

The Scanner class of the java.util package gives you methods like nextInt(), nextByte(), nextFloat() etc. to read data from keyboard. To read an element of an array uses these methods in a for loop:Example Live Demoimport java.util.Arrays; import java.util.Scanner; public class ReadingWithScanner {    public static void main(String args[]) { ... Read More

How to sort a random number array in java?

karthikeya Boyini

karthikeya Boyini

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

1K+ Views

To sort an array in Java, you need to compare each element of the array to all the remaining elements and verify whether it is greater if so swap them.One solution to do so you need to use two loops (nested) where the inner loop starts with i+1 (where i ... Read More

Usage of subqueries in internal table as condition in SAP ABAP source code.

karthikeya Boyini

karthikeya Boyini

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

240 Views

Note that if you specify an OPTIONS parameter with parenthesis, it will show an error. When you use Where (itab)In this case, itab has only one field with type C and shouldn’t be longer than 72 characters. “Itab” must be specified in parenthesis without any space between parenthesis and table ... Read More

Advertisements