cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent Production Order from "Release" if there is no Cost Estimate

Former Member
0 Kudos

Hello gurus, I have the following situation. I hope you could help.

The factory creates materials to be produced. They create the material master data, including the Accounting view and they assign a value of 1 cent, because they still don't know the correct price. Then they create the BOM and the Routing; and at that moment, they are now able to create Production Orders.

The controlling department costs the material in CK11N and releases it with CK24, this creates the Cost Estimate; the problem is that most of the time; the production department creates the Production Orders before the material has a cost estimate, so they get valued at 1 cent.

The factory wants to be prevented from Releasing the Production orders if the Cost Estimate is not there, however we don't see any status error for this. It looks like this is not being considered. It would be ideal that the "Error in Cost Calculation" status (CSER) considered this, but apparently, it doesn't.

Do you know if there's a way to prevent Production Orders from being released if the Cost Estimate is not there? Or if the value of the assembly is 1 cent?

Accepted Solutions (1)

Accepted Solutions (1)

former_member184655
Active Contributor
0 Kudos

Dear Garcia,

Check this link,

[Prevent production order creation if no std.cost estimate exists|]

Regards

Mangalraj.S

Former Member
0 Kudos

Great. I'll follow this link and investigate about this user exit. Thank you.

Answers (3)

Answers (3)

former_member207022
Active Contributor
0 Kudos

Dear

You can use the user exit PPCO0001, while creating production order for matnr and plant combination system should check the validity period of std.cost in table KEKO i.e. costing date from (KADAT) and costing date to (BIDAT). if SYS-DAT is falling within the period you can allow system to create order.

Try this.

Former Member
0 Kudos

In which Tcode we can use this user exit

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

Use Function Module: EXIT_SAPLCOBT_001, where you need to build up a logic.

Basically you need to take the material for which the production order is being created along with plant and you need to input these two fields and check whether standard price is available and need to compare with the current period and year and you also need to check the status of cost estimate whether it has 'FR' along with costing variant. If all the above are available you can release and save the order else no release or no save.

Its quiet tricky,take help from ABAP consultant.

Regards,

R.Brahmankar

rammohan_shenoy
Active Contributor
0 Kudos

Garcia,

One good way I have handled this at client site is by using material status. So when the material is created it should not have release status. Then when Costing dept has relased cost estimate they would change the material status to costed & released.

Using the Material status you can control such issues.

Thanks,

Ram