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
Articles on Trending Technologies
Technical articles with clear explanations and examples
Get 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 MoreIncluding third party libraries in SAPUI5 Project
Including third party libraries in your SAPUI5 project allows you to leverage external functionality and extend your application capabilities. SAPUI5 provides several methods to incorporate these libraries safely and efficiently. Using jQuery.sap.require Method For libraries that are already included with SAPUI5, you can use the jQuery.sap.require method to load them. Here's how you would include jQuery UI components − jQuery.sap.require("sap.ui.thirdparty.jqueryui.jquery-ui-core"); This method ensures that the library is loaded properly within the SAPUI5 framework and maintains compatibility with the application lifecycle. Security Considerations When working with third party libraries, security is a crucial ...
Read MoreUsing datatype/element for destination in SAP ABAP
You can use RFCDEST to specify the destination for Remote Function Call connections in SAP ABAP. The RFCDEST statement specifies the destination value for a Remote Function Call connection and gateway information. This statement is essential for establishing connections to remote SAP systems. Supported Job Types This statement is optional for the following job types − SAP Batch Input Session SAP Business Warehouse InfoPackage SAP ...
Read MoreDebugging a failed Insert statement in SAP ABAP
In SAP ABAP, debugging failed INSERT statements is crucial for maintaining data integrity. The system variable sy-subrc is your primary indicator for operation success, where sy-subrc = 0 means the INSERT statement executed successfully, while any non-zero value indicates an error. Using System Return Code (sy-subrc) After executing an INSERT statement, always check the sy-subrc value to determine if the operation was successful − INSERT INTO ztable VALUES wa_data. IF sy-subrc = 0. WRITE: 'Record inserted successfully'. ELSE. WRITE: 'Insert failed with return code:', sy-subrc. ENDIF. Debugging Techniques Setting ...
Read More