🏆
SAP ABAP 100 Days Challenge
Day 16 — READ TABLE
32Views
3Downloads
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
D
SAP EWM ABAP Developer
Deloitte
Bangalore / Remote (choose based on the actual opportunity)RemoteSAP ABAP
A
SAP ABAP Debugging Consultant
Allyted Solutions
RemoteRemoteSAP ABAP
U
SAP ABAP Consultant
UST
Any UST India LocationHybridSAP ABAP
L
SAP ABAP Consultant
LanceSoft
Hyderabad, TelanganaHybridSAP ABAP, OData, RICEF, SAP HANA
R
SAP ABAP S/4HANA Developer
RavinSol
Hyderabad, Bangalore (Preferred)HybridSAP ABAP, SAP S/4HANA
Discussion
to join the discussion.
Be the first to comment.