Skip to Content

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

Adding values to ItemListBox

Hi,

I have requirement like this,

I want to place an ItemListBox in my view,

Could you please suggesst me some steps to add values in the ItemListBox.

Then how to select single or muliple values.

Regards,

Anitha.

Former Member
Former Member replied

Hi Anitha,

Follow the procedure:

1. Create a Context Node say Vn_List and two attribute within say Va_Name and say Va_EmpNo.

2. Insert UI element ItemListBox in your view and bind the DATASOURCE to the node, Text to Va_EmpNo and DESCRIPTION to Va_Name. Let VISIBLE ITEM to be 5 and width to 250px.

3. Now in case you want to add item to this list , simply add elements to the node Vn_List setting the attributes within. In actual scenarios, usually, you pick up values from any other node displayed as table/itemlistbox and then create new element in thisVn_List Node corresponding to the selected value to be added into the list.

Regards,

Tushar Sinha

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