Replace 0 with Blank in SAP CRM Web UI

253 views Asked by At

I have AET-filed (Type: INT) on Web UI. The field name is Duration. At the moment, I want to realize the logic: If Duration value is 0, then don't show it in my field else show the value.

1

There are 1 answers

0
Farrukh Nabiyev On

Use IS INITIAL, that parameter automatically matches the type you are comparing with. If you compare with I then INITIAL is 0, if C then ' ', if DATS then '00000000'.

IF <variable> IS INITIAL.

ENDIF.