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 Abhinaya
39 articles
Missing SAP Java Connector libraries JCo- librfc32.dll, com.sap.utils and com.sap.mw
Please note that all these library files − librfc32.dll, com.sap.utils and com.sap.mw come under JCo 2.1. With release of JCo 3.0, its classes were also relocated from packages com.sap.mw.jco.* to com.sap.conn.jco.* For running with SAP JCo 3.0, you need these files at runtime − sapjco3.jar and sapjco3.dll (on Windows). You can follow below procedure for installation of JCo files: Installing JCo on Windows Platform In Windows OS, you have to copy sapjco3.jar file into ITDI_HOME/jars/3rdparty/others. Copy the ...
Read MoreI don’t want configuration information to be transferred with the database in SAP ABAP
The straight answer to this is a big NO. This is one of the most common places of error in the SAP environment. When you create a clone of your production in the form of QA with most of the things as it is from production, you need to make sure that any action in QA after cloning doesn't have any implication or effect on actual production. Why Configuration Transfer is Problematic Transferring configuration information directly with the database can lead to several critical issues − System interference − QA actions might accidentally ...
Read MoreHow to overwrite a specific chunk in a byte array using java?
Java provides a ByteBuffer class which allows you to wrap an array into a byte buffer using its wrap() method. Once you did that you can replace the contents of the buffer using the position(): To select the starting position and, put(): To replace the data methods:Exampleimport java.nio.ByteBuffer; public class OverwriteChunkOfByteArray { public static void main(String args[]) { String str = "Hello how are you what are you doing"; byte[] byteArray = str.getBytes(); System.out.println("Contents of the byet array :: "); for(int i = 0; i
Read MoreHow to check whether a string contains a substring in JavaScript?
JavaScript provides us with different methods to check whether a string contains a substring or not. In this article, we use the following three methods for this purpose-String search() methodString indexOf() methodString includes() methodLet’s explore in detail each method.1. String search() methodThe string search method can be used to search a text (using regular expression) in a string.It matches the string against a regular expression and returns the index (position) of the first match.It returns -1 if no match is found. It’s case-sensitive.The string search() method is an ES1 feature. It is fully supported in all browsers.Syntaxstring.search(searchValue)searchValue is a regular ...
Read MoreHow to add a unique id for an element in HTML?
Use the id attribute in HTML to add the unique id of an element.ExampleYou can try to run the following code to implement id attribute − Tutorialspoint We provide Tutorials! More... function display() { document.getElementById("myid").innerHTML = "We provide learning videos as well"; }
Read MoreWhy aren't variable-length arrays part of the C++ standard?
Having to create a potential large array on the stack, which usually has only little space available, isn't good. If you know the size beforehand, you can use a static array. And if you don't know the size beforehand, you will write unsafe code. Variable-length arrays can not be included natively in C++ because they'll require huge changes in the type system.An alternative to Variable-length arrays in C++ is provided in the C++ STL, the vector. You can use it like −Example#include #include using namespace std; int main() { vector vec; vec.push_back(1); vec.push_back(2); vec.push_back(3); ...
Read MoreHow to set the length of the item relative to the rest with JavaScript?
Use the flex property in JavaScript to set the length of the item relative to the rest. You can try to run the following code to implement flex property with JavaScript −Example #box { border: 1px solid #000000; width: 300px; height: 400px; display: flex; } DIV1 DIV2 DIV3 Set function display() { var a = document.getElementById("box"); var b = a.getElementsByTagName("DIV"); var j ; for (j = 0; j < b.length; j++) { b[j].style.flex = "1"; } }
Read MoreHow to create JavaScript regexes using string variables?
Yes, use new RegExp(pattern, flags) to achieve this in JavaScript.You can try to run the following code to implement JavaScript regex using string variables − var str = 'HelloWorld'.replace( new RegExp('hello', 'i'), '' ); document.write(str);
Read MoreHow to set the bottom padding of an element with JavaScript?
To set the bottom padding, use the paddingBottom property in JavaScript.ExampleYou can try to run the following code to return the bottom padding of an element with JavaScript − #box { border: 2px solid #FF0000; width: 150px; height: 70px; } This is demo text. Bottom padding function display() { document.getElementById("box").style.paddingBottom = "100px"; }
Read MoreWith JavaScript how can I find the name of the web browser, with version?
To find the name of the web browser, with version, you need to try the following code −Example Browser Detection Example
Read More