🏆
SAP ABAP 100 Days Challenge
Day 16 — READ TABLE
1Views
0Downloads
0Likes
0Comments
0Shares
Interview Question
1. What is READ TABLE?
2. Why do we use READ TABLE?
Answer
1. READ TABLE is used to search a specific record in an Internal Table.
2. It searches using a key or index.
3. If the record is found, sy-subrc becomes 0.
4. If the record is not found, sy-subrc becomes 4.
5. READ TABLE improves performance by avoiding unnecessary LOOP statements.
Real-Time Example
1. Customer data is stored in an Internal Table.
2. The user enters Customer Number 100001.
3. READ TABLE searches for Customer 100001.
4. If found, customer details are displayed.
5. If not found, the program shows "Customer Not Found."
Practice Questions
1. What is READ TABLE?
2. Why do we use READ TABLE?
3. What is sy-subrc after READ TABLE?
4. How do you search a record using READ TABLE?
5. Give one real-time example.
Related Jobs — ABAP
I
SAP ABAP Junior Consultant
Incresol Software Services
HYDERABADOnsiteSAP ABAP Programming
S
SAP Jr. ABAP Developer
STAR INTELLISOFT SERVICES PRIVATE LIMITED
Hyderabad, Telangana, IndiaOnsiteSAP ABAP
N
SAP ABAP consultant
NTT DATA Services
Hyderabad, TG, INOnsiteSAP ABAP development
L
Senior Specialist - Package Implementation
LTM
Bengaluru OnsiteFiori (UI5), HANA ABAP (CDS-AMDP-RAP)
W
SAP ABAP HR
Wipro
Bengaluru OnsiteSAP ABAP Development
Discussion
to join the discussion.
Be the first to comment.