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
Articles by varma
54 articles
Request Timeout while using Odata call to a gateway in SAPUI5 application
When encountering request timeout issues while making OData calls to a gateway in SAPUI5 applications, the problem often lies in the server-side timeout configurations rather than the client-side code. This typically occurs when ICM (Internet Communication Manager) and Web Dispatcher timeout settings are insufficient for your application's requirements. Understanding SAP Timeout Parameters In SAP systems, ICM and Web Dispatcher control different types of timeouts through specific parameters − Connection timeout: icm/conn_timeout − Controls the timeout for opening a connection Request timeout: icm/traffic_control − Controls the timeout for receiving ...
Read MoreAllow only a possible set of values to choose from while setting value in SAP ABAP
If you need to place a restriction on field values, you can use predefined domains on the column or text field to control the permissible values. Implementation Steps The process follows this hierarchy − Select Table Field -> Data Element -> Specify Domain While specifying the domain, you can set the permissible set of values which you want the table field to accept. This creates a value restriction at the domain level that applies to all fields using that domain. Domain Value Table Configuration To configure allowed values in your domain − ...
Read MoreHow to check all objects belong to list of TR’s in SAP system
SAP provides standard tables that you can use to get details about transport objects in the Change and Transport System (CTS). These tables contain comprehensive information about transport requests and their associated objects. Standard SAP Transport Tables The following tables are essential for tracking transport objects − E070 − Change & Transport System: Header of Requests/Tasks E070T − Change & Transport System: Short Texts for Requests/Tasks E071 − Change & Transport System: Object Entries of Requests/Tasks (provides details of transport objects) E070A − Change ...
Read MoreDetermining values of parameters of given type on a given selection screen in SAP
The function module RS_SELSCREEN_INFO will provide you with the list of parameters and selection options once the report name is input. You can see full details about this FM by entering the name RS_SELSCREEN_INFO into the relevant SAP T-code like SE37 or SE80. Using RS_SELSCREEN_INFO Function Module You can call this FM RS_SELSCREEN_INFO as below − CALL FUNCTION 'RS_SELSCREEN_INFO' EXPORTING report = 'REPORT_NAME' ...
Read MoreUnderstand more about roles in SAP system
On a high level, both the tables are almost same as both of them deal with storing details about profiles which are generated for a role. Understanding AGR_PROF Table Let's talk about AGR_PROF first. It stores the text of the generated profile which is dependent on language. It stores profile ID as well. So, it results in having only at max one possible combination of a profile and language which is referred to a master profile. To view further details about this Table ...
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 MoreHow to call a JavaScript function from an onmouseover event?
The onmouseover event triggers when you bring your mouse over any element.ExampleYou can try to run the following example to learn how to call a JavaScript function from onmouseover event Bring your mouse inside the division to see the result: This is inside the division
Read MoreMain thread vs child thread in C#
Main ThreadThe first thread to be executed in a process is called the main thread. When a C# program starts execution, the main thread is automatically created.Child ThreadThe threads created using the Thread class are called the child threads of the main thread.Here is an example showing how to create a main and child thread −Exampleusing System; using System.Threading; namespace Demo { class Program { static void Main(string[] args) { Thread th = Thread.CurrentThread; th.Name = "MainThread"; Console.WriteLine("This is {0}", th.Name); Console.ReadKey(); } } }OutputThis is MainThread
Read MoreMatching strings with a wildcard in C#
Commonly used wildcard characters are the asterisk (*). It represents zero or more characters in a string of characters.In the following example asterisk is used to match words that begins with m and ends with e −@”\bt\S*s\b”The following is the complete code −Exampleusing System; using System.Text.RegularExpressions; namespace Demo { public class Program { private static void showMatch(string text, string expr) { MatchCollection mc = Regex.Matches(text, expr); foreach (Match m in mc) { Console.WriteLine(m); } ...
Read MoreRole of CSS :hover Selector
Use the CSS :hover selector to style links on mouse over with CSS. You can try to run the following code to implement the :hover selector −Example a:hover { background-color: orange; } Qries Keep the mouse cursor on the above link and see the effect.
Read More