05-07-2010 5:32 AM
Hi,
While the sales order save, plan cost is getting calculated at background. I want to change that cost. Is there any user exit, BADI availble to do so.
I tried sales order save user exits like MOVE_TO_VBAP, SALES_DOCUMENT_SAVE, SAVE_DOCUMENT_PREPARE but it doesn't works.
Is there any other way to change costing which gets generated during sales order save?
Please reply.
05-07-2010 5:46 AM
Hi,
USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ should work. Which internal table strcuture you are trying to update?
Regards
Vinod
05-07-2010 5:55 AM
Internal structure is "KKB_DUMM" and field is "WERT".
I observered that value in this field gets updated in VBAP-WAVWR field, but by changing this field, cost is not getting updated as well when I save sales order VBAP-WAVWR takes the orginal value that is cost.