cancel
Showing results for 
Search instead for 
Did you mean: 

Control on production order consumption agianst BOM

Former Member
0 Kudos

HI Experts,

Post Implementations i have two issues related to production order.

1.Can we stop production order from confirmation if consumption of material are excess than what is defined in BOM ?

If yes, what setting i have to do in system.

2.Our users are replacing the material in production order against what has defined in BOM, if this replacement of material has maid then system should not allow user to confirm the order. i this is possible ?

If yes please let me know what changes i have to do in system

Thanks in advance

Parag

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear

your requirement is valid .but this setting is not available in std SAP . You will make "VALIDATION" (Z program) with the help of abaper.

Same scanerio we are using.

Rgds

Surendra

Answers (3)

Answers (3)

Former Member
0 Kudos

Answered and closed

dhaval_choksi3
Active Contributor
0 Kudos

Hi Parag,

- Excess or less Consumption

- Goods Return (262 Movement type)

- Change in Component Data

There is no standard Setting or control is there for such kind of issues.Only thing we can do is use

- Either User Exit (Mr. Mangalraj has already provide you the details for the same)

- You can take help of User Status also.

- Authorization Control for Change in Production Order.

Regards,

Dhaval

former_member184655
Active Contributor
0 Kudos

Dear Parag,

Check with these user exits in T Code SMOD,

PPCO0007 Exit when saving production order

PPCO0008 Enhancement in the adding and changing of components.

Documentation for PPCO0008,

The enhancement serves to check components that have been added to an order or changed

for example, against a standard material database).This check can reject the transfer of components to

the order in some circumstances or replace the material number with another.

The enhancement is given the material number, the plant and the storage location of the component

entered by the user (or of the components the user has changed). Also, the order header data is

copied to the structure I_ORDER so that the check can also include order-related values. However,

changes to values in this structure are not copied!

The check should copy back the material numbers to be processed (as well as the corresponding plant

and storage location) in the structure E_MATERIAL. If the data was changed then the structure

E_MATERIAL is always filled completely!

For the material returned (if E_MATERIAL is filled) the checks specified

in the program standard are run. It can happen that the enhancement is

called up for the replaced material number!

If the component is not to be copied at all then the check must trigger

the exception MATERIAL_REJECTED which then leads to the adding or

changing being cancelled.

Partly for this reason but also for example for the case of one materia

number being exchanged with another there is the structure E_MESSAGE in

which a message can be copied back to the calling program. The followin

belong to the message: the application, the message number, the level o

gravity (information, error, warning,...) as wellas four variable texts

that replace the corresponding place holders in the message. If this

structure is filled then the calling program makes sure that this

message is displayed. In the application CO the message 877 was already

created - it can be used to tell the user that a material number has

been exchanged.

If the exception MATERIAL_REJECTED was set and the structure E_MESSAGE

was filled then the calling program displays the message. However, if

the message is not an error or a termination then this message is

displayed as an error.

PPCO0023 Checks Changes to Order Components

You can also search the forums for this same type of issue, and I hope you will good number of

souggestions.

Regards

Mangalraj.S