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
Do I need to set up SAP user for every user of module?
Yes, you need to set up an SAP user for every user who will access SAP modules. This is not just a best practice recommendation, but a mandatory requirement according to SAP's licensing and service agreements. Why Individual SAP Users Are Required SAP enforces a strict user-based licensing model where each person accessing the system must have their own unique user account. This requirement exists for several important reasons − Licensing Compliance: SAP's licensing terms explicitly require individual user accounts. Sharing user credentials ...
Read MoreHow to setup user access limitation on a timely basis in SAP HANA
Setting up user access limitation on a timely basis in SAP HANA is an uncommon but feasible scenario. This approach allows you to automatically activate and deactivate user permissions based on scheduled time intervals. Implementation Steps Follow these steps to implement time-based user access control − Create a stored procedure with the entire responsibility of activating/deactivating users or authorizing and de-authorizing user access Create a batch user with sufficient privileges to execute the above-created procedures Set up a scheduled job to run the procedures automatically using hdbsql ...
Read MoreUsing subset of items present in the list in SAP Program
When working with SAP programs, you often need to handle scenarios where only a subset of items from a list should be processed. There are several approaches you can use depending on your specific requirements. Using SWITCH CASE Statement You can use a SWITCH CASE statement to handle your scenario. This is a good choice if you know well in advance what all properties are required and what is not required. Also, it will let you to unit test your code effectively. Example Here's how you can implement a SWITCH CASE approach in ABAP − ...
Read MoreAutomating SAP Transactions/actions using SAP GUI
You can use SAP GUI for automation purposes. It has a built-in tool which can record and playback activity that can be utilized for automation and automated jobs. In case the values or inputs are not changing, then you can use the same script on each occasion. The script recording and playback functionality lies within the main menu of the GUI window, under Customize layout → Script recording and playback. How SAP GUI Script Recording Works The SAP GUI script recorder captures user interactions with the SAP system and converts them into VBScript files. These scripts can ...
Read MoreOData 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 MoreBuilding a mobile app using OpenUI5 and Cordova using framework like jQuery.sap.storage
You are thinking correctly for your requirement. What you can do is, use the read method for each entityset to read the oData. In the success callback for this method, you can parse the result objects into a corresponding JSON model. Now, you can have working logic as per which − When you are online, use the additional layer to fill the JSON model from the oData that has been read When offline, you can read from local storage Implementation Approach The jQuery.sap.storage API provides local ...
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 More