🏆
SAP ABAP 100 Days Challenge
Day 18 — COLLECT Statement
1Views
0Downloads
0Likes
0Comments
0Shares
Interview Question
1. What is the COLLECT statement?
2. Why do we use COLLECT?
Answer
1. COLLECT is used to remove duplicate key values.
2. It automatically adds numeric fields for duplicate keys.
3. It is mainly used for summarizing data.
4. It reduces manual coding for total calculations.
5. It improves report development.
Real-Time Example
1. Customer sales data is fetched into an Internal Table.
2. Multiple records exist for the same customer.
3. COLLECT combines duplicate customer records.
4. Sales Amount is automatically added.
5. The report displays total sales for each customer.
Practice Questions
1. What is COLLECT?
2. Why do we use COLLECT?
3. What happens when duplicate keys exist?
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.