Connecting to SAP HANA server on Cloud using PHP

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

288 Views

To get the server name of SAP HANA server, you need to check the virtual machine (VM) list.You can find this list under Virtual machine details of your corresponding HANA SPS5 server’s External Address property.Usually, the port number is 30015.For the problem that you are facing regarding the connection set up, you can refer below link for more details.https://blogs.sap.com/2013/06/17/connecting-to-your-hana-database-from-php-using-odbc/

Extract data from SAP system using ERPConnect

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

298 Views

As per my understanding of your question, the better option for you will be to code the selection in ABAP. Then you can wrap this selection in a function module which will be remote function call enabled. Then go ahead and use this module.But let’s say you are not able to use it, then only remaining option for you will be ‘RFC_READ_TABLE’ but it has got its own problems.

While using SAPJco 3.0.11 with Maven, I can’t rename original archive sapjco3.jar

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

274 Views

If you need a standalone application, you can use maven-assembly-plugin that can handle JAR with renaming in resulting artifacts.Also, this problem is with 3.0.11 and older versions like 3.0.6 don’t have the same problem.You can also refer this SAP blog for more details:https://blogs.sap.com/2013/04/05/using-jco-without-nwds/

How to use EXPORT / IMPORT to Memory ABAP – SAP?

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

593 Views

As per your requirement, you are utilizing ABAP memory to transfer data to background session from session of the user. It will not work as per the standard documentation.  RFC or updates module will run in different user sessions with different ABAP memory and hence it will not be possible.

Using table parameter in SAP RFC Function module

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

1K+ Views

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.

How to pause an ABAP program?

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

359 Views

Either you can use SAP “WAIT UP TO” statement. For e.g. the below statement waits up for 30 seconds WAIT UP TO 30 SECONDS But this statement has an implicit database commit. It might sound weird but there are scenarios where this behavior is expected so you should be aware of whether this fits your use case or not. In addition to this, it performs a rollout and releases the worker processes. But the use cases where you don’t want to have an implicit database commit and worker process are considered important then you can go for an ... Read More

What is SAP ERP system?

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

409 Views

SAP stands for Systems Applications and Products in Data Processing. As the name suggests, it is an application used for data processing like ERP (Enterprise Resource Planning).The SAP is mainly used in business that consists of different independent modules (Financial, Administrative, Sales & Distribution, Production Planning, Customer Relationship Management, Material Management) which are integrated for business management. SAP manage all resources of an organization in a very effective way and make a plan how to get maximum utilization of resources (Materials, Manpower, Money, and Services). SAP ERP system gives a centralized access control to the database/modules that run in any organization ... Read More

How can I transfer data from SAP HANA to virtual table?

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

281 Views

You are making a basic mistake over here. A VORA virtual table does not support the traditional INSERT or UPDATE or DELETE statements. If you are planning to make any modification to data from VORA itself, then you need to use the APPEND command to add data or files to the table. But since you are trying from SAP HANA even this will not work for you. For your requirement, you need to have a HDFS file then use it for appending to the virtual table.

How to convert BLOB to Byte Array in java?

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

6K+ Views

You can contents of a blob into a byte array using the getBytes() method.Exampleimport java.awt.Image; import java.awt.image.BufferedImage; import java.sql.Blob; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.Arrays; public class BlobToByteArray { public static void main(String[] args) throws Exception { Image image = new BufferedImage(300, 400, BufferedImage.TYPE_INT_RGB); String JDBC_DRIVER = "com.mysql.jdbc.Driver"; String DB_URL = "jdbc:mysql://localhost/mydb"; String USER = "root"; String PASS = "password"; ... Read More

What should I prefer to connect to SAP HANA database- extended services or other ODBC technique?

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

110 Views

As you had already mentioned that extended services are natively integrated with HANA, so it’s going to be easier to use against HANA but as it is native to HANA only it can’t be used elsewhere.  It will be faster when you compare it against ODBC because the extra step will be avoided here as it is native to HANA. Also, as it is integrated other factors like latency and other would be out of question which can be considerable factors with ODBC.Extended Services follow the MVC architecture so you need not worry about the implementation style as it will ... Read More

Advertisements