Java Web Application Pointing to SAP HANA Locally

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

294 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 = db-pass eclipselink.target-database = HANA

Connecting SAP B1 via DI API Takes Too Much Time

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

514 Views

Try deleting all the files under this location - %UserProfile%\AppData\Local\SAP\SAP Business One\Log\DIAPIWhen you delete all files, it will speed up the connection process.

Condition Variables within Sub-Query in SAP

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

155 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 or sub-query. Create a table level variable and store the end results of view in it and then go ahead and fetch the value of table variable in the main query.

Need to Import java.lang Package in Java Programs

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

664 Views

The java.lang package is the default package in Java, by default, it will be imported. Therefore, there is no need to import this package explicitly. i.e. without importing you can access the classes of this package. Example If you observe the following example here we haven’t imported the lang package explicitly but, still, we are able to calculate the square root of a number using the sqrt() method of the java.lang.Math class. Live Demo public class LangTest { public static void main(String args[]) { int num = 100; ... Read More

Installing Free Version of SAP ERP to Learn ABAP

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

2K+ Views

You can install a free trial from SAP site, but for that, you require an SAP Partner ID. SAP also provides developer trial and you can install the following link:https://developers.sap.com/trials-downloads.htmlThe SAP NetWeaver Application Server ABAP comes with a temporary license that allows you to logon to the system. As a first step before using the system, you need to install a 90 days Minisap licenseYou can see all SAP NetWeaver AS ABAP version available for download, Installation Procedure and How to Guide as well.You can also refer to this link to know about license terms, PAM and other details related ... Read More

Deleting BOM Component in SAP

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

3K+ Views

In order to delete a component of BOM, you can use transaction 'CS02'. CS02 is referred as Change Material BOM. It is further classified within the Logistics - General module. Module: Logistics-General Application Component - Bills of Material Package: CS Package Description: R/3 Application development: PP Bills of Material. But if you require deleting more than one BOM component then you can use LSMW script. Method: 0002 Change Program Name : RCDBI020 Once you have deleted the components if you want to verify the deletion and view the deleted components. You can view them under ... Read More

What to Install to Start Learning SAP ABAP

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

344 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 parameters. Unlike Include programs, function modules can be executed independently. SAP system contains several predefined function modules that can be called from any ABAP program. The function group acts as a kind of container for a number of function modules that would logically belong together. For instance, the function modules ... Read More

GENTRAN in Electronic Data Interchange (EDI) in SAP

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

452 Views

Let me give you a basic info about electronic data interchange, it is used to exchange data (usually structured) between firms.Speaking about GENTRAN, it is one of the available EDI tools which can help you parse data in most of the common formats available. If you want to change the format of data from one to another, GENTRAN can do it for you too.Coming up to the most exciting part of it, it provides a drag and drop interface to you where you can program.Usually, when you need to convert a document from one format to another, you need to ... Read More

Displaying Popup in SAP STMS

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

204 Views

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 as a popup.

Types of Arrays in Java

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

18K+ Views

There are two types of arrays in Java they are − Single dimensional array − A single dimensional array of Java is a normal array where, the array contains sequential elements (of same type) − int[] myArray = {10, 20, 30, 40} Example Live Demo public class TestArray { public static void main(String[] args) { double[] myList = {1.9, 2.9, 3.4, 3.5}; // Print all the array elements ... Read More

Advertisements