To find the last node in LinkedList containing the specified value, the code is as follows −Example Live Demousing System; using System.Collections.Generic; public class Demo { public static void Main() { LinkedList list = new LinkedList(); list.AddLast(100); list.AddLast(200); list.AddLast(300); list.AddLast(400); list.AddLast(500); list.AddLast(300); list.AddLast(500); Console.WriteLine("LinkedList elements..."); foreach(int i in list) { Console.WriteLine(i); } LinkedListNode val = list.FindLast(300); Console.WriteLine("Specified ... Read More
You can create RFC function module and then call this function module from outside. You can create RFC using T-Code SE37You can use the following link to know more about using RFC function module:https://archive.sap.com/discussions/thread/333645This tells about how you can create an FM in SE37 in Target system enabling Remote-Function Enabled and using attributes of FM.To create an RFC connection, you need to use T-Code: SM59 mentioning Username and Password.Another link that you can refer which tells about creating RFC and Remote-enabled FM and call from another SAP system using ABAP Program:https://wiki.scn.sap.com/wiki/display/Snippets/Creating+RFC+and+Remote-enabled+FM+and+call+from+another+SAP+system+using+ABAP+ProgramRead More
In early sap version, SE09 and SE10 perform different functions as below:SE09 was widely used in workbench/development of transports.SE10 was widely used in customizing transports.In newer version now, both the Transactions SE09 and SE10 perform the same function as shown in below snapshot.In addition, SE01 is an extension combining SE09 and SE10 functions and adding lot other functions as shown in below snapshot:
If you ever need to fetch the mapped program with a transaction, you need to call the transaction SE93. It will fetch you the program and variant of the selection screen.Now, if you need source code then you can use the transaction SE38 or SE80. If you also require Dynpro which is mapped against the program then use SE80.
The SortedSet class in C# represents a collection of objects that is maintained in sorted order.Following are the properties of the SortedSet class −Sr.NoProperty & Description1ComparerGets the IComparer object that is used to order the values in the SortedSet.2CountGets the number of elements in the SortedSet.3MaxGets the maximum value in the SortedSet, as defined by the comparer.4MinGets the minimum value in the SortedSet, as defined by the comparer.Following are some of the methods of the SortedSet class −Sr.NoMethod & Description1Add(T)Adds an element to the set and returns a value that indicates if it was successfully added.2Clear()Removes all elements from the ... Read More
Both SE09 and SE10 were used in earlier releases of SAP for different purposes.SE09 – This was used for development of transportsSE10 – This was used for customizing the transports request. When you run SE10 in SAP ERP, you will get the same screen as in T-Code SE09 of Transport Organizer.In the latest version of SAP NetWeaver, both the Transactions are same.SE01 –This combines the features of both SE09 and SE10. Apart from that, there are many other features included in it like displaying specific transport request.
To get the TypeCode for value type Int16, the code is as follows −Example Live Demousing System; public class Demo { public static void Main() { short val1 = 0; short val2 = Int16.MaxValue; Console.WriteLine("Value1 = "+val1); Console.WriteLine("Value2 = "+val2); Console.WriteLine("HashCode for value1 = "+val1.GetHashCode()); Console.WriteLine("HashCode for value2 = "+val2.GetHashCode()); Console.WriteLine("Are they equal? = "+(val1.Equals(val2))); TypeCode type1 = val1.GetTypeCode(); TypeCode type2 = val2.GetTypeCode(); Console.WriteLine("TypeCode for val1 = "+type1); ... Read More
To get the members of the current Type, the code is as follows −Example Live Demousing System; using System.Reflection; public class Demo { public static void Main() { Type type = typeof(Subject); try { FieldInfo fieldInfo = type.GetField("SubName"); MemberInfo[] info = type.GetMembers(); Console.Write("Members = "); for (int i = 0; i < info.Length; i++) Console.WriteLine(" {0}", info[i]); Console.WriteLine("FieldInfo = {0}", fieldInfo); } ... Read More
SAP ECC stands for SAP ERP Central Component (ECC). It is a standout amongst the most perceived resources that SAP has developed. It is an ERP software which comprises in a few modules that give the association’s awesome control over their key business forms.Various modules can speak with each other to make a completely coordinated application particular to any client inside an extensive variety of industry areas. It can be customized to serve the individual needs as well.SAP ECC executions are a major test for any client due to the hazard that speaks to changing the way they oversee fundamental ... Read More
To count the number of key/value pairs in the Hashtable, the code is as follows −Example Live Demousing System; using System.Collections; public class Demo { public static void Main() { Hashtable hash = new Hashtable(); hash.Add("A", "SUV"); hash.Add("B", "MUV"); hash.Add("C", "AUV"); Console.WriteLine("Hashtable elements..."); foreach(DictionaryEntry d in hash) { Console.WriteLine(d.Key + " " + d.Value); } Console.WriteLine("Count of Key/value pairs = "+hash.Count); hash.Add("D", "Utility Vehicle"); hash.Add("E", "Convertible"); ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP