Skip to Content

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

Dropdown in a table


I have an application in which a table has 5 columns as dropdowns. Whatever the user selects using these dropdowns are being sent to the backend and updated in a table. I am using the following piece of code in order to achieve this.

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


alloc_ele = wdContext.nodeLi_Allocations().getLi_AllocationsElementAt(i);

broker_ele = alloc_ele.nodeBroker_DD().currentBroker_DDElement();

shipper_ele = alloc_ele.nodeShipper_DD().currentShipper_DDElement();

customer_ele = alloc_ele.nodeCustomer_DD().currentCustomer_DDElement();

exporter_ele = alloc_ele.nodeExporter_DD().currentExporter_DDElement();

consignee_ele = alloc_ele.nodeConsignee_DD().currentConsignee_DDElement();







The problem here is, when I use the above lines for one or two of the dropdowns it works fine. The data gets updated in the backend. But when I do it for more than 2 dropdowns the Bapi is not even getting executed and the data is not getting updated.

Can someone tell me a better way of doing this?

Thanks and regards,


Former Member

Helpful Answer

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