cancel
Showing results for 
Search instead for 
Did you mean: 

User exit to check consumption

Former Member
0 Kudos

Hi,

User wants to check whether consumption of components are happening as per BOM or not. In CO02 / Co11n user can able to change the quantity. So, while confirming production order through CO11n, system need to check goods movements are happening as per BOM or not (Not from production order component overview). If it is not happening then system should through an error.

Let me know if there is any user exit?

Regards / US

Accepted Solutions (1)

Accepted Solutions (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

First you can restrict the component change in production order.

PPCO0023 Checks changes to order components

Also you can restrict the consumption in confirmation through BADi WORKORDER_GOODSMOVEMENT.

Regards,

R.Brahmankar

Answers (1)

Answers (1)

sjeevan
Active Contributor
0 Kudos

BOM is mainly like a template, why would you want to check the components according to BOM? If BOM quantity and production order quantity are different and you're doing a check against BOM, system may not close the reservation for the production order. Your approach doesn't seem to be right on this issue. If the users are changing the components in the production order, you need to create a transaction variant and make that screen grey or disable the component overview menu path and button all together.

Former Member
0 Kudos

Hi Jeevan,

The issue is user is changing BOM quantity in production order. I want to restrict component change (System should not allow to reduce the quantity and it should allow to increase certain extent).

Currently while creating PO, system checks material availability and if material is insufficient then user is changing the quantity and release PO.

If any user exit available then it will be fine.

Regards / US

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

Exit PPCO0023 Checks changes to order  will help you to restrict the changes in component quantity .

Also BAdi WORKORDER_UPDATE method BEFORE_UPDATE will work to restrict the reduce component quantity in production order.

Please try the same and come back.

Regards,

R.Brahmankar

sjeevan
Active Contributor
0 Kudos

I guess I misread your requirement.

Usually BOM quantity refers to the quantity maintained in BOM. This data is referred to as Master data, as you might already know.

Component quantity refers to the quantity maintained in production order. This quantity may or may not be equal to BOM quantity, it will be equal if the BOM at the time of explosion to production order is not changed manually. This data is referred to as transactional data. As it is part of business trasaction (in this case CO01/CO02).

Once master data is copied to transaction data they may depart their ways. For example you create a production order and BOM is exploded, at that very moment they both will have same data. But later, you may add a X component to BOM, X will not appear in production order, similarly you may add a component Y to production order, Y will not be reflected in BOM.

Anyway, you can check out the BAdI WORKORDER_UPDATE and/or the exits PPCO0008, PPCO0023.

I have mentioned a program in the one of my blogs(below) ask your ABAP developer to copy/paste that program for you, so that, you can look up the user-exits by yourself in future, simply by executing a transaction code.

http://scn.sap.com/community/erp/manufacturing-pp/blog/2012/03/22/program-to-display-exits-and-badi