Sharon Christine has Published 450 Articles

What is a method in Java that ends in a semicolon and has no method body?

Sharon Christine

Sharon Christine

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

An abstract method is the one which has no definition and declared abstract. In short, an abstract method contains only method signature without body. To use this method, you need to inherit this method by extending the class and provide the method definition. Example public abstract class Employee{ ... Read More

What is encapsulation in Java?

Sharon Christine

Sharon Christine

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

Encapsulation in Java is a mechanism for wrapping the data (variables) and code acting on the data (methods) together as a single unit. In encapsulation, the variables of a class will be hidden from other classes and can be accessed only through the methods of their current class. Therefore, it ... Read More

What is Callable interface in Java?

Sharon Christine

Sharon Christine

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

The Callable interface is found in the package java.util.concurrent. The Callable object can return the computed result done by a thread in contrast to a runnable interface which can only run the thread. The Callable object returns a Future object which provides methods to monitor the progress of a task ... Read More

Displaying popup in SAP STMS

Sharon Christine

Sharon Christine

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

First of all use CALL SCREEN ... STARTING AT ..., then in PBO processing, use Suppress Dialog to bypass the screen (dynpro) processor and an empty screen is not displayed, then use LEAVE TO LIST-PROCESSING in PAI event. Now you can follow it with your WRITE statements to display it ... Read More

Keyboard shortcut for double clicking a selected object in SAP

Sharon Christine

Sharon Christine

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

You can use F2 for this.

Use workbench along with SAP Business One

Sharon Christine

Sharon Christine

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

The answer is No. Workbench is not present in business one. The reason being the core of business one is not based on ABAP or NetWeaver.Business one relies heavily on SQL. It has a SQL database and you can write queries for fetching data. These data are then used for ... Read More

Pseudo code to hide warning in SAP ABAP

Sharon Christine

Sharon Christine

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

This cannot be overridden or suppressed by a pseudo code of pragma. If you run your query with extended syntax check, you will find the message as well that this cannot be suppressed.  The extended check can be done by going to PROGRAM => Check => Extended Syntax Check

How to pull distinct values from an array in java?

Sharon Christine

Sharon Christine

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

To pull distinct values in an array you need to compare each element of the array to all the remaining elements, in case of a match you got your duplicate element. One solution to do so you need to use two loops (nested) where the inner loop starts with i+1 ... Read More

Using table parameter in SAP RFC Function module

Sharon Christine

Sharon Christine

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

RFC enabled function modules, you should use a structure as line type for the table.  You should declare a dictionary structure Z_MY_PARTS_DATA with a single field DESCRIPTION TYPE CGPL_TEXT2.Declare a data dictionary table type Z_MY_PARTS_TABLE using this structure.Next is to use the table type in Function module. Read More

What is the open/standardized file format for exporting invoices in SAP ERP System?

Sharon Christine

Sharon Christine

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

SAP uses IDoc known as an intermediate document to exchange data between logical systems. If your system involves non-SAP systems as well, then IDoc can be used as a standard interface for data exchange between SAP and non-SAP systems.IDoc is a container for information exchange. IDoc is made by message ... Read More

Advertisements