SAP HANA Articles

Page 13 of 58

Connecting system with SAP system using a Web Service

Shahyan Ali
Shahyan Ali
Updated on 13-Mar-2026 769 Views

The best solution for connecting your system with an SAP system using a web service is to regenerate the web service code in the client system. This approach ensures that your client application has the most up-to-date interface definitions and can properly communicate with the SAP system's web services. Regenerating Web Service Code in Visual Studio To regenerate the WSDL code in Visual Studio, follow these steps − Navigate to Add Service Reference in Visual Studio and regenerate the WSDL code. This process ...

Read More

In SAP Crystal Reports XI, return records that match multiple conditions

Raja Ali
Raja Ali
Updated on 13-Mar-2026 278 Views

It is advisable to use functions to pass such filter conditions in SAP Crystal Reports XI. When dealing with multiple conditions, you can try changing the order of your condition like − ({PR.cov} = "A" and {PR.cov}="B") or {PR.cov} = "A" Using Custom Functions You can create custom functions to handle complex conditions more efficiently. Try using a function like this − {@A}: if {PR.cov} = "A" then 1 else 0 To create custom functions in Crystal ...

Read More

SAP connector failed, use of port number 3350

Syed Nauman
Syed Nauman
Updated on 13-Mar-2026 358 Views

This port is used to provide a range of connections to SAP gateway for RFC (Remote Function Call) connection. Port 3350 is commonly used by SAP systems for gateway communication and connection pooling. Common Causes and Solutions If you are encountering SAP connector failures related to port 3350, here are the primary troubleshooting steps − Network Resolution Issues Try to resolve your server name with nslookup command to verify DNS resolution − nslookup your-sap-server-name If DNS resolution fails, try connecting to the IP address instead of the server name in your SAP ...

Read More

Error while passing an image value to an OData request in SAP

Altamas Khan
Altamas Khan
Updated on 13-Mar-2026 385 Views

When working with SAP OData services, you may encounter errors while passing image values in your requests. This typically occurs when the image data format is not properly handled or the request headers are incorrectly configured. Converting Image Data If your ImgData includes an image in Data URI format base64, you need to convert it to a proper string format. Add the following line to convert your ImgValue to ImgData − var imgData = JSON.stringify(ImgValue); Using AJAX for Image Upload The recommended approach is to use AJAX to post images through OData. This ...

Read More

In my SAP Fiori custom app, Back button is not working in Launchpad

Mohd Arshad
Mohd Arshad
Updated on 13-Mar-2026 610 Views

When developing SAP Fiori custom applications, you may encounter issues where the Back button doesn't function properly within the Launchpad environment. This typically occurs due to incorrect navigation parameters in the CrossApplicationNavigation service. Solution The most effective solution is to use the shellHash property instead of the semanticObject property when implementing navigation. The shellHash provides a direct hash-based navigation approach that works more reliably with the Launchpad's back button functionality. Example Here's how to implement the navigation using shellHash − sap.ushell.Container.getService("CrossApplicationNavigation").toExternal({ target: { ...

Read More

While changing Partner number, VBA code keeps running while interacting with SAP system

Mohd Altamas
Mohd Altamas
Updated on 13-Mar-2026 207 Views

The best possible solution to avoid this issue is by adding breakpoints to the appropriate places in your code. This issue is common with VBA and C# while debugging code that includes COM libraries, particularly when interacting with SAP systems. Understanding the Problem When changing partner numbers in SAP through VBA automation, the code may continue executing even while the SAP system is still processing. This occurs because VBA doesn't automatically wait for SAP's COM interface to complete its operations before moving to the next line of code. Solution Implementation Here's how to properly handle this ...

Read More

Using constants in ABAP OO method

V Jyothi
V Jyothi
Updated on 13-Mar-2026 439 Views

When working with constants in ABAP Object-Oriented methods, it's important to organize your code properly. Your INCLUDE should only contain definitions of constants nothing else and then the answer is straightforward. An INCLUDE in ABAP is a way to modularize code by storing reusable components like constants, type definitions, or data declarations in separate files that can be included in multiple programs or classes. Steps to Include Constants in ABAP OO Method To expose constants from an INCLUDE in your ...

Read More

Accessing import parameters passed to a function module in SAP ABAP

Samual Sam
Samual Sam
Updated on 13-Mar-2026 1K+ Views

ABAP provides several approaches to access import parameters passed to a function module dynamically. This capability is essential when you need to inspect or process function module parameters at runtime without knowing their structure beforehand. Using RPY_FUNCTIONMODULE_READ Function Module ABAP has a function module named RPY_FUNCTIONMODULE_READ which lets you extract metadata about the function module. To be more precise, it lets you extract the parameter structure of function module and once you know the parameters then you can access them dynamically. But it comes at a cost − if ...

Read More

Learning about SAP ABAP CDS views

Sravani S
Sravani S
Updated on 13-Mar-2026 4K+ Views

SAP ABAP CDS Views (Core Data Services) are a powerful data modeling infrastructure that allows developers to define semantically rich data models directly in the database. CDS views enable advanced analytical processing and provide a foundation for SAP HANA and S/4HANA applications. Learning Resources Whether it is CDS or ABAP or anything pertaining to SAP, you can always find free courses on https://open.sap.com/ referred to as Open SAP. Besides this, there are lots of free resources available - just Google it ...

Read More

Converting a file into a byte array in SAP ABAP

Ramu Prasad
Ramu Prasad
Updated on 13-Mar-2026 1K+ Views

Converting a file into a byte array in SAP ABAP is a common requirement when you need to process binary data or transfer files. The following approach reads a file in binary mode and stores its content as an xstring byte array. Method Using Dataset Operations Here is a code snippet that demonstrates how to convert a file into a byte array − data: f_line type xstring. " to get line by line content data: f_file type ...

Read More
Showing 121–130 of 573 articles
« Prev 1 11 12 13 14 15 58 Next »
Advertisements