Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

control Posting access ML81N for Company code

former_member608082
Discoverer
0 Kudos

Can we control posting to a company code in transaction ML81N?

what object needs to be restricted

2 REPLIES 2

martin_voros
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.