Skip to Content
0
Former Member
Feb 06, 2007 at 02:15 PM

OVS Output Error

19 Views

Hello

I am using OVS properties for getting Purchase Products via BAPI. I can show OVS Filter pop up windows. But When I press GO button, I am getting this error message:"

The method bind(Collection) in the type IWDNode is not applicable for the arguments (Bapi_Mara_Ga)"

I checked cardinality for OutputNode and RFC Output node is same.

You can find following query code:

public void onQuery(IWDNodeElement queryInputNodeElement, IWDNode queryOutputNode) {

IPublicOVSCust.IOVSPurchaseQueryInputElement input =

(IPublicOVSCust.IOVSPurchaseQueryInputElement) queryInputNodeElement;

IPublicOVSCust.IOVSPurchaseQueryOutputNode output =

(IPublicOVSCust.IOVSPurchaseQueryOutputNode) queryOutputNode;

Bapi_Material_Getall_Input bapiInput = new Bapi_Material_Getall_Input();

if (input.getMaterial() != null) {

bapiInput.setMaterial(input.getMaterial());

}

try {

bapiInput.execute();

queryOutputNode.<b><u>bind</u></b>(bapiInput.getOutput().getClientdata());

}

Does anyone know what is wrong?

Kind Regards,

Rasim

Message was edited by:

Rasim Donmez

Message was edited by:

Rasim Donmez

null