Use have nmax function.
use as value nmax( val1 = a val2 = b ).
http://help.sap.com/abapdocu_702/en/abennmax_nmin_functions.htm
Use have nmax function.
use as value nmax( val1 = a val2 = b ).
http://help.sap.com/abapdocu_702/en/abennmax_nmin_functions.htm