Skip to Content
May 04 at 05:31 PM

Sample ABAP code to find MAX date


I have 3 different columns from the same table (ADSO) where different dates are getting stored . want to find out MAX date from 3 different columns based on key and update in 0DATE field of different ADSO.

RA_ID Date 1 Date 2 Date 3

ABC 01.04.2022 04.02.22 05.05.2022

Expected Result= 05.05.2022.