hi folks,
I have an internal table which is having lifnr,matnr and budat.I want to sort the internal table in a way such that for every new material the corresponidng latest budat comes first.
lifnr/matnr/budat.
L1/M1/01.01.2007.
L1/M1/01.01.2008.
(LATEST BUDAT FOR THE MATERIAL M1 OF VENDOR L1 is 01.01.2008)
L2/M3/01.01.2005.
L2/M3/01.01.2006
(LATEST BUDAT FOR THE MATERIAL M3 OF VENDOR L2 is 01.01.2006).
Now I want the internal table after sorting as.
L1/M1/01.01.2008.
L1/M1/01.01.2007.
L2/M3/01.01.2006.
L2/M3/01.01.2005
gist is that it should the internal table at every new material so that I can get the latest budat of that material first.
Thanks,
K.Kiran.