Application Development 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: 

BAPI_SALESORDER_SIMULATE calculated sub-totals?

Former Member
0 Kudos

We are using the above BAPI as part of a web-based order entry system. We find that the pricing details we get back from the bapi in table ORDER_CONDITION_EX only hold actual price conditions. It does not hold the calculated subtotals you can see if you display an order in Va01 and look at the full pricing procedure.

How can we access the calculated subtotals with resorting to writing more abap code?

Also, how does Internet Sales do this? does it use a different simulation bapi for sales orders?

3 REPLIES 3

former_member534411
Participant
0 Kudos

Hi David,

Please see the <b>OSS Note 380620</b>.

//Suresh

Suresh, Thanks you for trying to help. The OSS has already been applied. We can see 6 subtotals on the structure BAPIITEMEX (table ORDER_ITEMS_OUT). It looks like the problem is that the subtotals defined in the pricing procedure are different to what we need on the web screen. It looks like we will need to change the pricing procedure in SAP or even add some extra conditions which calculate new subtotals for us. This should mean no extra coding required.

thanks again.

eralper_yilmaz
Participant
0 Kudos

The problem with subtotals still continue

I lose the decimals and last digit, so the amounts are rounded so that I cannot use the BAPI for subtotal values