Articles on Trending Technologies

Technical articles with clear explanations and examples

Negation logic in SAP ABAP

vanithasree
vanithasree
Updated on 13-Mar-2026 695 Views

You can use BOOLC to sort out your negation logic requirement. It should be like this − Varbool = BOOLC( NOT Logical_operation ) But be clear in your implementation, as ABAP does not have a true bool type. It does not store true or false in bool type rather it stores 'X' or '' (empty string) for true and false respectively. Example with BOOLC Here's a practical example showing negation logic using BOOLC − DATA: lv_number TYPE i VALUE 10, lv_result TYPE c LENGTH 1. ...

Read More

Passing data from one report to another in ABAP using SUBMIT

Vikyath Ram
Vikyath Ram
Updated on 13-Mar-2026 396 Views

In ABAP, passing data from one report to another using the SUBMIT statement is a common requirement for modular programming. The SUBMIT statement allows you to execute another report and optionally pass selection screen parameters and internal table data to it. Basic SUBMIT Syntax The basic syntax for submitting a report with parameters is − SUBMIT report_name WITH parameter_name = value WITH SELECTION-TABLE selection_table AND RETURN. Passing Selection Screen Parameters You can pass values to selection screen parameters of the target report using the WITH clause − ...

Read More

Updating default value of new column in SAP system

Rishi Raj
Rishi Raj
Updated on 13-Mar-2026 505 Views

It is not good practice to update default values to a column in SAP as this will not be visible directly in the system and will not be picked up by CTS (Change and Transport System). Also, there is no built-in option in the SAP/ABAP environment for adding default values to existing table columns. Why Default Values Are Problematic If you choose to make a new column have NON-NULL values, you will have to manually update default values across all existing records. This approach has several drawbacks − ...

Read More

Error while using LOOP.....WHERE in SAP ABAP

Rishi Raj
Rishi Raj
Updated on 13-Mar-2026 429 Views

The LOOP...WHERE condition was included recently in SAP ABAP. Could you please verify your version? This will work only on a version of 7.0 EhP2 or higher. Understanding the Version Requirement The LOOP...WHERE statement is a powerful feature that allows you to filter internal table entries directly within the loop statement, eliminating the need for additional IF conditions inside the loop body. However, this functionality is only available in SAP NetWeaver 7.0 Enhancement Package 2 (EhP2) and later versions. Checking Your SAP System Version To check your SAP system version, you can use transaction SYSTEM → ...

Read More

Fetch fields from table or structure in ABAP SAP

Monica Mona
Monica Mona
Updated on 13-Mar-2026 3K+ 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 escape square brackets in jQuery selector?

Amit D
Amit D
Updated on 13-Mar-2026 595 Views

To escape square brackets in jQuery selectors is quite easy. Square brackets have special meaning in CSS selectors as they're used for attribute selectors, so when they appear in element names or IDs, they need to be escaped using double backslashes (\). Let's see with an example of escaping the brackets in the name of the box. Example In this example, we have a select element with square brackets in its name attribute. Whatever you select will get added to the textarea on button click − ...

Read More

Identify the database used for backend in ABAP

Samual Sam
Samual Sam
Updated on 13-Mar-2026 323 Views

In SAP ABAP development, identifying the backend database system is essential for writing database-specific code and understanding system architecture. ABAP provides built-in system classes to retrieve this information programmatically. Using CL_DB_SYS Class The CL_DB_SYS class provides the DBSYS_TYPE attribute to fetch the current database type. This system class is available in all SAP systems and returns a standardized database identifier. Example Here's how to identify the database system using ABAP code − DATA: lv_db_type TYPE string. " Get the database system type lv_db_type ...

Read More

RV_INVOICE_DOCUMENT_READ not returning any data in form in SAP FM

Sreemaha
Sreemaha
Updated on 13-Mar-2026 487 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 write a jQuery selector to find links with # in href attribute?

Amit D
Amit D
Updated on 13-Mar-2026 4K+ Views

You can try to run the following code to write a jQuery selector to find links with # in href. Here, ^ is used to find links starting with # in href. The ^= attribute selector in jQuery matches elements where the specified attribute begins with the given value. When applied to anchor tags with href^="#", it selects all links that have href attributes starting with the hash symbol. Example Here's a complete example demonstrating how to select and handle clicks on links with # in href − ...

Read More

How to use JavaScript variables in jQuery selectors?

Amit D
Amit D
Updated on 13-Mar-2026 911 Views

It's quite easy to use JavaScript variables in jQuery selectors. This technique allows you to dynamically target HTML elements based on values stored in variables, making your code more flexible and interactive. Using Variables in jQuery Selectors To use a JavaScript variable in a jQuery selector, you need to concatenate the variable with the selector string using the + operator. The basic syntax is $("selector" + variable + "selector"). Example Let's see an example to use JavaScript variables in jQuery to hide an element − ...

Read More
Showing 24431–24440 of 61,297 articles
Advertisements