Skip to Content

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

Transfer of items from ItemListBox to Table

Hi All,

I am developing a Purchase Request form.

I am fetching Material Number and Material Desc in an ItemListBox. In the form, there is an DropDownBox for Quantity.

The user can select an item (Material Desc eg. Computer Notebook) and also select the Quantity. There is a Table in the form, in which the User can add Material and Qty.

Now the task for me is to transfer the selected Item and Qty from ItemListBox to Table. Also, whenever a selected item is transferred to Table that item should be removed from the ItemListBox.

I do need some inputs.

Please help.

Regards

Nikhil Bansal

Former Member
Former Member replied

Hi Nikhil,

can you please tell me what are these itemQty, selectedMaterialNumber, selectedMaterialItem and all. One more thing if they are not null then I think you are forgetting to add the newly made element to the tablesource value node so just check whether you have mentioned this or not.

wdContext.nodeTablesource().addElement(tableElement);

<b>XXXXXXXXXXXXXXXXXXXXXXX</b>

Regards

Sid

Message was edited by:

Armin Reichert

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