Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by vanithasree
Page 5 of 6
In MySQL, when VARCHAR data type will use 1-byte and when 2-bytes prefix length along with data?length along with data?
As we know that in MySQL, VARCHAR values are stored as a 1-byte or 2-byte length prefix plus data. This length prefix points out the number of bytes in the value of data. The data value itself will decide that when VARCHAR data type will use 1-byte and when 2-byte prefix length.A column uses 1-byte length if values require no more than 255 bytes.A column uses 2-byte length if values may require more than 255 bytes.
Read MoreHow to create an ALV in docking container in SAP?
Wa_fieldcat is a structure used as a container for the information that has to be added to t_fieldcat.Following Parameters are passed: * pv_field TYPE any for Field * pv_tabname TYPE any for Table Name * pv_coltext TYPE any for Header TextThese variables can’t append under t_fieldcat without putting them in a unified structure.
Read MoreUsing SAP Tables from C# application - RFC_READ_TABLE
Many users use RFC_READ_Table as API for generic table access.Joins are not supported in RFC_READ_TABLE - Not correct as you can any time join your application. If you face any issues, you can ask user ABAP developer to create a Function Module.Select * query does not work for most cases as the data_buffer_exceed error is thrown- You shouldn’t run select * all the time as you don’t need all the data. You should only pull information that is required.
Read MoreHow to setup user access limitation on a timely basis in SAP HANA
I must say, you got a pretty odd scenario of permission retraction but it is feasible.Create a stored procedure with entire onus of activating/deactivating the user or you can say authorize and de-authorize user.Create a batch user with privilege to execute the above-created procedures,Then you can set up a job to run the procedures with the help of hdbsql.
Read MoreNegation logic in SAP ABAP
You can use BOOLC to sort out your requirement. It should be like thisVarbool= BOOLC( NOT Logical operation)But be clear in your implementation, as ABAP does not have true bool type. It does not store true or false in bool type rather it stores ‘X’ or ‘’ for true and false respectively.You can also try to use XSDBOOL instead of BOOLC.
Read MoreHow to set named cookies in JavaScript?
To set named cookie in JavaScript, run the following code. It sets a customer name in an input cookie. Example Enter name:
Read MoreHow to disable JavaScript in Internet Explorer (IE)?
To disable JavaScript in Internet Explorer (IE), follow the below-given steps:Click the gear icon on the right-hand side:Now, a dialog box will open. Go to Security tab and click Custom level.After reaching the Security Settings, go to Scripting, then Active Scripting.Click Disable to disable JavaScript and press Ok.Now, JavaScript will disable after clicking Ok.
Read MoreHow to find whether a browser supports JavaScript or not?
To find whether the browser supports JavaScript or nor, use the tag. The HTML tag is used to handle the browsers, which do recognize tag but do not support scripting. This tag is used to display an alternate text message.Here’s an example, HTML noscript Tag Your browser does not support JavaScript!
Read MoreHow to create a custom object in JavaScript?
To create a custom object in JavaScript, try the following code Example var dept = new Object(); dept.employee = "Amit"; dept.department = "Technical"; dept.technology = "Java"; document.getElementById("test").innerHTML = dept.employee + " is working on " + dept.technology + " technology.";
Read MoreWhat is the difference between Bower and npm in JavaScript?
npmnpm is generally used for managing Node.js modules and does nested dependency tree. It also works for front-end and used for developer tools like Grunt, CoffeeScript, etc.Without using nested dependencies it is difficult to avoid dependency conflicts. So, using npm has proven to be great.Whatever you add in Node is structured as modules. On using NPM for browser-side dependencies, you'll structure your code like Node.Here’s the dependency structure:project root [node_modules] -> dependency P -> dependency Q [node_modules] -> dependency P -> dependency R [node_modules] -> dependency Q [node_modules] -> dependency P -> dependency SBower Bower requires a flat dependency tree and ...
Read More