Samual Sam has Published 2663 Articles

What are native methods in Java and where are they used?

Samual Sam

Samual Sam

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

1K+ Views

A native method in Java is a method whose implementation is written in other languages such as c and c++. The ‘native’ keyword is used before a method to indicate that it is implemented in other language.

Accessing import parameters passed to a function module in SAP ABAP

Samual Sam

Samual Sam

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

679 Views

ABAP has a function module named “RPY_FUNCTIONMODULE_READ” which lets you extract metadata about the function module. To be more precise, it lets you extract the parameter structure of function module and once you know the parameters then you can access them dynamically. But it comes at a cost, if you ... Read More

How to check if a file exists or not in Java?

Samual Sam

Samual Sam

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

299 Views

The File class provides exists() method this returns true if a file in the specified path exists else it returns false.ExampleLive Demoimport java.io.File; public class FileHandling {    public static void main(String args[]) {       File file = new File("samplefile");       if(file.exists()) {     ... Read More

Can you use both this() and super() in a constructor in Java?

Samual Sam

Samual Sam

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

1K+ Views

No, you cannot have both this() and super() in a single constructor.

What should I install to start learning SAP ABAP?

Samual Sam

Samual Sam

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

212 Views

SAP NetWeaver is a Java-based stack and its developer edition is available.https://www.sap.com/developer/trials-downloads.htmlIn SAP system, Function modules are like web services. They are used to expose the structure of the data dictionary or to expose business objects.Function modules are sub-programs that contain a set of reusable statements with importing and exporting ... Read More

Identify the database used for backend in ABAP

Samual Sam

Samual Sam

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

148 Views

If you would have searched a little in the SAP documentation, then you would have found out the answer.You can use the CL_DB_SYS=>DBSYS_TYPE to fetch the database. For e.g. If you are using SAP HANA as the database, then the DBSYS_TYPE will have the value as HDB. Read More

Finding index of rows and columns in SAP

Samual Sam

Samual Sam

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

283 Views

To identify the index of the row, you can use the property “indexOfRow” to get the row of the clicked button.All the buttons will be in the same column, so it does not make sense to get the column index, but if you still need to get the column index ... Read More

How can I check if user has an authorization for T-Code or not in SAP system?

Samual Sam

Samual Sam

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

7K+ Views

To check if a user has authorization for T-code or not you can use Transaction SUIM. You can manage user permissions using different ways like profile assignment via a single role, collective roles that contain single roles, etc. Below shows SUIM transaction that opens User Information System as below:You can also ... Read More

I want to limit SAP user access to Transaction Code- SOST.

Samual Sam

Samual Sam

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

518 Views

You can make use of T-code: SU24 and check objects related to SOST T-code. These are authorization objects for this Transaction - S_OC_DOC; S_OC_ROLE; S_OC_SEND; S_OC_SOSG; S_OC_TCD

When a thread is created and started, what is its initial state?

Samual Sam

Samual Sam

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

347 Views

When a new thread begins its life cycle in the new state. It remains in this state until the program starts the thread. It is also referred to as a born thread.After this newly born thread is started, the thread becomes runnable. A thread in this state is considered to ... Read More

Advertisements