Skip to Content
0
Former Member
Nov 02, 2010 at 09:56 AM

Pricing not happening properly when UOM is changed

52 Views

Hi All,

My requirement is as follows:

For a material 999999 say 1 Carton = 25 PC. When user enters 24 PC while creating sales order since it is less than 25 PC or 1 Carton, I need to change the quantity to 1 Carton. When I change it to 1 Carton pricing is happening only for 1 PC and not 1 Carton.

However if I change it to 25 PC ( which is also 1 Carton) pricing is happening perfectly.

But the requirement is to change the UOM to Carton if less than 25 PC are entered.

I have tried in the following userexits:

SAVE_DOCUMENT_PREPARE

MOVE_FIELD_TO_VBAP

USEREXIT_NEW_PRICING_VBAP

Also I have tried using the

PERFORM preisfindung_gesamt USING 'B'

.in SAVE_DOCUMENT_PREPARE.

Still pricing is not heppening properly.

All I want is to have proper pricing after changing the UOM.

Thanks in advance for your help

Aravind