Is there any FO-native possibility for getting the exact difference between two abas date objects?
I have a AJO-based solution comparing two Calendar-Objects, but it's too slow for my use-case (it's called to many times) and I hope there is a native solution.
And what is the highest accuracy the abas dates (GD-Fields) can represent? Just Seconds or is there a way to get a UNIX-time-stamp or something comparable for a higher precision.
Yes, you can use the GP4 type.
output will be 365D00h00m00s
Now you can convert it e.g. into seconds:
As far as I know "seconds" is the highest precision you can use in FO. If you need more, you have to use (as you already mentioned) UNIX-time-stamps