Hi,
The structure of an internal table say i_tab consists of material number(matnr), PO number(ebeln), PO item number(ebelp), PO Qty of type QUANT and BOM qty of type QUANT.
In the internal table i_tab, for the same material number, PO number and PO item, we may have more than one record in the internal table.
In that case we need to add up the numerical quantities(PO qty and BOM qty) into one single record and delete the duplicate records.
We should have only one record for the same material number, PO number and PO item number with the values of the numerical quantities added up from the duplicate onesÂ…
How do we do that..Can we use collect. Pls give a code snippet for the same.