hi guru
I inserted the following code in a infoset to have the latest date in the face of a selection, but does not work, please help me
thank you in advance
data: begin of itab_date occurs 0,
itab_date like ekbe,
NEWFIELDS like ekbe-budat,
end of itab_date.
clear itab_date.
clear NEWFIELDS.
select budat from ekbe into itab_date-budat
WHERE EBELN = EKPO-EBELN
AND EBELP = EKPO-EBELP
AND VGABE = '8'.
Sort itab_date by itab_date-budat descending.
read table itab_date index 1.
endselect.
NEWFIELDS = itab_date-budat.