SAP Developer

SAP Developer

63 Articles Published

Articles by SAP Developer

63 articles

\\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

Retrieving ABAP BAdi from SAP BW

SAP Developer
SAP Developer
Updated on 13-Mar-2026 374 Views

There are different Function Modules that you can use depending on BAdi type − classic or fast kernel. Understanding these modules is essential for retrieving ABAP BAdi information from SAP BW systems. Function Modules for BAdi Retrieval You can use Function module SXO_IMPL_FOR_BADI_READ to retrieve BAdi implementations. This function module reads the implementation details of both classic and kernel BAdIs. Example − Using SXO_IMPL_FOR_BADI_READ CALL FUNCTION 'SXO_IMPL_FOR_BADI_READ' EXPORTING badi_name = 'YOUR_BADI_NAME' IMPORTING implementation_data = lt_impl_data EXCEPTIONS badi_not_existing ...

Read More

Change no data text for Search in SAPUI5

SAP Developer
SAP Developer
Updated on 13-Mar-2026 695 Views

You just need to use the noDataText property to sort out your requirement. This property allows you to customize the message displayed when a search returns no results or when a list/table has no data to show. You have two options, either you can change in controller or you can change in the XML. Option 1: Using Controller Method Call the setNoDataText method in the init method of your controller − this.byId("").setNoDataText("") Complete Example Here's a complete example showing how to implement this in a controller − onInit: function() { ...

Read More

Commit changes on SAP BAPI Transaction

SAP Developer
SAP Developer
Updated on 13-Mar-2026 767 Views

You are correct that in order for the changes done by BAPI to come into effect, you need to call the commit function. The BAPI_TRANSACTION_COMMIT function module is essential for persisting changes made through BAPI calls to the database. It will commit all the changes which are uncommitted, not only the last transaction. This means that if you have multiple BAPI calls or database operations in your program, calling BAPI_TRANSACTION_COMMIT will save all pending changes. BAPI_TRANSACTION_COMMIT vs COMMIT WORK There are two primary ...

Read More

Apply CSS on a table cell based on the content in SAPUI5

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

You are having one of the most common requirements in the case of the table. You can achieve the end result using formatter function exposed on the cells of a table. This approach allows you to conditionally apply CSS styles based on the content value of each cell. Implementation Example Here is a complete code snippet for your reference which you can alter as per your use case − cells: [ new sap.m.Text({ text: { path: "/name", ...

Read More

Instantiation of Export Options throws an Exception in SAP Crystal Report

SAP Developer
SAP Developer
Updated on 13-Mar-2026 212 Views

Even after referencing the correct version of the dll, if you are still getting the error then it means that the runtime for the Crystal Reports is not properly installed. The issue typically occurs when you use the MSI installer instead of the EXE installer for SAP Crystal Reports installation. The MSI installer has a known shortcoming that it does not properly incorporate Crystal Reports with Visual Studio, leading to instantiation exceptions when working with export options. Solution To resolve this issue, follow these steps − Step 1: Uninstall the current Crystal Reports runtime that was ...

Read More

Connect to dynamic URL within OData in SAP project

SAP Developer
SAP Developer
Updated on 13-Mar-2026 453 Views

You can create a dynamic URL in your code which you can read from configuration files or XML. This approach allows you to modify the OData service endpoint without hardcoding it in your application. Dynamic URL Connection Example Here is a complete code snippet that demonstrates connecting to a dynamic OData URL − using System; using System.IO; using System.Net; class Program { static void Main() { // Read ...

Read More

Best way to connect to SAP system from JAVA

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

There are lots of possibilities to connect to SAP systems from Java, but a lot depends upon your exact requirements and needs. Let's explore the most effective approaches. Java Connector (JCo) You can use the SAP Java Connector (JCo), which is the most prevalent option for Java-SAP integration. JCo provides a robust middleware component that enables Java applications to communicate with SAP systems using Remote Function Calls (RFCs). It has extensive support available online and offers high performance for enterprise applications. Example Here's a basic structure for connecting using JCo − import com.sap.conn.jco.*; ...

Read More

Using a SQL View in SAP BusinessOne

SAP Developer
SAP Developer
Updated on 13-Mar-2026 531 Views

Yes, it is possible to use a SQL view in SAP Business One client and you can use it effectively for your business reporting needs. Using SQL Views in SAP Business One A view in SAP Business One is a virtual table that displays data from one or more underlying tables. Views are particularly useful for creating custom reports and simplifying complex queries by presenting a pre-defined data structure. Query Syntax Please find below the standard format that you should be using ...

Read More

Add Authentication details in the AJAX request in SAPUI5

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

In SAPUI5, when making AJAX requests that require authentication, you need to exploit the beforeSend function of jQuery AJAX to add authentication details to the request headers. This is commonly required when accessing secured backend services or APIs. Here is a basic code snippet that demonstrates how to add Basic Authentication to your AJAX request − function AddToHeader(xhr) { var user = "your_username"; // Define the username var pwd = "your_password"; // Get the password ...

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