Skip to Content
Former Member
May 02, 2005 at 11:38 AM

Value Help


Hi All,

I am trying Value help from SAP in my application .

FlightList is the node which is mapped to model object through custom controller .

I have created context value node 'Test' in view controller. Comp as value attribute under this node.

I am binding this value attribute to input field UI element . But I am getting blank list in drop down.

Following is the code I have written in DoInit method of

View controller.

IPrivateResultView.ITestElement newElement = wdContext.createTestElement();

ISimpleTypeModifiable myType=wdThis.wdGetAPI().getContext().getModifiableTypeOf("Test.Comp");

IModifiableSimpleValueSet values=myType.getSVServices().getModifiableSimpleValueSet();

IFlightListElement thisl1 ;

int cnt = wdContext.nodeFlightList().size() ;

for (int i = 0; i < cnt ; i++ )


thisl1 = wdContext.nodeFlightList().getFlightListElementAt(i);

String city = thisl1.getCityfrom();

values.put("Key_"+i , "Country_" +city);




Thanks in advance.