To enhance the performance of jQuery selector, you need to perform optimization. Here are some of the techniques:Cache SelectorCaching enhances the performance of the application. Cache your jQuery selectors for better performance. This can be done using the ID as your selector. For example, this caches the selector and stores it in variable.var $elm = $("#elm");Instead of using the jQuery ID selector, use the $elm variable:var $elm = $("#elm"); $elm.addClass(‘example’);Use ID selectorjQuery is a JavaScript library. In JavaScript, document.getElementById() is used to select the HTML element, which is the fastest way. Since jQuery is written on top of JavaScript, it ... Read More
Yes, it is possible to address or call an external program using SAP connector SDK. From ABAP, you can reference external program by SAP’s RFC protocol.There are various SAP connector available for various programming languages. Few of them areJCo is the SAP Java connectorNCo is the .NET SAP connectorNW RFC SDK is the SAP NetWeaver RFC SDK for C/C++
You would require calling transaction SE80 and then looking into Repository info system. Under that go to the class library and then to methods. You can specify selection criteria under standard selections.
You can use the following query:SELECT * FROM my_table WHERE condition 1 AND condition 2 AND ( id EQ '2' or id EQ ‘3’ ).Note: There should be space after and before bracket.Alternatively you can use IN statement as below:SELECT * FROM my_table WHERE condition 1 AND condition 2 AND EQ IN ('2', ‘3’ ).
You need to add “NO STANDARD PAGE HEADING” as followsREPORT l_report MESSAGE-ID l_message NO STANDARD PAGE HEADING.
The empty( ) method remove all child nodes from the set of matched elements whereas the method remove( expr ) method removes all matched elements from the DOM.ExampleYou can try to run the following code to learn how to remove DOM elements in jQuery:Live Demo jQuery Example $(document).ready(function() { $("div").click(function () { $(this).remove( ); }); }); .div{ margin:10px;padding:12px; border:2px solid #666; width:60px;} Click on any square below:
To get the capacity of a SortedList, the code is as follows −Example Live Demousing System; using System.Collections; public class Demo { public static void Main(String[] args){ SortedList sortedList = new SortedList(); sortedList.Add("A", "1"); sortedList.Add("B", "2"); sortedList.Add("C", "3"); sortedList.Add("D", "4"); sortedList.Add("E", "5"); sortedList.Add("F", "6"); sortedList.Add("G", "7"); sortedList.Add("H", "8"); sortedList.Add("I", "9"); sortedList.Add("J", "10"); Console.WriteLine("SortedList elements..."); foreach(DictionaryEntry d in sortedList){ ... Read More
I am wondering why you are planning to opt for SSIS for this. It would not be that easy and compatible. Instead, I will suggest you to for any of the below two optionsUse SAP BW standard anyDB source systemBO Data servicesBoth of the options are well compatible and do the data load well and in a native manner.
To check whether the Unicode character is a separator character, the code is as follows −Example Live Demousing System; public class Demo { public static void Main(){ bool res; char val = ', '; Console.WriteLine("Value = "+val); res = Char.IsSeparator(val); Console.WriteLine("Is the value a separator? = "+res); } }OutputThis will produce the following output −Value = , Is the value a separator? = FalseExampleLet us now see another example − Live Demousing System; public class Demo { public static void Main(){ ... Read More
To convert the value of the specified Decimal to the equivalent 8-bit unsigned integer, the code is as follows −Example Live Demousing System; public class Demo { public static void Main(){ Decimal val1 = 6.59m; Decimal val2 = 30.12m; Decimal val3 = 69.34m; Console.WriteLine("Decimal 1 = "+val1); Console.WriteLine("Decimal 2 = "+val2); Console.WriteLine("Decimal 3 = "+val3); byte res1 = Decimal.ToByte(val1); byte res2 = Decimal.ToByte(val2); byte res3 = Decimal.ToByte(val3); Console.WriteLine("Byte value1 (Decimal ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP