Johar Ali has Published 48 Articles

What are the differences between JavaScript Primitive Data Types and Objects?

Johar Ali

Johar Ali

Updated on 03-Jan-2020 09:58:13

165 Views

Before beginning with the difference, let’s learn what are Primitive Datatypes. Primitive defines immutable values and introduced recently by ECMAScript standard.JavaScript allows you to work with three primitive data types, Numbers, eg. 3, 310.20 etc.Strings of text e.g. "This text string" etc.Boolean e.g. true or false.JavaScript also defines two trivial ... Read More

Error in XML document while processing SOAP response

Johar Ali

Johar Ali

Updated on 17-Dec-2019 06:46:33

183 Views

Yes, you should use your SOAP extension into your client app.ExampleTry adding the below code:               DebugTools.SOAP.SOAPTrace is the namespace of the SoapTraceExtension.DebugTools.SOAP is the name of the assembly containing the soap trace code.

Writing a material on SAP system via .NET Connector

Johar Ali

Johar Ali

Updated on 11-Dec-2019 06:37:48

186 Views

Once you create material, you need to call BAPI- BAPI_TRANSACTION_COMMIT. “BAPI_TRANSACTION_COMMIT” is called to COMMIT a database operation. As COMITT statement can’t be called inside BAPI, we call this BAPI to complete COMMIT.Let us say you are editing some table fields in BAPI- as per failure or success, you can ... Read More

Finding items in SAP Tree using Function

Johar Ali

Johar Ali

Updated on 10-Dec-2019 08:46:35

81 Views

When you use string “1\1” in Java, it gives a valid path and returns the right key. You need the following code:SapTree tree = ...; // initialize somewhere String parentKey = tree.findNodeKeyByPath("1"); tree.expandNode(parentKey); String key = tree.findNodeKeyByPath("1\1");

How to use the tag to define a relationship to an external resource?

Johar Ali

Johar Ali

Updated on 04-Oct-2019 11:59:36

167 Views

The tag is used in HTML to define a relationship to an external resource. It is used to link external style sheets. It gets added inside the … tag, but does not have a closing tag. Define your external CSS file in it.The CSS file created separately will have ... Read More

How to minimize the use of global variables in JavaScript?

Johar Ali

Johar Ali

Updated on 12-Sep-2019 07:30:40

172 Views

A global variable has global scope which means it can be defined anywhere in your JavaScript code. To minimize the usage of global variables, use consistent variables around different parts of your project.var myValue = {    common: function(){       //Add code    },    val1: {   ... Read More

What is the use of marker interfaces in Java?

Johar Ali

Johar Ali

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

346 Views

An interface with no methods in it is referred to as a tagging interface. There are two basic design purposes of tagging interfaces -Creates a common parent As with the EventListener interface, which is extended by dozens of other interfaces in the Java API, you can use a tagging interface to ... Read More

Can we inherit a final method in Java?

Johar Ali

Johar Ali

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

431 Views

Yes, a final method is inherited but cannot be overridden.

How to pass JavaScript variables to PHP?

Johar Ali

Johar Ali

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

18K+ Views

You can easily get the JavaScript variable value on the same page in PHP. Try the following codeL. var res = "success";

What is a final parameter in java?

Johar Ali

Johar Ali

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

3K+ Views

You can pass final variables as the parameters to methods in Java. A final variable can be explicitly initialized only once. A reference variable declared final can never be reassigned to refer to a different object. However, the data within the object can be changed. So, the state of the ... Read More

Advertisements