Skip to Content
0
Former Member
Jul 16, 2008 at 08:43 AM

problem after multiselection on table

17 Views

hi

i have a table IT_car_data where i have to perform

multiselection in the table , and iam populated the

data in to the table from the itemlistbox , then i need

to perform multiselection on the table and send it to a structure called It_Car , and add the Structure It_car to the

RFC.

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

{

if(wdContext.nodeIt_Car_Data().isMultiSelected(i) || leadSelection==i )

{

String make=wdContext.nodeIt_Car_Data().getIt_Car_DataElementAt(j).getP_Make();

here below Zlgs_Car_Data is class for IT_Car Structure Zlgs_Car_Data carData=new Zlgs_Car_Data();

carData.setP_Make(make);

wdContext.currentZlgf005_Outfit_Match_Mm_InputElement().modelObject().addIt_Car(carData);

}

then calling the RFC

what is happening is when i perform multi select and click on the button for example: 1 and 2 row , i able to send it to

IT_Car, but for the second time when i deselect 1 and 2 and

select 3 and 4 rows and send it to IT_Car, iam able to

see all 1,2,3,4 row in the IT_Car , but i need the only latest one that 3 and 4 row in the It_car ,

after i perform 1,2 row multiselection onthe table and call the

RFC , i need to invalidate the node so as to clear the IT_car

but iam not able to .

can any one help me?