Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
SAP HANA Articles
Page 8 of 58
OData or Java Services to be consumed by SAP UI5 application
Before I make any proposal, I am assuming that you understand both OData and REST very well. REST is a well-known and accomplished architecture style whereas OData is a protocol for communication. OData resides on top of AtomPub protocol which in turn is based on REST, so overall OData seems to follow REST path only and it is implemented in a similar manner. Understanding the Architecture The relationship between these technologies can be visualized as follows − REST Architecture AtomPub Protocol ...
Read MoreApply filtering on Model to fetch filtered data in ABAP
When working with ABAP models, a simple change can sort the filtering problem out. Just replace the read call with an object notation rather than the current one which is based on position. Understanding Object Notation vs Position-Based Reading In ABAP, when fetching filtered data from models, using object notation provides better performance and clearer code structure compared to position-based reading. Object notation allows you to specify field names directly, making your code more maintainable and less prone to errors. Position-Based Reading (Avoid This) The traditional position-based approach relies on field positions − READ ...
Read MoreSecond approach to fetch data from SAP tables without using SAP JCo
If you need to access the SAP Tables with the help of the table name and column names, then you can use the RFC RFC_READ_TABLE. It also provides external access to R/3 tables with the help of remote function calls. The RFC_READ_TABLE is a standard SAP function module that allows external systems to read data from any SAP table remotely. This approach is particularly useful when you cannot use SAP JCo libraries but still need to extract data from SAP systems. Required Parameters RFC requires the following details − table name ...
Read MoreGet access or point to SAP UI5 control
You are making a small mistake over here. Method addContent is a method available for UI5 controls, not over normal DOM elements. Accessing SAP UI5 Controls If you want to gain a reference to a UI5 control and add content to it, you can use the byId method to get access to the control by its ID. This method is available in views and controllers. Example Here's how to get a reference to a toolbar control and add a button to it − this.getView().byId("").addContent(new sap.m.Button({ text: "My Button", ...
Read MoreUsage of Operator +n and (n) to pass data in ABAP
The +n and (n) operators in ABAP are powerful tools for string manipulation and substring extraction. These operators allow you to specify string offsets and lengths to extract specific portions of character data. If my date format is in the form DDMMYYYY then Z_Period(4) equals DDMM so (4) means first four characters. If my date format is in the form DDMMYYYY then Z_Period +4 equals YYYY so +4 means after the first four characters. So if I say ...
Read MoreManaging user sessions in SAP UI5 application
You can make use of setTimeout and clearTimeout functions to manage user sessions in SAP UI5 applications. In order to trace the activity of the user, you can either make use of mouse move event or key press event or even both to detect user activity and prevent unwanted session timeouts. Session Timeout Implementation Session management works by setting a timer that will expire after a specified period of inactivity. When user activity is detected, the timer is reset, extending the session duration. This approach ensures that ...
Read MoreFetching attribute of SAP Webdynpro component in new component
You need to do the below steps in order to pass values from one Webdynpro component to another: Create both components In the first component, create a method which will call the second component Create a parameter in the context of the first component which will be passed Call the first component; once the URL has been generated just append the parameter which needs to be passed Step-by-Step Implementation Step 1: Creating Context Parameter in First Component In your first component's context, ...
Read MoreLearning SAP HANA and scope with ABAP-HANA or BI-HANA
While you have a valid point that most of the SAP HANA projects are coupled with varied SAP landscape, there does exist a lot of projects which involve only native SAP HANA development. It entirely depends on your interests and knowledge base, but sound understanding of the core concepts around data warehousing needs to be clear if you are planning to build anything utilizing the base concepts. ABAP-HANA vs BI-HANA Development Paths Presently, as per market understanding, clients prefer ABAP on HANA as they have one or other existing ABAP solutions. So, any enhancement using ABAP seems ...
Read MorePerforming Null check using HANA SQL Script
You can go for using either NULLIF or COALESCE function to serve your requirement for null checking in HANA SQL Script. NULLIF Function NULLIF (expression1, expression2): This function will return the same type whatever is specified as the first expression. Basically, NULLIF returns − The first expression if the two expressions are not equal. ...
Read MoreUsing SSIS 2014 with Visual Studio 2012 to integrate with SAP
When working with SSIS 2014 (SQL Server Integration Services), it's important to use the correct version of Visual Studio for compatibility. You made a small mistake but a mistake having a big impact. SSIS 2014 does not support Visual Studio 2012 in your case. Solution Just switch to Visual Studio 2013, and your problem will be resolved. The version compatibility between SSIS and Visual Studio is crucial for proper integration with SAP systems. Version Compatibility Requirements For successful SAP integration with SSIS ...
Read More