The object status is a short text that represents the semantic status of an object. It has a semantic color and an optional icon. As such, you will mostly find the object status in the object header and in the table as a status attribute of a line item.
Use the object status if:
- You need to display the semantic status of an object: negative (property: error), critical (property: warning), positive (property: success), or neutral (property: none).
- You need to indicate that the current object instance is locked by another user.
Do not use the object status if:
- You want to use it for decoration.
- You want to display system messages.
The object status wraps if it becomes too long for the screen width available.
The object status consists of the following:
- A semantically colored text (property: text)
- An optional icon (property: icon)
- A title that serves as a label (property: title)
It is mainly used with semantically colored text only.
- Use semantic text only and avoid using it with an icon.
- Use the following semantics to indicate the status: negative (property: error), critical (property: warning), positive (property: success), or neutral (property: none).
Use semantic text only
- Only use icons that are unambiguous and easily understood, such as the locked item icon. If you think your icon would need a descriptive text to be understood, use text only.
- In the case of locked items, you may add some information about who currently has access to the locked item in question.
Status indicating that the item is locked by a certain user
- Do not use the title of the object status outside the object header. Even though both wrap, you should keep the text as short as possible.
Avoid long titles and text if possible
Object status should be aligned to the center
Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.