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: 

how to restrict MD04 and MIGO

Former Member
0 Kudos

How to restrict MD04 to materials belonging to a particular specified material group?

How to restrict MIGO to a particular specified vendor no ?

thanks,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

The material group (MAKTL) restriction cannot be imposed directly via authorization for tcode MD04. Similar is the case restricting MIGO by vendor no.

The Tcode MD04 checks for auth onject M_MTDI_ORG

which restricts for only for

MRP Controller

Plant

Acctivity types in Materials

Similarly MIGO checks for the foll fields only in the concerned auth objects

Plant

Movement Type

Storage Location.

So thsi cannot be restricted via authorization concept normally.

However you may take the help of your basis /ABAPERs to explore the user exits /BADIs of the related programs.

Or your ABAPERS may help you in this regard by developing some customized reports to restrict the same.

Pl dont forget to award suitably.Regards

3 REPLIES 3

Former Member
0 Kudos

Hi,

The material group (MAKTL) restriction cannot be imposed directly via authorization for tcode MD04. Similar is the case restricting MIGO by vendor no.

The Tcode MD04 checks for auth onject M_MTDI_ORG

which restricts for only for

MRP Controller

Plant

Acctivity types in Materials

Similarly MIGO checks for the foll fields only in the concerned auth objects

Plant

Movement Type

Storage Location.

So thsi cannot be restricted via authorization concept normally.

However you may take the help of your basis /ABAPERs to explore the user exits /BADIs of the related programs.

Or your ABAPERS may help you in this regard by developing some customized reports to restrict the same.

Pl dont forget to award suitably.Regards

0 Kudos

thanks for the response. Is it possible to custom build and auth object with say

2 fields ACTVT as execute and MATKL (material grp) for the MD04. That is one line of thought.If yes, how and where to code it in?

Is it not possible to build a custom tcode based on the screens, but somehow prevent the user from running MRP for materials other than the set specified as per the material group?

0 Kudos

Hi,

Never tried that. But what it seems it will require a lot of ABAP dev and a ztcode and a zprogram. Or pl ask your ABAPers to explore the badi associated with the program.Not much exposed to ABAP.

Otherwise ask your ABAPers to explore the possibility if you can restrict the access to certain users by creating a ztable from where the program will chek the authorization.

Regards