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

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

568 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

What is the Thread class in Java?

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

283 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
Updated on 30-Jul-2019 22:30:20

167 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

Can a method return multiple values in Java?

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

9K+ 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
Updated on 30-Jul-2019 22:30:20

747 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 are Python exceptions named "Error" (e.g. ZeroDivisionError, NameError, TypeError)?

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

104 Views

We see that most exceptions have their names ending in word ‘error’ pointing that they are errors which is the meaning of exceptions anyway.Errors in restricted sense are taken to mean syntax errors in python and those errors occurring at run time are called exceptions. As we know that classes do not have ‘class’ in their name; and similarly variables do not have names ending in ‘variable’ and so on. So there is no case that exceptions should have names ending in the word ‘exception’.Consider this; not all exceptions are errors. SystemExit, KeyboardInterrupt, StopIteration, GeneratorExit are all exceptions and not ... Read More

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

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

304 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

Resource routing not working when using SAP Fiori

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

214 Views

The issue you are facing is because you have created both the applications with the same ID. Hence, the Launchpad is not able to distinguish between them and load into the context.You can change the application Id and all the references of the same to resolve the issue you are facing.Facing issue with SAP JCO server connectivity when system out of network.

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

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

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

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

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

128 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

Advertisements