Johar Ali has Published 39 Articles

How to minimize the use of global variables in JavaScript?

Johar Ali

Johar Ali

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

273 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

How to pass JavaScript variables to PHP?

Johar Ali

Johar Ali

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

21K+ Views

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

Extending SAP ABAP 30 characters long limit

Johar Ali

Johar Ali

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

1K+ Views

For SAP ABAP tables, you can enter up to maximum 16 characters. There is a limit of up to 30 characters on use of ABAP Variables, Classes and Method.When you run SE11 you can press F1 and it will show you maximum permitted limit on SAP ABAP Table name.It is ... Read More

In SAP ABAP, mapping two database table fields

Johar Ali

Johar Ali

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

557 Views

I don’t think there is a way to perform this. The common way to do this is by extending original table and fill the new fields.T-Code: SPDD is somewhat relevant that can be used to compare all the dictionary objects- data elements, tables and structure with old system.T-Code: SPAU can ... Read More

What are literals in Java?

Johar Ali

Johar Ali

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

2K+ Views

A literal is a source code representation of a fixed value. They are represented directly in the code without any computation. Literals can be assigned to any primitive type variable. Example byte a = 68; char a = 'A' byte, int, long, and short can be ... Read More

How to take Backup in SAP system.

Johar Ali

Johar Ali

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

691 Views

Generally, it is not required to take the backup as SAP is very secure system and they keep the backup. But if you still want to take the backup, you would require creating a dummy destination, add the objects/your programs to transport and point it to that dummy destination and ... Read More

What are tokens in Java?

Johar Ali

Johar Ali

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

2K+ Views

Java tokens are smallest elements of a program which are identified by the compiler. Tokens in java include identifiers, keywords, literals, operators and, separators.

How to use SUM function for NUMC type field?

Johar Ali

Johar Ali

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

767 Views

NUMC is numeric text. As this is text, SUM function cannot be implemented as it is of type varchar in the database.There is no simple solution to do it. The one method is to copy the data to internal tables, convert the NUMC data into DEC by looping through all ... Read More

Static HTML elements are written directly in SAPUI5

Johar Ali

Johar Ali

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

504 Views

SAPUI5 allows the developer to use their own static HTML elements with the use of UI5 controls in certain areas. It is not closed framework and allows you to use a sap.ui.core.HTML control to write any amount of plain HTML within an area rendered by UI5 so it allows you ... Read More

Advertisements