08-06-2010 7:39 AM
Hi,
The calculation of the sales order standard costs is done by only one type of standard cost in SAP standard while creating a sales order. I am trying to enhance that to accept 3 to 6 types of standard cost.
I need information of Badi or enhancement spot for transaction ck51n to implement the same.
Thanks in advance.
Regards
Shanthi
08-06-2010 10:51 AM
Hi
Check the BADI for updating Costs in CK51n - CO_PROD_COSTING_CK
Chcek the FM
CK_F_JOINT_PRODUCTS_CALC where they have used the above BADI
or Check the BADI - ORDER_COSTING_CK = Enables Header Data Changes in Preliminary Order Costing
Enhancement Spot - ORDER_COSTING_CK
Let me know If you still have any issues
Edited by: Raj on Aug 6, 2010 3:24 PM
08-06-2010 10:51 AM
Hi
Check the BADI for updating Costs in CK51n - CO_PROD_COSTING_CK
Chcek the FM
CK_F_JOINT_PRODUCTS_CALC where they have used the above BADI
or Check the BADI - ORDER_COSTING_CK = Enables Header Data Changes in Preliminary Order Costing
Enhancement Spot - ORDER_COSTING_CK
Let me know If you still have any issues
Edited by: Raj on Aug 6, 2010 3:24 PM
08-06-2010 11:02 AM
Hi Raj,
Thanks for your reply.
Looks like it works on header.
will any of these work for line items?
Thanks in advance.
Regards
Shanthi
08-06-2010 12:03 PM
Hi Shanti,
to find the user exits & Badi's for the T-code..
go to table TSTC>enter T-code and execute> get the Program for the t-code..
and go to-se38-->get the package attached to the t-code..
next go to t-code Se15>expand the enhacement tab>enter package under userexit and
execute you will get the list of exits
available...
-->enter package under Badi's tab and
execute you will get the list of Badi's
available...
All the User exits are stored in Table MODSAP..
And to find the Enhamcement Points go to progrmam or screen where the Items table is there and
Press SHIFT+F4(enhace application tool) -->go to menu bar >EDIT>enhacement Operations
-->Show implicit enhacements
--> once the yellow bar/Line appears right click and create a enhancement and add your own code.
Regards,
Prabhudas
08-06-2010 2:06 PM
Hi Shanthi,
Check the Enhancement Spots that may be helpful in Item Level
CO_PROD_COSTING_CK Cost Management for Joint Products (Costing, Target Costs)
COSTINGRUN_CK Edit Costing Run
09-08-2010 7:43 PM
Hi,
I used enhancement spot in 'MV45AF0B_BELEG_SICHERN' program.
This enhancement is called while the order is saved. As soon as the order is saved, a FM is called which would do Costing for all the items in the sales order in CK51n using BDC.
Thanks a ton.
Regards
Shanthi