on 04-13-2007 5:14 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.