[4635] in sapr3-soft
Want to retrieve the positions of an order
daemon@ATHENA.MIT.EDU (Klaus Etscheid)
Thu Sep 26 06:17:41 2002
To: sapr3-soft@mit.edu
Date: Thu, 26 Sep 2002 12:09:39 +0200
From: "Klaus Etscheid" <Klaus.Etscheid@qualicept.de>
Message-ID: <1033034976.729993@proxy.itemax.de>
Hello,
I tried to access the positions of a purchase order, but it doesn't work.
1'st I've loaded the Order with BAPI2012, but the calls of its method
GetItems doesn't work.
The next way I've used was the following sequence:
fct := TSAPFunctions.Add( 'BAPI_PO_GETITEMS' ) with following
fct.Exports('PURCHASEORDER').Value := '4711'
fct.Exports('QUERY_TABLE').Value := 'PO_ITEMS' // this statement fails!!!
PosList := Funct.Tables.Item('DATA');
Does anyone know how to retrieve the positions of an order?
best regards,
Klaus Etscheid