Skip to Content

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

Deletion of selected rows in WD Java table

Hi Experts,

We have a requirement to select (Using check box as a TableCellEditor to select the rows) any row (Single OR multiple) in a WebDynpro java table and to remove the selected rows from the table on action (Button).

Data come from BAPI and we are using Value Node as a Data Source for this table. Our NWDS version is 7.01.

Please suggest appropriate method to achieve the same.

Thanks and Regards,

Ghanshyam Agarwal

Former Member
Former Member replied

Hi Ghanshyam..

Create an attribute(Boolean) at table level node (0..n).

and create one action for delete selected rows. and put below code..


IPublicVcTrgCrtOrdComp.I<your value node>Element element;

      for(int i = 0; i< wdContext.node<your value node>().size();i++)


       element = wdContext.node<your value node>().get<your value node>ElementAt(i);


       if(element.get<selected attribute>() )


        wdContext.node<your value node>().removeElement(element);

        i = i-1;





Thanks & Best Regards

Aasif Shah

1 View this answer in context

Helpful Answer

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