SRM 4.0, server 5.0. We have several different company codes within our PPOMA, and in our case 1 company code equals 1 purchasing group. Some users are what we call "cross functional" meaning that they can buy from other company codes than the one they are usually assigned to. Additional company codes and locations are simply added as attributes, but when it comes to the purchasing group I need some kind of automatic behaviour. This is what I have in mind:
When the user is changing the company code the location is also changed in the same run. I would like to use the BAdI BBP_PGRP_ASSIGN_BADI to then also trigger an automatic change of the purchasing group that would then match the company code. Something like "when company code '1001' then purchasing group = '547'."
Doesn't this sound possible? Or have I perhaps misunderstood the use of the BAdI mentioned?
Thanks for info.