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

price simulation

former_member220801
Participant
0 Likes
689

Hi experts,

I have developed an ABAP program to create sales order. I would like to figure out the net price of each item, and place a reason of rejection code for those items sold below cost.

In the pricing precedure, there are many discount condition types, is there any function module/BAPI that can get all the condition records or even come up with a net price so that I can check before trying to create sales order?

Currently, I come up with a solution that read all the condition tables and calculate the net price. But my program is required to update each time when a new discount condition type is added to the pricing procedure.

Thanks a lot.

4 REPLIES 4
Read only

Former Member
0 Likes
635

normally in MBEW table u will get all the cost details of the material

with regrds

s.janagar

Read only

former_member220801
Participant
0 Likes
635

my main problem is to get net item price (after discount applied) before sales order creation

Read only

0 Likes
635

hi mbew there is a field named SKTOF

this indicates cash discount

so with which implies that the net price is the actual price of the item

cheers

s.janagar

Read only

Former Member
0 Likes
635

Use BAPI_SALESORDER_SIMULATE