Skip to Content
0
Former Member
May 19, 2005 at 01:23 PM

input table on BAPI

48 Views

Hi all,

I have a problem when I call a BAPI parsing a input table.

Normaly, I can define a input using: on the Custom Controller.

Z_Bapi_Mov_Estoc_Input input2 = new Z_Bapi_Mov_Estoc_Input();

wdContext.nodeZ_Bapi_Mov_Estoc_Input().bind(input2);

input2.setParam1("test");

but this bapi have a input table.

How can I add this values?

I've try with this code, but no work's:

IPublicMagatzemListCust.IItemsElement newMaterialNodeElement;

newMaterialNodeElement = wdContext.createItemsElement(new Zdetalle());

wdContext.nodeItems().bind(newMaterialNodeElement);

newMaterialNodeElement.setMatnr("3233");

newMaterialNodeElement.setQuant(1);

the table is mapped using Items node.

Can anyone help me?

thanks in advance,

david