Jennifer Nicholas has Published 332 Articles

Determining the current client in SAP using code

Jennifer Nicholas

Jennifer Nicholas

Updated on 18-Dec-2019 07:52:36

728 Views

You can find the current client in sy-mandt.ExampleHere is the code you can write for same.IF sy-mandt = ‘001’. *do A. ELSE. *Do B. ENDIF.

Deleting subsequent heading from report in SAP system

Jennifer Nicholas

Jennifer Nicholas

Updated on 09-Dec-2019 06:31:44

67 Views

You need to add “NO STANDARD PAGE HEADING” as followsREPORT l_report MESSAGE-ID l_message NO STANDARD PAGE HEADING.

How I can change the style of alert box using JavaScript?

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Sep-2019 08:46:21

1K+ Views

You will not be able to change the style of a standard alert box in JavaScript. To change the style, use the following custom alert box. We’re using JavaScript library, jQuery to achive this.ExampleLive Demo                       ... Read More

How to use singleton dialog in android?

Jennifer Nicholas

Jennifer Nicholas

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

544 Views

Before getting into an example, we should know what singleton design pattern is. A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency and creating a central point of access for an application to access its data store.This ... Read More

How to set/insert null values to in to a column of a row using JDBC program?

Jennifer Nicholas

Jennifer Nicholas

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

6K+ Views

You can insert null values into a table in SQL in two ways:Directly inserting the value NULL into the desired column as:Insert into SampleTable values (NULL);Using ‘ ’ as nullInsert into SampleTable values (NULL);While inserting data into a table using prepared statement object you can set null values to a ... Read More

Convolutions using Python?

Jennifer Nicholas

Jennifer Nicholas

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

226 Views

Image recognition used to be done using much simpler methods such as linear regression and comparison of similarities. The results were obviously not very good, even the simple task of recognizing hand-written alphabets proved difficult. Convolution neural networks (CNNs) are supposed to be a step up from what we traditionally ... Read More

What does int argc, char *argv[] mean in C++?

Jennifer Nicholas

Jennifer Nicholas

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

599 Views

The argc stands for argument count and argv stands for argument values. These are variables passed to main function when it starts executing. When we run a program we can give arguments to that program like:$ ./a.out helloHere hello is an argument to the executable. This can be accessed in ... Read More

Insertion and Deletion in STL Set C++

Jennifer Nicholas

Jennifer Nicholas

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

656 Views

InsertionInsertion in STL set can be done by insert() and emplace() operation.Insert(): Insert() is used to insert elements to the set. Insert operation takes a reference to an object.List of functions are used:st.size() = Returns the size of set. st.insert() = It is used to insert elements to the set.Example Code#include ... Read More

Hangman Game in Python?

Jennifer Nicholas

Jennifer Nicholas

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

486 Views

Hangman is a classic word game in which participants needs to guess as many secret words as you can before time runs out! So, it’s a nice game to learn new words, one letter at a time!So we are going to write python script for this classic game “hangman”.#importing the ... Read More

How to concat two columns in Android sqlite?

Jennifer Nicholas

Jennifer Nicholas

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

204 Views

Before getting into an example, we should know what sqlite database in android is. SQLite is an open source SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. SQLite supports all the relational database features. In order to ... Read More

Advertisements