References Not Allowed in SAP Remote Function Call

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

407 Views

You are trying to make use of references but you should be aware that it is accessible only with the same stack and in your case, it is not. You are creating a remote function module and here references will not work. So, you should be going with parameters as ‘pass by value’ instead of ‘pass by reference’.

Check List of Existing Authority Objects in SAP System

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

562 Views

To maintain authorization objects, you can use T-code: SU21 in SAP ECC system.You can all authorization objects including S_CARRID is located inside the different class like - BC_C object class.

Why Method Overloading Cannot Be Achieved by Changing Only the Return Type in Java

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

3K+ Views

Overloading is the mechanism of binding the method call with the method body dynamically based on the parameters passed to the method call. If you observe the following example, it contains two methods with same name, different parameters and if you call the method by passing two integer values the first method will be executed and, if you call by passing 3 integer values then the second method will be executed.It is not possible to decide to execute which method based on the return type, therefore, overloading is not possible just by changing the return type of the method. Example ... Read More

Using AT FIRST to Initialize Variables in Loop in SAP ABAP

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

189 Views

There would not be much of difference in both ways. The only thing is without AT_FIRST, the counter variables will be cleared in all cases while using AT_FIRST, the counter variables will be cleared only if there is at least one execution of the loop. So, the only difference would come into the picture if ls_itab is empty.

Recovery Database SBO COMMON in SAP Business One

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

1K+ Views

In SAP Business One, SBO-Common is only used in functionality handling or following your company database. Normal day to day business functions happens entirely in the company database. You can create a new set of sample database SBO-COMMON by reinstalling SAP B1 server. SBO-Common database holds this information − DB List (DB's which having SAP DB Structures) DB Details like Version, Upgrade Details License Details For more details about SBO-COMMON database, you can refer below link − https://archive.sap.com/discussions/thread/1447063

Same Features in SAP ABAP as in Visual Studio

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

119 Views

If you want to show all the occurrences of a variable in an ABAP program, you can use a shortcut- ctrl+shift+F3 or you can also make use of Yellow icon at the top.

Can We Overload the Main Method in Java

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

3K+ Views

Yes, we can overload the main method in Java, but When we execute the class JVM starts execution with public static void main(String[] args) method. Example Live Demo public class Sample{ public static void main(){ System.out.println("This is the overloaded main method"); } public static void main(String args[]){ Sample obj = new Sample(); obj.main(); } } Output This is the overloaded main method

Restart Dead Thread in Java

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

2K+ Views

A thread goes through various stages in its lifecycle. For example, a thread is born, started, runs, and then dies. New − 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. Runnable − After a newly born thread is started, the thread becomes runnable. A thread in this state is considered to be executing its task. Waiting − Sometimes, a thread transitions to the waiting state while the thread waits for another thread to perform a task. ... Read More

Are There Inline Functions in Java?

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

4K+ Views

If a function is inline, the compiler places a copy of the code of that function at each point where the function is called at compile time. Any change to an inline function could require all clients of the function to be recompiled because compiler would need to replace all the code once again otherwise it will continue with old functionality. No, Java does not provide inline functions it is typically done by the JVM at execution time.

What is Concurrency in Java

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

564 Views

The ability to run multiple programs or parts of programs (threads) in parallel is known as concurrency.A multi-threaded program contains two or more parts that can run concurrently and each part can handle a different task at the same time making optimal use of the available resources especially when your computer has multiple CPUs. Multi-threading enables you to write in a way where multiple activities can proceed concurrently in the same program.

Advertisements