Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

selectableLinkBar : firstVisibleItem

I found aproblem with the phtmlb:selectableLinkBar.

   DATA lv_sel TYPE string. 
   lv_sel = '1'.  "play around and set it to "2" in the debugger...."
  <phtmlb:selectableLinkBar id                = "slbr"
                            design            = "TEXTONLY"
                            keepUserSelection = "FALSE"
                            onItemSelected    = "doSelectItem"
                            firstVisibleItem  = "1"
                            selectedItem      = "<%= lv_sel %>">
   <phtmlb:selectableLinkBarItem itemText = "11111" />
   <phtmlb:selectableLinkBarItem itemText = "22222" />
   <phtmlb:selectableLinkBarItem itemText = "33333" />

If you set the current selection "lv_sel" to "2", the the second link is selected (which is correct), but none of the links is visible anymore. Instead, you have to use those little arrow-buttons on the right to display the correct link. Also, from then on, only 2 links are displayed at one (before: 3).

Is this a bug or did I miss something?

(btw: I use 620 SP 58)

Not what you were looking for? View more on this topic or Ask a question