Skip to Content
0
Mar 26, 2015 at 03:04 PM

Is there a clever way to exclude initial values from nmin function?

58 Views

I want to extract the smallest non-initial value from a set of fields from a structure, let+s say with 3 different time stamps, time1, time 2 and time3

lv_timst = nmin( val1 = ls_times-time1

val2 =ls_times-time2

val2 =ls_times-time3

).

All of them could be initial and I don´t want to get back initial values.

Is there a clever and fast way to achieve this without calling helper methods, replacing initial times in the structure before doing the nmin?

Thanks for your help!