2007 Jul 26 4:15 PM
Hello
I am trying to use the BAPI_SALESORDER_SIMULATE get price and availabilty of a specified Item .
I'm trying to use the bapi from delphi is thsi syntaxe correct
[...]
order := ctrlBAPI.GetSAPObject('SalesOrder');
header := ctrlBAPI.DimAs(order, 'OrderSalesSimulate', 'OrderHeaderIn');
items := ctrlBAPI.DimAs(order, 'OrderSalesSimulate', 'OrderItemsIn');
partners := ctrlBAPI.DimAs(order, 'OrderSalesSimulate', 'OrderPartners');
ret := ctrlBAPI.DimAs(order, 'OrderSalesSimulate', 'Return');
[...]
and then how can I get the desired infos from ret?
Does anyone have any advice or experience of doing this ?
Regards
2007 Jul 26 4:27 PM