Difference between using - "standard table of", "Hashed table of", or simply "table of" in SAP ABAP

Abhinaya
Updated on 30-Jul-2019 22:30:20

2K+ Views

“TYPE STANDARD TABLE OF “refers to the standard table. It refers to a normal internal table which can be accessed via table index or by key in case if you have a key defined over a table while sorting.“TYPE HASHED TABLE OF” refers to the generic hashed internal table. The table is created and data is stored using the hashing algorithm. The main advantage of the hashing algorithm is that accessing any part of the table is independent of the size of the table and hence an increase in the size of the table does not result in any delay ... Read More

How to add new keys to a dictionary in Python?

Pythonic
Updated on 30-Jul-2019 22:30:20

757 Views

Dictionary is an unordered collection of key-value pairs. Each element is not identified by positional index. Moreover, the fact that key can’t be repeated, we simply use a new key and assign a value to it so that a new pair will be added to dictionary. >>> D1 = {1: 'a', 2: 'b', 3: 'c', 'x': 1, 'y': 2, 'z': 3} >>> D1[10] = 'z' >>> D1 {1: 'a', 2: 'b', 3: 'c', 'x': 1, 'y': 2, 'z': 3, 10: 'z'}

SAP connector failed, use of port number 3350

Syed Nauman
Updated on 30-Jul-2019 22:30:20

196 Views

This port is used to provide a range of connections to SAP gateway for RFC connection. If you are getting this error, try to resolve your server name with “nslookup” or try connecting to IP address instead of server name.

What is the root class in Java?

radhakrishna
Updated on 30-Jul-2019 22:30:20

2K+ Views

The Object class of the java.lang package is the root class in Java i.e. It is the super class of every user-defined/predefined class n Java. All objects, including arrays, implement the methods of this class. The reason for this is to have common functionalities such as synchronization, garbage collection, collection support, object cloning for all objects in Java. The class named Class of java.lang package provides a method named getSuperclass() this method returns the Class representing the superclass of the current Class. So, Create a sample concrete class and try to get the name of its super class using this ... Read More

Does constructor return any value in Java?

mkotla
Updated on 30-Jul-2019 22:30:20

4K+ Views

No, constructor does not return any value. While declaring a constructor you will not have anything like return type. In general, Constructor is implicitly called at the time of instantiation. And it is not a method, its sole purpose is to initialize the instance variables. Example Live Demo public class Sample{ public Sample(){ System.out.println("This is a constructor"); } public static void main(String args[]){ Sample obj = new Sample(); } } Output This is a constructor

How you will create your first program in Python?

Pythonic
Updated on 30-Jul-2019 22:30:20

100 Views

You can use any Python aware editor to write Python script. Standard distribution of Python comes with IDLE module which is an integrated development and learning environment. Start IDLE and open a new file from file menu. In the editor page enter print (“Hello World!”) Save the script as hello.py and execute it from Run menu to get Hello world message on console. This is your first program. It can also be run from command prompt c:\user>python hello.py

Specifying working directory while executing FM SXPG_COMMAND_EXECUTE in SAP system

SAP Expert
Updated on 30-Jul-2019 22:30:20

465 Views

I thought it can be done using a script in SM69 T-code defined as a call to sh with parameters of -c 'cd && /path/to/command.However it doesn’t accept wildcards and && is converted to & and script is not working. As per SAP Note 401095 - Wildcards in external commandsSymptom:Customers would like to use wildcards when defining external commandsOther Terms:SM49, SM69, wildcardReason and Prerequisites:Wildcards are not supported in external commands, amongst other things for security reasons.For example:An ls with a wildcard was defined as a command: "ls $1".During execution, the parameter "; rm -R /*" is entered. At operating ... Read More

Can’t create a Dictionary Object: View by adding two db tables

Amit Sharma
Updated on 30-Jul-2019 22:30:20

69 Views

When you create a view, it is created on top of multiple database tables using an inner join. Note that basis table of database views should be transparent tables.To create a view on 2 tables, you have to enter the primary table you want to maintain and place the cursor in that field and click on the button below the list of tables and select the other table to add the view. If you are not getting this option, it means Relationship is wrong.To know more about database Views: https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenddic_database_views.htmRead More

Difference between Types,Types,Type-POOL and TYPE-POOLS in SAP ABAP

Govinda Sai
Updated on 30-Jul-2019 22:30:20

505 Views

“TYPE” is an ABAP keyword which is used to reference built-in data types of ABAP. For ex: When you use “TYPE” keyword while declaring variables as below:FIELD-SYMBOLS TYPE stringTYPES is another ABAP keyword which is used to define local types.TYPES TYPE STANDARD TABLE OF string WITH DEFAULT KEYIn case if your group locally defined types which can be reused across many modules then you can use TYPE-POOL.

Is constructor inherited in Java?

radhakrishna
Updated on 30-Jul-2019 22:30:20

276 Views

No, constructors are not inherited in Java.

Advertisements