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 Srinivas Gorla
45 articles
Using Function Module BAPI_ISUPARTNER_CREATEFROMDATA to create BP in SAP IS-U system
Note that home page URL is part of Business Partner's communication data and comes under address data or address independent communication. You can use Function Module BAPI_BUPA_ADDRESS_ADD/BAPI_BUPA_ADDRESS_CHANGE for updating it with communication data or Function Modules BAPI_BUPA_CREATE_FROM_DATA/BAPI_BUPA_CENTRAL_CHANGE for address independent communication. Related BAPIs for Business Partner Management Function Module Description ...
Read MoreWhile using SAP .NET connector, I am an getting error: Could not load file or assembly 'sapnco' or one of its dependencies.
When working with the SAP .NET connector, you may encounter the error "Could not load file or assembly 'sapnco' or one of its dependencies." This typically occurs due to platform architecture mismatches or incorrect IIS configuration. You can try any of the below fixes − Solution 1: Enable 64-bit IIS Express This solution addresses architecture compatibility issues by enabling 64-bit support in IIS Express − Go to Run → Regedit Navigate to "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\1X.0\WebProjects" Change Use64BitIISExpress from 0 ...
Read MoreIs it possible to delete the actives while you are running a loop over an internal table in SAP ABAP?
The DELETE command will have a result. You should make sure that once you delete the row, there should not be any reference or use of that row subsequently in the loop. The best practice is to use CONTINUE as soon as you perform deletion. Best Practices for Deleting Records I suggest avoiding "DELETE lt_itab INDEX sy-tabix" because it will change the sy-tabix (table index) and can lead to unexpected behavior. When you delete a row, all subsequent rows shift up, making the index unreliable for the ...
Read MoreHow to compare two ArrayList for equality in Java?
You can compare two array lists using the equals() method of the ArrayList class, this method accepts a list object as a parameter, compares it with the current object, in case of the match it returns true and if not it returns false.Exampleimport java.util.ArrayList; public class ComparingList { public static void main(String[] args) { ArrayList list1 = new ArrayList(); list1.add("JavaFx"); list1.add("Java"); list1.add("WebGL"); list1.add("OpenCV"); ArrayList list2 = new ArrayList(); list2.add("JavaFx"); list2.add("Java"); list2.add("WebGL"); list2.add("OpenCV"); System.out.println(list2); System.out.println(list1.equals(list2)); } }
Read MoreHow to find numbers in an array that are greater than, less than, or equal to a value in java?
You can find numbers in an array that are greater than, less than, or equal to a value as:Examplepublic class GreaterOrLess { public static void main(String args[]) { int value = 65; int[] myArray = {41, 52, 63, 74, 85, 96 }; System.out.println("Elements of the array that are equal to the given value are::"); for(int i = 0; i
Read MoreWhat is the lambda expression to convert array/List of String to array/List of Integers in java?
You can convert an array list of strings to an array list of integers as:Exampleimport java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; public class LamdaExpressions { public static void main(String args[]) { ArrayList list = new ArrayList(); list.add("123"); list.add("223"); list.add("323"); list.add("334"); List listInteger = list.stream().map(s -> Integer.parseInt(s)).collect(Collectors.toList()); System.out.println(listInteger); } }Output[123, 223, 323, 334]
Read MoreWorking with CSS Units
CSS has several units for different units such as width, margin, padding, font-size, border-width, etc. The length indicates by using numerical value followed by length units such as px, dp, em, etc. It does not allow white spaces in between numerical values and length units.Length units divided as follows:relative unitsabsoluteAbsolute unitsUnitsAbbreviationPixelsPxPointsPtInchesInCentimetersCmPicasPcRelative UnitsIn relative units, the length value is fixed and it appears the exact size of the elementUnitsAbbreviationPercent%EmEmExExRoot emRemViewport widthVwViewport widthVhViewport widthVmCharacterChGridGd
Read MoreHow to set the minimum number of lines for an element that must be left at the bottom of a page when a page break occurs inside an element with JavaScript?
Use the orphans property in JavaScript to set the minimum number of lines for an element that should be left at the bottom of a page when a page break occurs inside an element with JavaScript.You can return the orphans property like this −var res = object.style.orphansSet the orphans property like this −object.style.orphans = 'number|initial|inherit'The following are the property values shown above −number − Specify the minimum number of visible lines.Initial − Set property to its defaultInherit − Inherits property from the parent element
Read MoreCreate a syntax highlighting code with JavaScript.
To create a syntax-highlighting code with JavaScript, use the prettify library. Add the following in your code to add the library for syntax highlighting −To use it, add the following to your tag − Code comes here
Read MoreHow to set the horizontal alignment of text with JavaScript?
Use the textAlign property in JavaScript and set it to right for aligning it horizontally. You can try to run the following code to return the horizontal alignment of text with JavaScript −Example This is demo text Set Horizontal Alignment function display() { document.getElementById("myText").style.textAlign = "right"; }
Read More