cancel
Showing results for 
Search instead for 
Did you mean: 

List must contain AbstractList (ProxyList) of Type {0}, not of {1}!

Former Member
0 Kudos

Hi All,

I am getting this exception

com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: List must contain AbstractList (ProxyList) of Type , not of !

Plz help.

Regards

Nikhil Bansal

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member189631
Active Contributor
0 Kudos

Nikhil,

Please see this Link,

Regards,

Ram.

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

this is because , passing table to BAPI is different than just binding structure to the model node.

For structure we would have simply bound them as

<model class name>.set<Structure name>(structure element);

but, for passing table we need to create the abstract list for the table node, like as,

Bapiparnr.Bapiparnr_List PartnerList = new Bapiparnr.Bapiparnr_List();

Partner.setPartn_Numb(PartnerNumber);

Partner.setPartn_Role("AG");

PartnerList.addBapiparnr(Partner);

SO.setOrder_Partners(PartnerList);

// check out this List structure creation and use Partner is element of table node

//this first need to added to PartnerLIst which is abstract list structure for table

//node , then added this to model class node in the last step

hope it helps

regards