Start of Content Area

Background documentation ProgressIndicator Locate the document in its SAP Library structure

The ProgressIndicator UI element shows how much progress an activity has made in the form of a horizontal bar, along with the value that you have assigned to the percentValue property. You can use the displayValue property to display a text in the ProgressIndicator on the left side of the UI element. This makes it possible to provide descriptions with specific percentage values. You can hide the DisplayValue value using the showValue property. You can display the ProgessIndicator UI element in different colors using the barColor property. You can assign a popup menu to a ProgressIndicator.

You can use the ProgressIndicator UI element  to display, for example, a project status in percent.

Example of the Display

This graphic is explained in the accompanying text

 

Note

To enable the development of Structure linkaccessible applications the tooltip property is checked during the syntax check.

 

Runtime Class

CL_WD_PROGRESS_INDICATOR

 

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

Structure linkbarColor

WDUI_PROG_IND_BAR_COL

neutral

Yes

Structure linkdisplayValue

STRING

 

Yes

Structure linkenabled

WDY_BOOLEAN

true

Yes

Structure linkpercentValue

I

0

Yes

Structure linkshowValue

WDY_BOOLEAN

true

Yes

Structure linktooltip

Text

 

Yes

Structure linkvisible

WDUI_VISIBILITY

visible

Yes

Structure linkwidth

STRING

 

Yes

 

Aggregations in View Designer

Name

Cardinality

Type

Structure linkMenu

0..1

Structure linkMenu

Note

Other properties that can be inherited are defined in the associated higher-level class. The associated UI elements are:

      Structure linkUIElement

      Structure linkViewElement

Dynamic Programming

For dynamic programming, the same properties, events and aggregations are available as in View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

Structure linkbarColor

BAR_COLOR

WDUI_PROG_IND_BAR_COL

 barColor: critical

CL_WD_PROGRESS_INDICATOR=>E_BAR_COLOR-CRITICAL

 barColor: negative

CL_WD_PROGRESS_INDICATOR=>E_BAR_COLOR-NEGATIVE

 barColor: neutral

CL_WD_PROGRESS_INDICATOR=>E_BAR_COLOR-NEUTRAL

 barColor: positive

CL_WD_PROGRESS_INDICATOR=>E_BAR_COLOR-POSITIVE

Structure linkdisplayValue

DISPLAY_VALUE

STRING

Structure linkenabled

ENABLED

WDY_BOOLEAN

Structure linkpercentValue

PERCENT_VALUE

I

Structure linkshowValue

SHOW_VALUE

WDY_BOOLEAN

Structure linktooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

Structure linkvisible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_PROGRESS_INDICATOR=>E_VISIBLE-NONE

 visible: visible

CL_WD_PROGRESS_INDICATOR=>E_VISIBLE-VISIBLE

Structure linkwidth

WIDTH

STRING

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Structure linkMenu

MENU

0..1

Example

You can find an example of this UI element in the system in the Web Dynpro application, WDR_TEST_UI_ELEMENTS.

 

 

End of Content Area