My requirment is that when the user create a new material, the profit center field should be auto populated from the input Plant. For example, if the plant for this new material is A, then profit center PCA will be populate. The mapping between plant and profit center is very simple.
Furthermore, when the user try to save the material with invalid profit center, the system should create a warning message and automatically change the profit center to the valid one as well.
Right now, i'm looking for either BADI or userexit that would be suitable for my requirement. Does anyone know which BADI or userexit, I should use. Thanks in advance