Hi,
I have a typical scenario where in I have to compare rows of internal table with certain set of fields.If the values are same they would be grouped into one item.
For eg. there is an internal table where I have fields like BP number , Location , Site, Customer, Serial no. etc.
Now with the BP no. there is a rule attached and that rule determines with what set of fields we need to group the line items.
Say with BP 1 the rule is R1 and as per that we have to compare only values of fields location and site .If its true we will club all the similar line items.
Now with BP2 the rule is R2 where we have to compary values in iternal table with fields Location , customer and serial no. So then we need to compare these three fields for clubbing similar records.
The internal table can have data for no. of different BP's and the data is sorted but its structure is static.
Please suggest.