Skip to Content

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

How to populate Navigation List

Hi

I need to populate a navigation list with values obtained from an RFC.

Can I do this in the same way as populating DDBK?

The DDBK is linked to a Context Value Attribute, but the Navigation List is linked to a Context Node. The context value attribute linked to the DDBK is "addBusUnit". The context node linked to the Navigation List is "TeamList" with value attribute "Member". How would I change the following code(from the DDBK) so that it will work with the Navigation List?

IWDAttributeInfo attinfoBus = wdContext.getNodeInfo().getAttribute("addBusUnit");

ISimpleTypeModifiable modinfoBus = attinfoBus.getModifiableSimpleType();

IModifiableSimpleValueSet valueSet = modinfoBus.getSVServices().getModifiableSimpleValueSet();

try

{

wdContext.currentZhr_360_Teamviewer_InputElement().modelObject().execute();

for (int i = 0; i < wdContext.nodeZteamviewers().size(); i++)

{

valueSet.put(wdContext.nodeZteamviewers().getZteamviewersElementAt(i).getZzpaycode(),

wdContext.nodeZteamviewers().getZteamviewersElementAt(i).getZzfullname());

}

}

catch (WDDynamicRFCExecuteException d)

{

manager.reportException(d.getMessage(), false);

}

thanks in advance

Anton

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