HI,
collect statement is used to compress unique data sets, and when it comes to amount fields it sums up the values,but i have to bifurcate records in internal table (i mean to separate records ) while using collect statement , whenever two different amount values are present for same field.
am i supposed to use different data types or different statement for the filed so that it should not collect .
please check below screen shot for exact explanation.
Example :
code work unit Quantity Rate
200021 shuttering m2 100 150
200021 shuttering m2 100 120
200022 PCC m3 90 200
200022 PCC m3 90 200
since last two records contained same value it has been compressed , whereas first two records contains same values except rate value, so i needed to show output in the below manner ,how it can be acheived.
Final output should be in this manner ..
200021 shuttering m2 100 150
200021 shuttering m2 100 120
200022 PCC m3 180 400
Thanks & Regards
J.Prakash Rao