
- Python Basic Tutorial
- Python - Home
- Python - Overview
- Python - Environment Setup
- Python - Basic Syntax
- Python - Comments
- Python - Variables
- Python - Data Types
- Python - Operators
- Python - Decision Making
- Python - Loops
- Python - Numbers
- Python - Strings
- Python - Lists
- Python - Tuples
- Python - Dictionary
- Python - Date & Time
- Python - Functions
- Python - Modules
- Python - Files I/O
- Python - Exceptions
Querying SAP database using Python
Python is one of the most used object-oriented programming languages which is very easy to code and understand.
In order to use Python with SAP, we need to install Python SAP RFC module which is known as PyRFC. One of its available methods is RFC_READ_TABLE which can be called to read data from a table in SAP database.
Also, the PyRFC package provides various bindings which can be utilized to make calls either way. We can use to make calls either from ABAP modules to Python modules or the other way round. One can define equivalent SAP data types which are used in data exchange.
Also, we can create Web Service in Python which can be used for inter-communication. SAP NetWeaver is fully compatible with web services either state full or stateless.
- Related Articles
- Using database view in SAP HANA
- Rfcabapexception error while querying a number of columns using RFC_READ_TABLE in SAP
- Benefits of using SAP HANA database views
- Join using CE functions in SAP HANA database
- Using flat file load in SAP HANA database
- Publishing data to SAP HANA database using Information Composer
- Using TCP/IP ports for accessing SAP HANA database
- Querying Data from Table using Node
- Performing Database Transactions using Python
- Understanding a database view in SAP HANA database
- Finding a database view in SAP HANA database
- Generate Database diagram within SAP
- Create database view in SAP ABAP
- Unloading tables in SAP HANA database
- Dropping a SAP HANA database view
