cancel
Showing results for 
Search instead for 
Did you mean: 

Profit Margin negative in Intercompany STO Process

Former Member
0 Kudos

Dear Gurus,

My client is using Intercompany STO with Delivery and Billing process for Intercompany Sales.

Intercompany STO then Delivery - Billing - Goods Receipt and Invoice Receipt.

My client wants to restrict that Billing document should not be created if Profit Margin is negative based on Sales Price and VPRS.

Please advise what should i do to restrict the creation of Billing document.

Thanks.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

This message was moderated.

Lakshmipathi
Active Contributor
0 Kudos

Profit Margin is nothing but whatever you fix as the selling price over and above the cost.  So, assign routine 5 under Calculation Type in pricing procedure and test for a scenario.  System will not allow to save the document

G. Lakshmipathi

0 Kudos

I think in stranded its not possible, but you can restrict with enhancement, creation of the billing document exit's - "SDVFX008 & SDVFX010" please check with your ABAP with the two exits. may be this will help in your requirement.

Former Member
0 Kudos

you can apply the check using help of your ABAPer.

During Doc Save or Save Prepare, the value of condition types can be read and the final margin can be calculated. Based on this value, the document save can be allowed or exit to screen with error can be applied.

Former Member
0 Kudos

Dear Sashin,

We cannot achieve this through standard using pricing routines? Like we can do this in Sales Order.