Jennifer Nicholas has Published 291 Articles

Using HTML5 Server-Sent Events in a web application

Jennifer Nicholas

Jennifer Nicholas

Updated on 20-Dec-2019 10:49:19

244 Views

To use Server-Sent Events in a web application, you would need to add an element to the document.The src attribute of the element should point to an URL that should provide a persistent HTTP connection that sends a data stream containing the events.The URL would point to a ... Read More

Issue regarding JCo SAP Server out of Network

Jennifer Nicholas

Jennifer Nicholas

Updated on 18-Dec-2019 10:03:48

222 Views

You need to perform the below actions when you are stopping the JCO server instanceDelete all the references of your server from ServerDataEventListener instance. If you need to use the reference, then you can use registered ServerDataProvider object to fetch reference of ServerDataEventListener instance.Delete all the references of your destination ... Read More

Second approach to fetch data from SAP tables without using SAP JCo

Jennifer Nicholas

Jennifer Nicholas

Updated on 18-Dec-2019 08:01:48

366 Views

If you need to access the SAP Tables with the help the table name and column names, then you can use the RFC RFC_READ_TABLE. It also provides external access to R/3 tables with the help of remote function calls.RFC requires following details:table name (required parameter)number of rows to skip (optional ... Read More

Determining the current client in SAP using code

Jennifer Nicholas

Jennifer Nicholas

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

1K+ 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

112 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

2K+ 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

778 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

7K+ 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

305 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

1K+ 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

Advertisements