Articles on Trending Technologies

Technical articles with clear explanations and examples

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

SAP
karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 154 Views

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

Read More

I want to limit SAP user access to Transaction Code- SOST.

SAP
Samual Sam
Samual Sam
Updated on 30-Jul-2019 969 Views

You can make use of T-code: SU24 and check objects related to SOST T-code. These are authorization objects for this Transaction - S_OC_DOC; S_OC_ROLE; S_OC_SEND; S_OC_SOSG; S_OC_TCD

Read More

What is the Thread class in Java?

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 503 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 priority.Each thread may or may not also be marked as a daemon.There are two ways to create a new thread of execution.One is to declare a class to be a subclass of Thread.Another way to create a thread is to declare a class that implements the Runnable interface.

Read More

I have SAP UI5 application that I am not able to start after adding to SAP Fiori Launchpad.

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 304 Views

This problem can be fixed by adding a / before application URL like this/sap/bc/ui5_ui5/sap/zstest/Ztest- shows name of application

Read More

Can a method return multiple values in Java?

varun
varun
Updated on 30-Jul-2019 10K+ Views

You can return only one value in Java. If needed you can return multiple values using array or an object. Example In the example given below the calculate() method accepts two integer variables performs the addition subtraction, multiplication and, division operations on them stores the results in an array and returns the array. public class ReturningMultipleValues { static int[] calculate(int a, int b){ int[] result = new int[4]; result[0] = a + b; result[1] = a - b; ...

Read More

How to count unique elements in the array using java?

Ankitha Reddy
Ankitha Reddy
Updated on 30-Jul-2019 1K+ Views

The interface Set does not allow duplicate elements, therefore, create a set object and try to add each element to it using the add() method in case of repetition of elements this method returns false − If you try to add all the elements of the array to a Set, it accepts only unique elements − Example import java.util.Arrays; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class CountingUniqueElements { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter the size ...

Read More

Why the main method has to be in a java class?

usharani
usharani
Updated on 30-Jul-2019 466 Views

Main method is the entry point of the execution in Java. When we execute a class JVM searches for the main method and execute the contents of it line by line. If you observe the following example you can compile a this program but if you try to execute it you will get an error saying “Main method not found”. Example abstract class SuperTest { public abstract void sample(); public abstract void demo(); } public class Example extends SuperTest{ public void sample(){ System.out.println("sample method ...

Read More

When a thread is created and started, what is its initial state?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 611 Views

When a new thread begins its life cycle in the new state. It remains in this state until the program starts the thread. It is also referred to as a born thread.After this newly born thread is started, the thread becomes runnable. A thread in this state is considered to be executing its task.

Read More

What is Agentry Toolkit in SAP Mobile Platform SMP 3.0 SDK? How do you use it in an application?

Monica Mona
Monica Mona
Updated on 30-Jul-2019 239 Views

Agentry toolkit provides various SDK’s to integrate with the various mobile component. With Agentry toolkit, you have a plugin to Eclipse that allows you to create modify Agentry applications.To know more about Agentry toolkit, you can refer the below SAP link:https://help.sap.com/doc/f1944845cb7b4cb886ebfbd5fa720c64/3.0.14/en-US/7c03a69470061014a336f33ca4dd4413.html

Read More

Error while using enter "!" on selection screen in SAP.

SAP
Samual Sam
Samual Sam
Updated on 30-Jul-2019 240 Views

Note that “!” this character removes all characters in the field before data is transported. So you get error message cos of this.

Read More
Showing 61221–61230 of 61,297 articles
Advertisements