Hi all ,
I have requirement of having to take the latest creation date from the internal table .In the internal table i have multiple batch numbers for a particular plant and material number .I want to take one record for each material-batch combination for the given plant.So i have taken the field creation date as criteria .But how to take a single record if there are mutliple records having different batch numbers but same plant and material number .
data :itab_mchb TYPE STANDARD TABLE OF MCHB WITH HEADER LINE.
SORT itab_mchb DESCENDING BY ersda.