Hi Atze,
You can achieve this by using the not expression in your XPATH:
[not([yourmodule].User_Commission/[yourmodule].Commission)]
[not([yourmodule].User_Function/[yourmodule].Function)]
Keep in mind that "not" is a costly operation. You should preferably prevent having to use it.
Regards