Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to set the tables parameter to a BAPI using adaptive RFC model

Hi,

I have a BAPI ZBAPI that has a tables parameter ZPernr of type ZTable with two elements pernr and name.

I used adaptive RFC model and created model classes for the BAPI.

My question how do i set list of pernr and name to the tables parameter in the webdynpro for java.

I have the following methods available

ZBAPI input = new ZBAPI();

1.ZTable table = new ZTable();

table.setPernr(pernr);

table.setname(name);

input.addZPernr(table);

how do i set the table parameter for multiple pernr and name

2.

add all the pernr and name to list and set that list to input in the following way

input.setZPernr(list) and list of typecom.sap.aii.proxy.framework.core. AbstractList

out of two methods mentioned which one is correct.

Please let me know the solution

Thanks

Bala Duvvuri

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question