- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Finding a particular value in internal table itab in ABAP
you can use a READ statement in combination with TRANSPORTING NO FIELDS. This will skip the values to be transferred to the work area and avoid the loop. Here is an example:
READ TABLE itab WITH KEY FIELD = 'ABC' TRANSPORTING NO FIELDS. IF SY-SUBRC = 0. "Field Match.” ENDIF.
- Related Articles
- Using ABAP, changing a value in itab by getting data from database table
- Internal Table itab declaration in SAP and difference between both the declarations
- Sorting an already sorted internal table in ABAP
- Modification not working for both internal table and control table in SAP ABAP
- Inserting rows to an internal table through debug in SAP ABAP
- Adding rows in an internal table with header line in SAP ABAP
- Usage of subqueries in internal table as condition in SAP ABAP source code.
- Difference between Work area, global structure and internal table in SAP ABAP
- Sending an itab to SAP Spool using ABAP method
- In ABAP, How to select all the data into my internal table using loops?
- How to map output of a function to an internal table in SAP ABAP using Gateway service
- Getting number of rows in table in an itab in SAP
- Using SAP ABAP, how can I read content of CSV files in a directory to an internal table?
- Is it possible to delete the actives while you are running a loop over an internal table in SAP ABAP?
- Retrieving data from a table in SAP ABAP

Advertisements