cancel
Showing results for 
Search instead for 
Did you mean: 

Call BAPI_SALESORDER_SIMULATE from delphi to get ipricing and availability

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_szcs
Active Contributor
0 Kudos

Hello Fatiha,

I am afraid, there is only a slim chance to find an expert on this matter here in the Web Dynpro ABAP forum. My suggestion to post this question to a forum more suitable.

Best regards,

Thomas