SAP HANA Articles

Found 573 articles

Data Replication from SAP PO to SQL Server

SAP Expert
SAP Expert
Updated on 13-Mar-2026 637 Views

It is important to note that SAP PO (Process Orchestration) is not a data source but a middleware − it does not store or contain business data itself. To replicate data to SQL Server, you extract data from the actual source system (such as SAP ERP) through SAP PO, and load it into SQL Server using a JDBC adapter. What Is SAP PI/PO? SAP Process Integration (PI), also known as SAP Process Orchestration (PO), enables cross-system communication and integration. It allows you to connect SAP and non-SAP systems based on different technologies like Java and SAP ABAP. It ...

Read More

nLoad and unload a table in SAP HANA using SQL query

SAP Developer
SAP Developer
Updated on 13-Mar-2026 2K+ Views

In SAP HANA, it is possible to manually load and unload individual tables and table columns for memory management purposes. You can perform loading of table to precisely measure the total or "worst case" amount of memory used by a particular table. A table is unloaded from database to actively free up memory space. Basic Load and Unload Syntax You can use the following SQL queries to perform load/unload operations on tables − LOAD UNLOAD Loading a Table To load a specific ...

Read More

nAnalyzing code coverage results in SAP Design Studio on top of HANA

John SAP
John SAP
Updated on 13-Mar-2026 136 Views

To analyze code coverage results in SAP Design Studio on top of HANA, you first need to establish a connection to your SAP HANA system and then visualize the data through Design Studio's reporting capabilities. Setting Up ODBC Connection To consume HANA views, you need to start by creating an ODBC connection to SAP HANA system through odbcad32.exe. This creates the necessary data source connection that Design Studio will use to access your HANA database. Connecting Design Studio to HANA The next step is to open SAP Design ...

Read More

Combining LIKE and CONTAINS operator in SAP HANA

Samual Sam
Samual Sam
Updated on 13-Mar-2026 967 Views

In SAP HANA, you can combine LIKE and CONTAINS operators with regular expressions for advanced string manipulation. When removing duplicate characters from a string, using \1+ only removes consecutive occurrences. To remove all duplicate occurrences while keeping only the last occurrence of each character, you can use the REPLACE_REGEXPR function with a more sophisticated pattern. Using REPLACE_REGEXPR with Regular Expressions The pattern (.)(?=.*\1) works by capturing any character and using a positive lookahead to check if that same character appears later in the string. This allows you to remove all duplicate occurrences except the last one − ...

Read More

Using Group by hour in SAP HANA table

Prabhas
Prabhas
Updated on 13-Mar-2026 747 Views

When working with SAP HANA tables, grouping data by hour is a common requirement for time-based analysis. This can be achieved using different approaches depending on your specific needs. Method 1: Using DATE() and HOUR() Functions You can try this method to convert time to date and hour format − select to_varchar(time, 'YYYY-MM-DD'), hour(time), sum(r_time) as r_time, sum(p_time) as p_time from t1 group by date(time), hour(time) order by to_varchar(time, 'YYYY-MM-DD'), hour(time); This approach extracts the date and hour components separately from the timestamp column. The DATE() function extracts the date part, while HOUR() extracts ...

Read More

Searching data from the different system in SAP.

seetha
seetha
Updated on 13-Mar-2026 255 Views

You need to create a search help with custom data selection by defining a search help exit. This is particularly useful when you need to fetch data from external systems or apply complex filtering logic that cannot be achieved through standard selection methods. Creating Custom Search Help with Exit Function To implement custom data selection, follow these steps − Step 1: Navigate to the Definition tab of your search help in transaction SE11. Step 2: Remove all content from the Selection method input field to disable standard data selection. Step 3: Enter your custom function ...

Read More

Allow only a possible set of values to choose from while setting value in SAP ABAP

varma
varma
Updated on 13-Mar-2026 536 Views

If you need to place a restriction on field values, you can use predefined domains on the column or text field to control the permissible values. Implementation Steps The process follows this hierarchy − Select Table Field -> Data Element -> Specify Domain While specifying the domain, you can set the permissible set of values which you want the table field to accept. This creates a value restriction at the domain level that applies to all fields using that domain. Domain Value Table Configuration To configure allowed values in your domain − ...

Read More

Extracting data from SAP HANA database and load to ORACLE database

Paul Richard
Paul Richard
Updated on 13-Mar-2026 987 Views

There are several methods to extract data from SAP HANA database and load it into Oracle database. Each approach has its own advantages depending on your specific requirements, infrastructure, and technical expertise. Methods for Data Extraction and Loading ETL Tools: Use standard SAP tools like SAP Data Services or Oracle Warehouse Builder (OWB) to extract data and automate the entire process. These tools provide graphical interfaces, built-in transformations, and scheduling capabilities for seamless data integration. ...

Read More

Replacing multiple occurrence by a single occurrence in SAP HANA

Kumar Varma
Kumar Varma
Updated on 13-Mar-2026 1K+ Views

The code you are using \1+ just removes consecutive occurrences only. To replace multiple occurrences of any character with a single occurrence, you can use the following approach with REPLACE_REGEXPR function in SAP HANA. Using Regular Expression to Remove Multiple Occurrences The regular expression pattern (.)(?=.*\1) works by capturing any character and looking ahead to see if the same character appears later in the string. This allows us to remove all duplicate occurrences while keeping only the last one − SELECT REPLACE_REGEXPR('(.)(?=.*\1)' IN '22331122' WITH '' ...

Read More

Setting up a JDBC connection to remote SAP HANA system

Manikanth Mani
Manikanth Mani
Updated on 13-Mar-2026 1K+ Views

To establish a JDBC connection to a remote SAP HANA system, you need to configure the correct port number and use the appropriate JDBC driver. Port Configuration You are using the correct port number for instance number "00". Port number 30015, where 00 represents the instance number of your HANA system. The port format follows the pattern 315 for SQL connections. JDBC Driver Setup Use the HANA client JAR file ngdbc.jar instead of the generic SAP JAR file. This driver is specifically optimized for HANA database connections and provides better performance and compatibility. Example ...

Read More
Showing 1–10 of 573 articles
« Prev 1 2 3 4 5 58 Next »
Advertisements