Monica Mona

Monica Mona

61 Articles Published

Articles by Monica Mona

Page 2 of 7

How to set all the outline properties in one declaration with JavaScript?

Monica Mona
Monica Mona
Updated on 15-Mar-2026 220 Views

To set outline properties, use the outline property. It allows you to set the color, style, and width of the outline in one declaration with JavaScript. Syntax The outline property accepts up to three values in any order: element.style.outline = "width style color"; Parameters outline-width: thin, medium, thick, or specific value (px, em, etc.) outline-style: none, solid, dotted, dashed, double, groove, ridge, inset, outset outline-color: color name, hex code, rgb(), or rgba() Example Click the button to apply an outline to the orange box: ...

Read More

How -Infinity is converted to Number in JavaScript?

Monica Mona
Monica Mona
Updated on 15-Mar-2026 306 Views

In JavaScript, -Infinity is a special numeric value representing negative infinity. When converted using the Number() method, it remains -Infinity since it's already a valid number type. Understanding -Infinity -Infinity is a built-in JavaScript constant that represents the mathematical concept of negative infinity. It's already of type "number", so converting it with Number() simply returns the same value. -Infinity Conversion Converting -Infinity to Number var myVal = -Infinity; ...

Read More

Declare dynamically in SAP ABAP

Monica Mona
Monica Mona
Updated on 13-Mar-2026 983 Views

In SAP ABAP, you can declare an internal table in a dynamic manner when the table type is not known at compile time. This approach is useful when working with generic programming or when the table structure depends on runtime conditions. Dynamic Internal Table Declaration To declare an internal table dynamically, you need to use data references and field symbols. Here's the basic syntax − DATA: tbl_TEST TYPE REF TO DATA. FIELD-SYMBOLS: TYPE STANDARD TABLE. CREATE DATA tbl_TEST TYPE (Received_Type). ASSIGN tbl_TEST->* TO . Complete Example Here's a complete working example that ...

Read More

Create an INCLUDE in SAP system

SAP
Monica Mona
Monica Mona
Updated on 13-Mar-2026 281 Views

Creating an INCLUDE in an SAP system is a straightforward process that can be accomplished through two main transaction codes. An INCLUDE is a modular programming object in SAP that contains reusable ABAP code segments. Method 1: Using Transaction SE38 The most common way to create an INCLUDE is through transaction SE38 (ABAP Editor). Follow these steps − Open transaction SE38 in your SAP system Enter the desired INCLUDE name in the program field Press the Create button Select Include Program as the program ...

Read More

Prevent XML re-formatting in WAS response in SAP Windows Activation Service

Monica Mona
Monica Mona
Updated on 13-Mar-2026 152 Views

No, there is no other possibility of preventing XML re-formatting in Windows Activation Service (WAS) response until you code everything on your own. It seems to be an issue during de-serialization. Most probably it is relevant to the parameters that you are sending in the response. The WAS response mechanism automatically formats XML content based on its internal serialization process. Understanding the Issue When SAP Windows Activation Service processes XML responses, it applies default formatting rules during the de-serialization process. This automatic formatting can alter your original XML structure, whitespace, and indentation. Troubleshooting Steps You ...

Read More

Fetching list of products from SAP: connecting SAP database from .net application

Monica Mona
Monica Mona
Updated on 13-Mar-2026 297 Views

When connecting a .NET application to an SAP database to fetch product lists, you may encounter connectivity issues. You can troubleshoot by trying a telnet connection to the SAP system. Open a command prompt on the system where you are running your .NET application and try to telnet to the server having the SAP system installed. Testing SAP Connectivity Use the following telnet command to test the connection − Telnet 127.0.0.1 3300 If you are using a local system, try using a hostname instead of the loopback IP address and make an entry ...

Read More

Fetch fields from table or structure in ABAP SAP

Monica Mona
Monica Mona
Updated on 13-Mar-2026 4K+ Views

If you need to identify the fields and number of fields in a structure, then you should use runtime type services. Using runtime type services makes more sense in this case as if we have some data in our environment, then it's not ideal to call database for fetching the same. Using Runtime Type Services Runtime type services provide a way to analyze the structure of data objects at runtime. Here's how to get field information from a structure − DATA(structure) = VALUE ( ...

Read More

How to print data of specific element from an array in java?

Monica Mona
Monica Mona
Updated on 11-Mar-2026 15K+ Views

An array is a data structure/container/object that stores a fixed-size sequential collection of elements of the same type. The size/length of the array is determined at the time of creation. The position of the elements in the array is called as index or subscript. The first element of the array is stored at the index 0 and, the second element is at the index 1 and so on. Each element in an array is accessed using an expression which contains the name of the array followed by the index of the required element in square brackets. You can access an ...

Read More

Algorithms and Complexities

Monica Mona
Monica Mona
Updated on 01-Nov-2023 45K+ Views

AlgorithmAn algorithm is a finite set of instructions, those if followed, accomplishes a particular task. It is not language specific, we can use any language and symbols to represent instructions.The criteria of an algorithmInput: Zero or more inputs are externally supplied to the algorithm.Output: At least one output is produced by an algorithm.Definiteness: Each instruction is clear and unambiguous.Finiteness: In an algorithm, it will be terminated after a finite number of steps for all different cases.Effectiveness: Each instruction must be very basic, so the purpose of those instructions must be very clear to us.Analysis of algorithmsAlgorithm analysis is an important part ...

Read More

Kth Largest Element in an Array

Monica Mona
Monica Mona
Updated on 04-Jan-2023 1K+ Views

From a set of data, this algorithm will find the largest element to kth largest element of the array.This problem can be solved easily by sorting the array. We can sort them either in ascending order or in descending order. Solving it in descending order, we can get first k elements to find our result.Input and OutputInput: The elements of an array: {1, 23, 12, 9, 30, 2, 50, 63, 87, 12, 45, 21}, K = 4 Output: 4 largest elements are 87 63 50 45AlgorithmkthLargestElement(array, n, k)Input: The array, number of elements in the array, place k.Output: Display largest ...

Read More
Showing 11–20 of 61 articles
« Prev 1 2 3 4 5 7 Next »
Advertisements