Rishi Raj has Published 127 Articles

How does the value of system variable max_allowed_packet affect the result of a string-valued function?

Rishi Raj

Rishi Raj

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

159 Views

String-valued functions return NULL if the length of the result would be greater than the value of the max_allowed_packet system variable. Actually, max_allowed_packet is a dynamic global variable which can accept the integer type values. These values can be set for a session only. It can accept 1024 as the ... Read More

How many keywords are there in C++?

Rishi Raj

Rishi Raj

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

4K+ Views

There are a total of 95 reserved words in C++. The reserved words of C++ may be conveniently placed into several groups. In the first group, we put those that were also present in the C programming language and have been carried over into C++. There are 32 of these.There ... Read More

What does synchronized modifier do in Java?

Rishi Raj

Rishi Raj

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

998 Views

The synchronized keyword used to indicate that a method can be accessed by only one thread at a time. The synchronized modifier can be applied with any of the four access level modifiers. Example Live Demo public class TestThread { public static Object Lock1 = ... Read More

What is the difference between a String object and a StringBuffer object in java?

Rishi Raj

Rishi Raj

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

316 Views

String class is immutable once you create an object of string you can modify its data.The StringBuffer class is immutable, once you create a StringBuffer object you can change/modify the contents of it.This class provides various methods to manipulate its data such as append(), delete(), insert() etc. Read More

Error while using LOOP…..WHERE in SAP ABAP

Rishi Raj

Rishi Raj

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

230 Views

LOOP….WHERE condition was included recently in ABAP. Could you please verify your version?  This will work only on a version of 7.0 Ehp2 or higher.

Updating default value of new column in SAP system

Rishi Raj

Rishi Raj

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

275 Views

It is not good practice to update default values to a column as this will not be visible directly in the system and will not be picked by CTS. Also, there is no option in the SAP/ABAP environment of adding default values to the table column. If you choose to ... Read More

Using AT_FIRST be used to initialize variables used in loop in SAP ABAP\\\

Rishi Raj

Rishi Raj

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

108 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 ... Read More

Advertisements