I have already solved my problem.
The problem was that I only did the validations when the user click on the save buttom ( IV_PARK = 'X'). I have delete this condition and now all work rightly, because the validations are always done.
Best regards,
ADRIÁN MEJIDO.