04-02-2007 7:38 PM
How to restrict MD04 to materials belonging to a particular specified material group?
How to restrict MIGO to a particular specified vendor no ?
thanks,
04-03-2007 7:23 AM
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
04-03-2007 7:23 AM
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
04-03-2007 3:27 PM
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?
04-04-2007 12:48 PM
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