cancel
Showing results for 
Search instead for 
Did you mean: 

AbstractList

Former Member
0 Kudos

hi

In my wdInit() before I bind the incoming class to the context I have to instatiate a class

my_Input input = new my_Input();

input.setEt_Text(?????);

wdContext.nodeMy_Input().bind(input);

The class I have to supply to input.setEt_text is defined as

com.sap.aii.proxy.framework.core.AbstractList.

Because this is an abstract class you cannot instantiate it and have to use a descendent of it.

Unfortunately I have no javadoc of this class and I do not know which class extends this class.

Any suggestion will be appreciated.

thanks

yuval

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Peery,

Instead of input.setEt_Text(?????); use

input.addEt_Text(new <ModelClass>());

Et_Text is an internal table used in RFC. So you can add multiple records in Et_Text.

When writing above code, click Ctrl+Space you will automatically come to know for which RFC Model Class you have to create the object.

Regards,

Gopal

Former Member
0 Kudos

Hi freinds

Gopal, Thank you for your reply. That is what is eventually did. I will test it tomorrow.

Points awarded.

Mithu

Thank you also for your reply. I dound the link you provided very instructive!!! Points awarded.

Sincerely

yuval

Former Member
0 Kudos

hi

try this out

my_Input input = new my_Input();

input.setEt_Text(?????);

AbstracList lst= new ZEx_Test.ZEx_Test_List();

ZEx_test test = new ZRFC();

test.setname(.....)

test.setXXX(...) // set the needed

lst.add(test);

wdcontext.currentRFC.modelobjext.setEx_test(lst);

hope this will work ;

this will add data inthe list format , as one after the other .

w.r.t the operations u perform .

Edited by: kishore shikore on Jun 15, 2008 10:37 AM

Answers (1)

Answers (1)

former_member751941
Active Contributor
0 Kudos

Hi Peery,

Chech this thread.

Regards,

Mithu