Find Last Node in Linked List Containing Specified Value in C#

AmitDiwan
Updated on 11-Dec-2019 10:37:42

188 Views

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

Connect to an SAP Module

karthikeya Boyini
Updated on 11-Dec-2019 10:37:11

406 Views

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

Differentiate between Transaction Codes SE01, SE09, and SE10 in SAP ECC System

Swarali Sree
Updated on 11-Dec-2019 10:35:21

975 Views

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:

Fetch Source Code of Transaction Note in SAP R/3

Monica Mona
Updated on 11-Dec-2019 10:31:57

419 Views

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.

SortedSet Class in C#

AmitDiwan
Updated on 11-Dec-2019 10:31:56

1K+ Views

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

Difference between SE01, SE09 and SE10 Transactions in SAP

Swarali Sree
Updated on 11-Dec-2019 10:25:17

5K+ Views

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.

Get TypeCode for Value Type Int16 in C#

AmitDiwan
Updated on 11-Dec-2019 10:25:09

151 Views

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

Get the Members of the Current Type in C#

AmitDiwan
Updated on 11-Dec-2019 10:21:31

136 Views

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

Difference between SAP ECC System and SAP BW System

Lakshmi Srinivas
Updated on 11-Dec-2019 10:17:38

4K+ Views

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

Count Key-Value Pairs in Hashtable in C#

AmitDiwan
Updated on 11-Dec-2019 10:17:20

379 Views

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

Advertisements