Start of Content Area

Background documentation BreadCrumb Locate the document in its SAP Library structure

A BreadCrumb displays the current page in the context of a navigation path. You can, for example, display a history of the pages last visited or the structure of the information provided. A BreadCrumb consists of individual links, or in its entirety represents one link.

You can insert two different types of BreadCrumb steps into one BreadCrumb.

      Structure linkBreadCrumbStep

      Structure linkMultipleBreadCrumbStep

BreadCrumbSteps are bound to individual context attributes. In this way, the number of displayed steps is defined during runtime. In comparison, a MultipleBreadcrumbStep is bound to a context node. This allows the number of displayed steps to be dynamically adjusted at runtime.

Example of the Visual 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_BREAD_CRUMB

 

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

Structure linkbehaviour

WDUI_BREAD_CRUMB_BEHAVIOR

multipleLinks

Yes

Structure linkenabled

WDY_BOOLEAN

true

Yes

Structure linkseparatorImageSource

STRING

 

Yes

Structure linkseparatorText

Translatable text

>

Yes

Structure linktooltip

Translatable text

 

Yes

Structure linkvisible

WDUI_VISIBILITY

visible

Yes

 

Aggregations in View Designer

Name

Cardinality

Type

Structure linkStep

0..n

Structure linkBreadCrumbStep

 

Events in View Designer

Name

Structure linkonSelect

Note

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

        Structure linkUIElement

        Structure linkViewElement

Dynamic Programming

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

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

Structure linkbehaviour

BEHAVIOUR

WDUI_BREAD_CRUMB_BEHAVIOR

 behaviour: multipleLinks

CL_WD_BREAD_CRUMB=>E_BEHAVIOUR-MULTIPLE_LINKS

 behaviour: singleLink

CL_WD_BREAD_CRUMB=>E_BEHAVIOUR-SINGLE_LINK

Structure linkenabled

ENABLED

WDY_BOOLEAN

Structure linkseparatorImageSource

SEPARATOR_IMAGE_SOURCE

STRING

Structure linkseparatorText

SEPARATOR_TEXT

WDY_MD_TRANSLATABLE_TEXT

Structure linktooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

Structure linkvisible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_BREAD_CRUMB=>E_VISIBLE-NONE

 visible: visible

CL_WD_BREAD_CRUMB=>E_VISIBLE-VISIBLE

 

Dynamic Programming of Events

View Designer Name

Runtime Name

Structure linkonSelect

ON_SELECT

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Structure linkStep

STEPS

0..n

Example

You can find examples of this interface element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the View BreadCrumb.

 

 

End of Content Area