Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call BAPI_SALESORDER_SIMULATE

Former Member
0 Kudos
271

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

1 REPLY 1
Read only

Former Member
0 Kudos
219

Could you check this problem in Webdynpro forum.