简体   繁体   English

在 SAP CRM Web UI 中将 0 替换为空白

[英]Replace 0 with Blank in SAP CRM Web UI

I have AET-filed (Type: INT ) on Web UI.我在 Web UI 上提交了 AET(类型: INT )。 The field name is Duration .字段名称是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.目前,我想实现逻辑:如果Duration值为 0,则不要在我的字段中显示它,否则显示该值。

Use IS INITIAL, that parameter automatically matches the type you are comparing with.使用 IS INITIAL,该参数会自动匹配您正在比较的类型。 If you compare with I then INITIAL is 0, if C then ' ', if DATS then '00000000'.如果与 I 比较,则 INITIAL 为 0,如果为 C,则为 ' ',如果为 DATS,则为 '00000000'。

IF <variable> IS INITIAL.

ENDIF.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM