Grouping + aggregation of itab with table comprehensions
问题 Rather typical task but I'm stuck on doing it in a beautiful way. For example, I need to find the last shipment for each vendor, i.e. to find delivery with the max date for the each vendor VENDOR DELIVERY DATE 10 00055 01/01/2019 20 00070 01/19/2019 20 00088 01/20/2019 20 00120 11/22/2019 40 00150 04/01/2019 40 00200 04/10/2019 The result table to be populated VENDOR DELIVERY DATE 10 00055 01/01/2019 20 00120 11/22/2019 40 00200 04/10/2019 I implemented this in a following way, via DESCENDING