Dear Florian ,
Iam using Floating field and i want change the text oft it according to an value of field Auart of structure Header and i write this tcode in event Ready:layout
but when iam using formcalc its work fine by this code
if ($record.HEADER.AUART == "HS04" )
then $ = "good"
else $ = "bad"
endif
and you can find the field i want to change it in the attached shotImage may be NSFW.
Clik here to view.