Hi Diogo,
I understood, you can show or hide the tabs by conditionally. Following sample code may be answer your need.
<PDM_IF "$args.properties.length" != "0">
<PDM_MACRO name=tab title="Ek Alanlar" file="xx_prop_tab.htmpl">
</PDM_IF>
When the web engine generate the detail_cr.htmpl, if there is no property define then properties tab not shown.
Also same think for service type tabs
<PDM_IF "$args.sla_events.length" != "0">
<PDM_MACRO name=tab title="Servis Türü" file="xx_stype_tab.htmpl" id=stype>
</PDM_IF>
Türker