cancel
Showing results for 
Search instead for 
Did you mean: 

Table binding

Former Member
0 Kudos

Hi All,

I m using a Table in which i want to populate some columns with RFC data and some columns should be available for user input.

How to do this ?

Plz Help.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member192434
Active Contributor
0 Kudos

Hi

Use this code

for(int i=0; i<wdContext.nodeFlight_List().size(); i++){

if(wdContext.nodeFlight_List().isSelected(i)){

String element = wdContext.nodeFlight_List().getFlight_ListElementAt(i).getAirportfr();

String element2 = wdContext.nodeFlight_List().getFlight_ListElementAt(i).getAirportto();

String element3 = wdContext.nodeFlight_List().getFlight_ListElementAt(i).getAirlineid();

String element4 = wdContext.nodeFlight_List().getFlight_ListElementAt(i).getAirline();

IPublicAllInOne.IFlight_List_1Element ELE = wdContext.nodeFlight_List_1().createFlight_List_1Element(new Bapisfldat());

ELE.setAirportfr(element);

ELE.setAirportto(element2);

ELE.setAirlineid(element3);

ELE.setAirline( element4);

wdContext.nodeFlight_List_1().addElement(ELE);

}

}

Former Member
0 Kudos

Hi,

use apply template option.

from that select the table option.

select required context and celleditors from the options available.

Regards,

ramesh

Former Member
0 Kudos

hi,

the apply template option is disabled.

what to do ?

Former Member
0 Kudos

Hi,

right click on the RootUIElement you can see the apply template .

Regards,

ramesh

Former Member
0 Kudos

Hi Ramesh,

its diabled for the RootUIElement too !!!

Former Member
0 Kudos

Hi,

for testing just create new project and test apply template option ?

waht is the nwds version ?

Developing with Tables in Web Dynpro

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f699f90-0201-0010-14a4-89501772...

Regards,

ramesh

Edited by: Ramesh Babu V on Nov 3, 2008 5:18 PM

Former Member
0 Kudos

Hi Ramesh,

the version is 7.0.09

Former Member
0 Kudos

Hi Akhiles,

I solved the same problem, deleting the .metadata directory in the workspace.

And restart NWDS.

(But note that you will loose the NWDS configuration).

regards