Sreemaha

Sreemaha

51 Articles Published

Articles by Sreemaha

Page 3 of 6

CSS overflow: scroll

Sreemaha
Sreemaha
Updated on 15-Mar-2026 436 Views

The CSS overflow: scroll property forces the display of scrollbars when content exceeds the dimensions of its container. Unlike other overflow values, scroll always shows scrollbars regardless of whether the content actually overflows. Syntax selector { overflow: scroll; } How It Works When you set overflow: scroll, the browser will − Clip any content that exceeds the container's dimensions Always display both horizontal and vertical scrollbars Allow users to scroll through the hidden content Example The following example demonstrates overflow: scroll with content that exceeds ...

Read More

CSS3 Resize Property

Sreemaha
Sreemaha
Updated on 15-Mar-2026 122 Views

The CSS3 resize property allows users to resize elements by dragging from the bottom-right corner. It provides control over which dimensions can be resized by the user. Syntax selector { resize: value; } Possible Values ValueDescription noneUser cannot resize the element (default) horizontalUser can resize horizontally only verticalUser can resize vertically only bothUser can resize in both directions Example 1: Both Directions The following example allows users to resize the element in both horizontal and vertical directions − ...

Read More

How to write PHP script to update an existing MySQL table?

Sreemaha
Sreemaha
Updated on 15-Mar-2026 377 Views

In PHP, you can update existing records in a MySQL table using the SQL UPDATE statement. Modern PHP uses MySQLi or PDO extensions to interact with databases securely and efficiently. Using MySQLi (Procedural) The procedural MySQLi approach provides a straightforward way to update database records −

Read More

Displaying distinct values in a column filtered on other column in SAP BO report

Sreemaha
Sreemaha
Updated on 13-Mar-2026 1K+ Views

There are multiple ways to display distinct values in a column filtered on other columns in SAP BO reports. The two most common approaches are using count variables and the PREVIOUS() function. Method 1: Using Count Variable The first method involves creating a variable that counts distinct occurrences based on a grouping column − Terms Count = Count([Terms Code]) in ([Sales #]) Add this variable to your report structure. The variable will display 1 for all records with Sales # 1000 and 2 for all records with Sales # 1001, effectively counting distinct terms ...

Read More

Getting month name instead of numeric month number in report in SAP

Sreemaha
Sreemaha
Updated on 13-Mar-2026 4K+ Views

There are various methods to convert numeric month numbers to month names in SAP reports. Each approach has its own advantages depending on your specific requirements. Method 1: Using Function Module MONTH_NAME_GET Use the Function module MONTH_NAME_GET − This function module is used to return all the month names in the respective language. This is the most recommended approach as it supports internationalization. Example Here's how to implement this function module − DATA: lv_month TYPE i VALUE 3, ...

Read More

Query MDG tables via SAP Studio

Sreemaha
Sreemaha
Updated on 13-Mar-2026 444 Views

An answer to your question is a big "YES". You can execute queries against the MDG (Master Data Governance) tables either if you are using an ABAP program or also you can execute these queries from native SQL environment. Querying MDG Tables with ABAP You can use standard ABAP SELECT statements to query MDG tables just like any other SAP table. The following example demonstrates how to retrieve data from the KNA1 table (Customer Master) − DATA: lt_TBL LIKE TABLE OF KNA1. SELECT * ...

Read More

RV_INVOICE_DOCUMENT_READ not returning any data in form in SAP FM

Sreemaha
Sreemaha
Updated on 13-Mar-2026 472 Views

When using the RV_INVOICE_DOCUMENT_READ function module in SAP, you may encounter issues where no data is returned in forms. The most common cause is the missing alpha conversion for input parameters. Understanding Alpha Conversion Alpha conversion is SAP's internal process that formats numeric data with leading zeros. When you call a function module directly in SE37 (Function Builder), it automatically performs alpha conversions as part of parameter processing. However, when calling the same function module from ABAP code, you must handle this conversion manually. Common Issue The RV_INVOICE_DOCUMENT_READ function module expects document numbers in internal format ...

Read More

How to get last 2 characters from string in C# using Regex?

Sreemaha
Sreemaha
Updated on 11-Mar-2026 1K+ Views

Set the string −string str = "Cookie and Session";Use the following Regex to get the last 2 characters from string −Regex.Match(str,@"(.{2})\s*$")The following is the code −Exampleusing System; using System.Text.RegularExpressions; public class Demo {    public static void Main() {       string str = "Cookie and Session";       Console.WriteLine(Regex.Match(str,@"(.{2})\s*$"));    } }Outputon

Read More

How to determine the OS the computer is running using Java?

Sreemaha
Sreemaha
Updated on 11-Mar-2026 241 Views

The System class of java.lang package provides a method named getProperty() this method accepts one of the following string parameters an returns the respective property. java.class.path − If you pass this value as a parameter, the getProperty() method returns the current classpath. java.home − If you pass this value as a parameter, the getProperty() method returns the current Installation directory of the JRE. java.vendor − If you pass this value as a parameter, the getProperty() method returns the current vendor name of the JRE. java.vendor.url − If you pass this value as a parameter, the getProperty() method returns the ...

Read More

Is there a need to import Java.lang package while running Java programs?

Sreemaha
Sreemaha
Updated on 11-Mar-2026 754 Views

The java.lang package is the default package in Java, by default, it will be imported. Therefore, there is no need to import this package explicitly. i.e. without importing you can access the classes of this package. Example If you observe the following example here we haven’t imported the lang package explicitly but, still, we are able to calculate the square root of a number using the sqrt() method of the java.lang.Math class. public class LangTest { public static void main(String args[]) { int num = 100; ...

Read More
Showing 21–30 of 51 articles
Advertisements