Sai Subramanyam has Published 99 Articles

Where and how is import statement used in Java programs?

Sai Subramanyam

Sai Subramanyam

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

319 Views

Wan import statement in Java is used to − Import user defined classes/Interfaces Whenever you need to access a class which is not in the current package of the program you need to import that particular class using the import statement. Example In the following example we are using the ... Read More

What is a Locale class in Java?

Sai Subramanyam

Sai Subramanyam

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

206 Views

The java.util.Locale class object represents a specific geographical, political, or cultural region. An operation that requires a Locale to perform its task is called locale-sensitive and uses the Locale to form information for the user. The locale is a mechanism for identifying objects, not a container for the objects ... Read More

How to create a pdf file in Java?

Sai Subramanyam

Sai Subramanyam

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

2K+ Views

You can create a PDF file using the PDF Box library. You can set the environment for pdf box by following Pdf Box Environment Tutorial. Example import java.io.IOException; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; public class CreatingEmptyPdf { public static void main(String args[]) throws IOException { ... Read More

What is constructor chaining in Java?

Sai Subramanyam

Sai Subramanyam

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

424 Views

Constructors are similar to methods but, They do not have any return type. The name of the constructor is same as the name of the class. Every class has a constructor. If we do not explicitly write a constructor for a class, the Java compiler builds a default constructor ... Read More

Java Web application pointing to SAP HANA locally

Sai Subramanyam

Sai Subramanyam

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

293 Views

You would require changing the connection.properties file of your local Tomcat Server (Server > Java Web Tomcat 8 Server-config/config_master/connection_data), to point to the HANA database. Here are the usual parameters that need to be configured for HANA database javax.persistence.jdbc.driver = com.sap.db.jdbc.Driver javax.persistence.jdbc.url = jdbc:sap://:/?reconnect=true&autocommit=false javax.persistence.jdbc.user = db-user javax.persistence.jdbc.password = ... Read More

Condition Variables within Sub-Query in SAP

Sai Subramanyam

Sai Subramanyam

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

149 Views

One line answer - Sub-Queries are not allowed. But if you need to handle your scenario, then you can do the following: Encapsulate your entire query into a stored procedure and then use the stored procedure. Create a view. The view is created to handle either your main query ... Read More

Finding code where admin user is created in SAP Hybris

Sai Subramanyam

Sai Subramanyam

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

156 Views

There is a method addUserRights at below path in which it is done.hybris/bin/platform/bootstrap/bin → ybootstrap.jar → DMLRecordFactory

What is an array data structure in Java?

Sai Subramanyam

Sai Subramanyam

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

250 Views

Array is a container which can hold a fix number of items and these items should be of the same type. Most of the data structures make use of arrays to implement their algorithms. Following are the important terms to understand the concept of Array. Element − Each item ... Read More

Seeing list of all program screens in SAP ABAP

Sai Subramanyam

Sai Subramanyam

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

807 Views

If you want to check all Dynpros belongs to one program, you can use table D020S. D020S is known as SAP Table to store screen sources information. This is available within R/3 SAP systems depending on the version and release level. To display or maintain this table, use T-code SM30 ... Read More

Recovery database SBO-COMMON in SAP Business One

Sai Subramanyam

Sai Subramanyam

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

1K+ Views

In SAP Business One, SBO-Common is only used in functionality handling or following your company database. Normal day to day business functions happens entirely in the company database. You can create a new set of sample database SBO-COMMON by reinstalling SAP B1 server. SBO-Common database holds this information − ... Read More

Advertisements