Erscheinungsbild
ObjectStatus
Anzeige eines Status mit optionalem Icon, Titel und Indikationsfarbe – typisch für Zustände wie „In Bearbeitung", „Fehlerhaft" oder „Abgeschlossen" in Listen und Detailansichten.
Designer-Attribute
| Attribut | Beschreibung | Default |
|---|---|---|
controlId | Eindeutige ID | automatisch generiert |
text | Statustext | – |
title | Titel/Beschriftung vor dem Statustext | – |
icon | SAP-Icon-URL (z.B. sap-icon://status-positive) | – |
inverted | Farbe gefüllt darstellen (invertiert) | false |
state | Indikationsfarbe. Werte: None, Indication01, Indication02, Indication03, Indication04, Indication05, Indication06, Indication07, Indication08, Indication09, Indication10, Indication11, Indication12, Indication13, Indication14, Indication15, Indication16, Indication17, Indication18, Indication19, Indication20 | None |
visible | Sichtbar | true |
fontSize | Schriftgröße (CSS-Wert) | – |
color | Vordergrundfarbe (Hex) | – |
backgroundColor | Hintergrundfarbe (Hex) | – |
spanS / spanM / spanL / spanXL | Breite im Grid-Layout | 12 |
ABAP-API
Zugriff aus der gebundenen Klasse über den generischen Getter me->get_control( '<controlId>' ) (liefert eine /mobbuild/cl_control-Referenz). Attribute setzen Sie über die geerbten Methoden set_property_value* (siehe Control):
abap
DATA(lo_status) = me->get_control( 'statusOrder' ).
lo_status->set_property_value( iv_key = 'text' iv_value = 'Abgeschlossen' ).
lo_status->set_property_value( iv_key = 'state' iv_value = 'Indication04' ).
lo_status->set_property_value( iv_key = 'icon' iv_value = 'sap-icon://status-positive' ).Geerbte Methoden: siehe Control.
Nächste Schritte
- GenericTag – kompaktes Status-Tag
- ObjectIdentifier – Titel-/Untertitel-Paar
- InfoLabel – farbcodiertes Status-Label