Application Development 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: 

Need Enhancement Spot or BADI for transaction ck51n

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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