Hi Biju,
There is one zcontrol table maintained to update the data legal control data of purchasing view. Data in the control table maintain for legal control data with the combination of Profit center & Spare part group(Zfield). So we have developed code that if user changes profit center or spare part group in the material master legal control data should get updated if not maintained already.
Thanks,
Kiran