SAP HANA Articles

Page 5 of 58

Getting error- is not an internal table "OCCURS n" specification is missing in SAP method

Abhinanda Shri
Abhinanda Shri
Updated on 13-Mar-2026 2K+ Views

When working with SAP ABAP methods, you may encounter the error " is not an internal table 'OCCURS n' specification is missing". This error occurs when you try to use a structure type instead of a table type for parameters that expect internal tables. You need to define the et_flights parameter as of type SFLIGHT. As per method defined, you have this type as structure type and also declare transparent table SFLIGHT at the same time. You should use an already available dictionary table type with row structure of SFLIGHT for et_flight. You should declare et_flights inside ...

Read More

Join using CE functions in SAP HANA database

Nishtha Thakur
Nishtha Thakur
Updated on 13-Mar-2026 401 Views

You can try using projection node as follows to perform joins in SAP HANA using CE functions. The CE_PROJECTION function allows you to select specific columns and rename them, while CE_JOIN performs the actual join operation between tables. Example Here's how to join two tables using CE functions with column projection and renaming − table1 = CE_PROJECTION(:T1, ["ACCT_ID", "SALARY"]); table2 = CE_PROJECTION(:T2, ["EMPL_ID" AS "ACCT_ID", "ADD", "ZIP", "STATE"]); var_out = CE_JOIN(:table1, :table2, ["ACCT_ID"]); Using Projection node, you can rename the column names. Note that EMPL_ID has been renamed to ACCT_ID in the second projection ...

Read More

Communicating with SAP system using PHP

Rishi Rathor
Rishi Rathor
Updated on 13-Mar-2026 1K+ Views

You can communicate with any SAP system from PHP in many ways, but the preferred standard available choices are − RFC (Remote Function Call) − Direct communication protocol for calling SAP functions remotely Web Services − HTTP-based communication using SOAP or REST APIs Communication Methods PHP has got one RFC library to communicate with SAP. But the main job in your problem statement lies with your partner as they are the one dealing with SAP component. You need to check with them what they prefer - services or RFC. ...

Read More

Creating a table in SAP system using OData service

Nancy Den
Nancy Den
Updated on 13-Mar-2026 891 Views

In order to create a table in an SAP system using OData service, you need to use either *.hdbdd or *.hdbtable files to define your table structure and then expose them with xsodata service definition. The .hdbdd file uses Core Data Services (CDS) syntax for defining database objects, while .hdbtable uses native SQL DDL syntax. Once your table is created, the .xsodata file exposes it as an OData service endpoint. Creating OData Service Definition To expose your table through OData, create a service definition file with the .xsodata extension. The basic syntax includes the service namespace and ...

Read More

Single query vs multiple queries to fetch large number of rows in SAP HANA

Smita Kapse
Smita Kapse
Updated on 13-Mar-2026 2K+ Views

When dealing with large datasets in SAP HANA, choosing between single query and multiple queries significantly impacts performance. Single query would always be better than the multiple queries. The number of rows does not impact much on performance. It is the way query is written and the data to be fetched which makes the difference. Also, the table should be indexed. Why Single Query Performs Better Single queries outperform multiple queries due to several key factors − Reduced network overhead ...

Read More

Error while connection SAP HANA with .NET

Anvi Jain
Anvi Jain
Updated on 13-Mar-2026 250 Views

When connecting SAP HANA with .NET applications, you may encounter compatibility issues related to system architecture. You would require installing both the 32-bit and 64-bit SAP HANA client software as Microsoft Visual Studio operates on a 32-bit application framework. Understanding the Architecture Issue The primary reason for this requirement stems from the way .NET applications are compiled and executed. Even on 64-bit systems, Visual Studio's IDE and certain components run in 32-bit mode, which can cause conflicts when trying to connect to SAP HANA databases using only ...

Read More

Inserting new line to the output using WS_Download in ABAP

Nitya Raut
Nitya Raut
Updated on 13-Mar-2026 1K+ Views

First of all, don't use WS_DOWNLOAD as this function module is obsolete and deprecated in modern ABAP development. Using cl_abap_char_utilities for Line Breaks You can use a character type field and set it to cl_abap_char_utilities=>cr_lf. This utility class provides constants for various character operations, including carriage return and line feed combinations. Now use this field at places where you want to insert the new line. Example Here's how to implement line breaks when downloading data using modern ABAP approaches − ...

Read More

Deleting subsequent heading from report in SAP system

Jennifer Nicholas
Jennifer Nicholas
Updated on 13-Mar-2026 147 Views

You need to add NO STANDARD PAGE HEADING to suppress the default heading that SAP automatically generates for reports. This statement must be included in the report declaration section as follows − Syntax REPORT report_name MESSAGE-ID message_class NO STANDARD PAGE HEADING. Example Here's a complete example showing how to implement a report without the standard page heading − REPORT z_custom_report MESSAGE-ID z_custom_messages NO STANDARD PAGE HEADING. DATA: lv_text TYPE string VALUE 'Custom Report Output'. START-OF-SELECTION. WRITE: / 'This report has no standard SAP heading', ...

Read More

Using combination of "AND" and "OR" in SELECT in ABAP

Vrundesha Joshi
Vrundesha Joshi
Updated on 13-Mar-2026 11K+ Views

You can combine AND and OR operators in ABAP SELECT statements to create complex filtering conditions. This allows you to specify multiple criteria that must be met simultaneously while also providing alternative options for certain fields. Using AND with OR in Parentheses You can use the following query to combine conditions − SELECT * FROM my_table WHERE condition_1 AND condition_2 AND ( id EQ '2' OR id EQ '3' ). Note: There should be space after and before the bracket for proper syntax formatting. In this example, both condition_1 and condition_2 must be ...

Read More

Getting class of given method using T-code SE80 in SAP

Rishi Rathor
Rishi Rathor
Updated on 13-Mar-2026 3K+ Views

To find the class of a given method in SAP, you need to use transaction code SE80 and navigate through the Repository Information System. This allows you to search for methods and identify which class they belong to. Steps to Find Class of a Method Follow these steps to locate the class containing a specific method − Step 1: Call transaction SE80 in the SAP system. Step 2: Navigate to the Repository Info System from the main ...

Read More
Showing 41–50 of 573 articles
« Prev 1 3 4 5 6 7 58 Next »
Advertisements