🏆
SAP ABAP 100 Days Challenge
Day 14 — INTO TABLE vs APPENDING TABLE
36Views
4Downloads
0Likes
0Comments
0Shares
Interview Question
1. What is the difference between INTO TABLE and APPENDING TABLE?
2. When do we use INTO TABLE and APPENDING TABLE?
Answer
1. INTO TABLE stores the fetched data into an Internal Table.
2. If the Internal Table already contains data, INTO TABLE replaces the existing records.
3. APPENDING TABLE adds new records to the existing Internal Table.
4. Existing records are not deleted when using APPENDING TABLE.
5. Use INTO TABLE for the first data fetch and APPENDING TABLE to combine additional data.
Real-Time Example
1. The program first fetches Sales Orders from VBAK INTO TABLE lt_vbak.
2. The Internal Table now contains today's Sales Orders.
3. Next, the program fetches yesterday's Sales Orders.
4. APPENDING TABLE is used to add the new records.
5. Finally, the Internal Table contains both today's and yesterday's Sales Orders.
Practice Questions
1. What is INTO TABLE?
2. What is APPENDING TABLE?
3. What happens if the Internal Table already contains data?
4. When do you use APPENDING TABLE?
5. Give one real-time example.
Related Jobs — ABAP
V
SAP ABAP Developer
Vergil Remnant
HyderabadOnsiteSAP ABAP / S/4HANA
A
SAP ABAP Developer
Anikson Solutions
Hyderabad, Bengaluru, PuneHybridSAP 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
Discussion
to join the discussion.
Be the first to comment.