Seetha has Published 100 Answers

Why we cannot use MySQL DATE data type along with time value?

seetha

seetha

Updated on 28-Jan-2020 09:23:21

The default format for MySQL DATE data type is “YYYY-MM-DD” and in this format, there is no possibility to store the time value. Hence, we can say that we cannot use DATE data type along with time value.As we can see in the following example MySQL returns only date value ... Read More

What are Rest parameters in JavaScript?

seetha

seetha

Updated on 09-Jan-2020 06:55:29

restES6 brought rest parameter to ease the work of developers. For arguments objects, rest parameters are indicated by three dots … and precedes a parameter.With this, set indefinite number of arguments as an array, which areArray instances.ExampleLet’s see the following code snippet:               ... Read More

How to define a method in JavaScript?

seetha

seetha

Updated on 07-Jan-2020 08:07:26

A method in JavaScript is the action performed on objects. A JavaScript method has a function definition, which is stored as a property value. ExampleLet’s see an example to define a method in JavaScriptLive Demo                             ... Read More

What are JavaScript basics?

seetha

seetha

Updated on 02-Jan-2020 09:54:00

JavaScript basics include an overview of JavaScript. JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow a client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented ... Read More

What are the limitations of JavaScript?

seetha

seetha

Updated on 02-Jan-2020 08:29:15

JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complementary to and integrated with Java. It is very easy to implement because it is integrated with a HTML. It is open and cross-platform.We cannot treat JavaScript as a full-fledged programming language. It lacks ... Read More

How to detect encoding and mixed line endings (Windows and Unix) in SAP?

seetha

seetha

Updated on 12-Dec-2019 06:23:03

You can make use of CL_ABAP_FILE_UTILITIES => CHECK_FOR_BOM to define file encoding type and use constantly of class CL_ABAP_CHAR_UTILITIES to process the files.ClassCL_ABAP_CHAR_UTILITIESShort DescriptionUtilities for Processing Characters

Unable to access DBCONN after upgrading to EHP7 in SAP system

seetha

seetha

Updated on 10-Dec-2019 08:56:39

You can test the connection using T-code: SE38 using ADBC_TEST_CONNECTION. You could check details of exception as below:TRY. EXEC SQL. CONNECT TO 'ZUNIXDB_DBCON' ENDEXEC. EXEC SQL. OPEN dbcur FOR SELECT id FROM table ENDEXEC. CATCH cx_sy_native_sql_error INTO lr_cx_native_sql_error.Read More

Checking table existence using Class and it’s method in SE11 without using FM in ABAP

seetha

seetha

Updated on 10-Dec-2019 07:19:00

To perform this without using Function module, you can use class- “cl_rebf_ddic_tabl”. Note that Class methods are almost similar to function modules. They are defined as code blocks to perform specific functionality.ExampleTry using below code: CALL METHOD cl_rebf_ddic_tabl=>exists EXPORTING    id_name = [table name]    id_tabclass = 'TRANSP' " For table ... Read More

What are event handlers in JavaScript?

seetha

seetha

Updated on 03-Oct-2019 06:24:02

JavaScript's interaction with HTML is handled through events that occur when the user or the browser manipulates a page.When the page loads, it is called an event. When the user clicks a button, that click to is an event. Other examples include events like pressing any key, closing a window, ... Read More

What is the difference between a method and a function?

seetha

seetha

Updated on 30-Sep-2019 06:57:27

Method and a function are the same, with different terms. A method is a procedure or function in object-oriented programming.A function is a group of reusable code which can be called anywhere in your program. This eliminates the need for writing the same code again and again. It helps programmers ... Read More

Advertisements