09-01-2010 2:02 AM
Can we control posting to a company code in transaction ML81N?
what object needs to be restricted
09-01-2010 3:28 AM
Hi,
not directly. The transaction ML81N belongs to MM module and this module does not use company code for authorizations. It uses purchasing groups, purchasing organizations and plants. So if there is one to one mapping between purchasing organization and company code then you can use the standard authorization objects. Otherwise you can try to extend this transaction using enhancement framework. The function group MLSR which implements transaction ML81N. There is a routine AUTHORITY where authorization checks for objects M_BEST_* are performed. You can try to add an additional check for custom object in this routine using implicit enhancement point.
Cheers
09-19-2010 7:21 PM
Hi
As already stated, this is an MM transaction restricted accordingly, use transaction OX18 (or similar) to find the plants related to the company code and assign as designed.