🏆
SAP ABAP 100 Days Challenge
Day 14 — INTO TABLE vs APPENDING TABLE
1Views
0Downloads
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
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.