Skip to Content

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

links not getting displayed in the contextual panel

Hi,

I have created a contextual panel inside a transparent container. And created a method in the same view supply_values of type supply function to supply the values to the panel.Inside the method I have coded like:

DATA TAB TYPE WD_THIS->ELEMENTS_N_VIEW_SWITCH.

DATA LINE TYPE WD_THIS->ELEMENT_N_VIEW_SWITCH.

LINE-TEXT = 'User Manual'. "#EC NOTEXT

LINE-ENABLED = ABAP_TRUE.

APPEND LINE TO TAB.

LINE-TEXT = 'Logout'. "#EC NOTEXT

LINE-ENABLED = ABAP_TRUE.

APPEND LINE TO TAB.

NODE->BIND_TABLE( TAB ).

Also in the context of the view I have created a node and supplied the method 'supply_values' in the supply function.Under the node I have 2 attributes named text and enabled. Text is of string type and enabled is of boolean type. In the properties of the contextual panel I have bound the visible property with the enabled attribute.

Now when I am running this application , links are not getting displayed in the contextual panel. Though when I debug TAB contains the values. Please suggest if I have missed out something or I need to look into the properties of the contextual panel. Any pointers will be really helpful.

Regards,

Ashutosh

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