🏆
SAP ABAP 100 Days Challenge
Day 18 — COLLECT Statement
26Views
3Downloads
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
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.