Hi ! , i have a problem , this code needs to add like 80 different values from the context node but the values are repeated 80 times with the 80th value and then send 80 same values to the bapi, !?, does anyone knows why ? thanks
, i tried with zproductoswebPed.addPosnr but it is not such method, zproductoswebPed is an structure from an rfc....
for (int x = 0; x < wdContext.nodeCarrosDocumentados().size(); x++) {
zproductoswebPed.setPosnr(wdContext.nodeCarrosDocumentados().getElementAt(x).getAttributeValue("Peso").toString());
bapiPedidos.addIt_Posiciones(zproductoswebPed);
}
"call rfc" bla bla bla. . .