Authorization based on MRP Controller in the PR

Hi All,
I want to restrict authorization of PR creation and list of the PR based on MRP controller.
For e.g.  User X can only create PR with MRP controller A in PR. He can not create PR with any other MRP controller.
And He can only display PR with MRP controller A.
I have tried to put object  M_MTDI_ORG on the authorization but it's not working.
Thank you for your help....
Cheeryl

Hi,
The below information was available when I searched for this ..
MRP controller for PR document type
If you mean restricting which MRP controller codes can be entered in PReq on the "Contact person" tab, then the BAdI ME_PROCESS_REQ_CUST, method CHECK can suit you.
Call the method IM_HEADER->GET_DATA to obtain the PReq doc. type in RE_DATA-BSART.
Call the method IM_HEADER->GET_ITEMS to obtain the PReq items in its parameter RE_ITEMS. Then call loop through the items in RE_ITEMS and call RE_ITEMS->GET_DATA to obtain the item data in its parameter RE_DATA.
Check RE_DATA-DISPO and set the exporting parameter CH_FAILED if you want to prevent the PReq to be saved.
Please see if this helps you.
Thanks
Shailesh

Similar Messages

  • How can i display the MRP controller in transfer order print?

    Dear all:
       When i print the transfer order(Tcode: LT31) ,i want to display the MRP controller in the output form.
    How can i get that ?
    I found the user exit MWMD0001 and add the code in the include like this:
       select  single dispo from marc
         where matnr = ltap-matnr
               and werks = ltap-werks.
         zdispo = marc-dispo.
    But caz the "zdispo"  could not been brought to the "print form " of the report RLVSDR40 which control the print LT31.So ,i failed.
    Anyone advice?

    The problem is as zdispo is declared in your user exit it doesn't become available. Had it been declared variable in the include of the program for LT31 you would be able to use it directly in the script.
    Try doing this instead in your layout set.
    /: PERFORM MRP_CONTROLLER IN PROGRAM ZABCXYZ
    /: USING &LTAP-MATNR&
    /: USING &LTAP-WERKS&
    /: CHANGING &ZDISPO&
    /: ENDPERFORM
    in your program ZABCXYZ.
    FORM MRP_CONTROLLER tables in_par structure itcsy
                               out_par structure itcsy.
    tables: marc.
    data: matnr like marc-matnr.
    data: werks like marc-werks.
    READ TABLE IN_PAR WITH KEY ‘LTAP-MATNR’.
    CHECK SY-SUBRC = 0.
    MATNR = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY ‘LTAP-WERKS’.
    CHECK SY-SUBRC = 0.
    WERKS = IN_PAR-VALUE.
    select single dispo from marc
    where matnr = ltap-matnr
    and werks = ltap-werks.
    IF SY-SUBRC = 0.
    READ TABLE OUT_PAR WITH KEY ‘ZDISPO’.
    CHECK SY-SUBRC = 0.
    OUT_PAR-VALUE = MARC-DISPO.
    ELSE.
    CLEAR OUT_PAR-VALUE.
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    This should work.

  • Email notification to MRP controller for [Missing Parts]

    Hi All,
            Is it possible can we configure a setting to send a mail to MRP controller at the time of missing parts, while Issuing a goods to production order.
    Thanks in Advance

    Hi madan
    IT is possible to config mail for your MRP controller. This can be done in create User authorization . Please consult your Basis consultant.
    Regards
    J. Saravan

  • MRP areas and MRP controller..

    In a plant if there are some 100 x materials and 100 y materials..
    The requirement is when the 100x materials are planned ,The 100 y materials should not be planned(i e 100 y materials should not be considered in planning). How to map this in MRP.
    I have heard that using MRP controllers or MRP areas this can be achieved.But I don know how?
    If anybody cud help me in how to proceed this?

    HI
    This can be achieved through the user exit in MD01 based on MRP controller assing different MRP controller for X and Y material and with the help of ABAP you can use exit in MD01 and run mrp  with that  exit in MD01
    sorry the user exit which is used in my scenario which is  same as of yours is M61X0001 as Suggeste by Mr Mangalraj
    Regards
    Anupam Sharma
    Edited by: anupam sharma on Nov 26, 2009 11:15 AM
    Edited by: anupam sharma on Nov 26, 2009 11:17 AM

  • MRP Group, MRP controller

    hi  all..
    when we are going for imlementation, how to deside how many MRP Group, MRP controller, production scheduller required? what are the factors should be consider for selecting those? is there any thumb rule for selection?.....

    The MRP group contains all the materials from the point of view of MRP for assigning special control parameters for the total planning run. These control parameters include, for example, the strategy group, the consumption mode, and the planning horizon. out of all the material in plant which material need to be groped for make to stock (10), which materials need to be made to make to order(20), what are the material need to be grouped for consuption based planning like consumables based on consumption pattern.
    MRP CONTROLLER
    Specifies the PERSON/PERSONS responsible for material planning for the particular material/material group
    so this grouping and keeping one person responsible for particular material or group depends on 1) volume and value of the material 2) criticality of the material 3)its significance and availability of the material 3) the control and vigiliance you want on the material lie imported materials etc..
    whic varies from client to client based their requirement.
    general thumb rule:
    take the help of ABC analysis
    A category items for 20% of volume consist of about 70-80% of total cost.
    b  category items for which 10% volume consists of  10- 20% of total cost
    c. category items for which 70% volume consist of    10-20%  of total cost
    and also one category which have more planned delivery time , or materials whic takes max time to process like FORMING MATERIALS etc.
    clients analyse generally  apply COST, TIME,AVAILABILTY, CONTROLABILITY into consideration.

  • MC.9 report is showing -ve value when MRP controller selected

    Hi Expert,
    I'm confuse about the -ve value in MC.9. If i run by using Plant as the selection parameter for month 02.2010, then sorted by valuatted stock value(ascending), it will not show me the -ve value for all materials. But if i run the report by using Plant and MRP controller as the selection parameters,then sorted by valuated stock value(ascending), it shows me the -ve value. why?
    Please explain.
    Thanks

    hi jurgen,
    i still not clear. I try to run the report for material A and mrp controller  001. I got the -ve value. But when i run the material without mrp controller, it shows 0. no -ve value. i check in MM03,changes history for the material. MRP controller has been changed few times but the latest is 160. What am i confusing is, what is the relation between MRP controller with the report? What is the function of the report actually? Isn't it suppose to give the same data either i put the MRP controller or not when running the report?
    Thanks

  • LX01 report additional field- MRP controller

    Hi, All
    I need to add MRP controller for the output list for LX01 transaction can a ny one suggest me which user exit i should use or which structure i should append the field and popultae that fiel in the exit..
    Thanks.

    Hi dear,
    You have to proceed as below.
    1) Maintain MRP view for material.
    2) With the help of your ABAP er create Z report.
    3) Logic to fetch for MRP controller - Go to table MARC and get the MRP controller (field name DISPO) of all the materials displayed in the report.
    Edited by: Deepak Kulkarni on Mar 18, 2011 5:31 PM

  • Mail to MRP controller

    How I configure mail to MRP controller for the missing part list in the time of creating production order without work flow
    Regards
    Amitava

    Hi
    In CO01 > Click on Go to > Missing Parts > Missing Part list
    In Nxt Page Click on List > Send to > Mail recipient
    In the Recipient tab enter SAP user id of MRP Controller and Recipient type SAP Log on name and click on Send icon at Top left.
    SAP Mail will go to MRP Controller SAP Work place in box.
    Regards
    Brahmaji

  • Emailing Reorder point to MRP controller

    Dear Guru's,
    Can any one tell me how to send emails to the MRP controllers after running MRP? I would like to send the current inventory status and the ROP with the PR number.
    Please advice the user exit or the program to be used... i have no idea about ABAP, it will usefull to talk with my ABAP team frnds.
    Regards,
    Kumara

    You can send the stock requirement list to the MRP controller using the workflow.
    SAP already have defined the workflow in the system so you just need to activate that in the transaciton
    MDDISPONENT.
    For ROP - The user can see the ROP on the stocl list it self by expanding the header details screen on MD04 and PR he/she can see on the Stock requirement list (MD04)
    so basically if you activate this workflow your user will see all the information you have asked here.

  • Planner order - change MRP controller

    Hi PP Guru
    Can I change value in field "MRP controller" when i manual create planned order, MD11 ?
    MRP controller is copied from the material master when the material number is checked, but can i change it to another ?
    In Prod.Order field "MRP Controller" is editable
    In Purch.Req. field "MRP Controller" is editable
    In Planned Order field "MRP Controller" is NOT editable.
    Thanks.

    Hi,
    It depends upon your authorisation profile. Normally MRP run, Planned order creation authorisation is given for the MRP controller only. Because MRP controller is the person responsible to plan that particular material. So with out his knowledge you cannot create the planned order.
    Regards,
    V. Suresh

  • Viewing the mrp run output based on mrp groups

    Hi, please advise how to view the mrp run result based on mrp groups? also advise how to run mrp on the basis of mrp groups?
    thanks.

    Hi,
    Can you use MRP Controller instead MRP Group. Because you have option to view MRP result by MRP Controller in MD05.
    And you can execute MRP based on MRP Contoller by using user exit M61X0001 in MD01.
    Regards,
    Vishal

  • Inventory report for the selection of requisitioner and MRP controller

    Hello Experts,
                           Can someone please help me with a standard  Inventory report in which we can give input thr requistioner and MRP controller
    regards,
    YK

    Hi,
    You will get the requisition no. from EKKO (provided PO has been created otherwise you won't get any record). Find out PO & item no. for the requisition item. Then you can check EKBE table whether GR has been posted or not. If GR has not been posted then there won't be entry in EKBE for that PO & item.
    Regards,
    Rakesh

  • Creating Planned orders and Requisitions for a particular MRP controller and for all the others only Requisition is to be created.

    Hi Experts,
    Currently we run Program 'RMMRP000' as a batch job to create Planned orders and requisitions.
    The client wants that Planned orders and Requisitions should be created for a particular MRP controller and for all the others only Requisition is to be created.
    I implemented Exit 'EXIT_SAPMM61X_001' in the following manner by passing MRP controller to user_key.
      IF mt61d-dispo <> user_key.
        no_planning = 'X'.
      ENDIF.
    But as you can see that this will not meet my client requirement.
    If any of you has worked on similar requirement / if any one knows that this is achievable or not,
    please share your inputs.

    Moved from SAP ERP Sales and Distribution (SAP SD) to ABAP Development
    G. Lakshmipathi

  • How to check the authorization based on webdynpro application

    Hi Experts,
    I was asked to develop a webdynpro component with two webdynpro applications, one each for internal party and external party to be used.
    So how to restrict or check the authorization based on webdynpro application used?
    Do we have any authorization object like S_TCODE for webdynpro application in roles and authorizations?
    Please enlighten me.
    Regards,
    Ajay Matam

    You can assign an authorization object to the Web Dynpro Application within SICF -
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/61/d93822a88e15489a9391f309767366/frameset.htm
    Of course you could also programatically check which web dynpro application is being used from within the component and then call a custom auth-check. However maintain at the SICF is probably better for visibilty and long term maintenance costs.

  • OAM - Authorization based on the authentication method

    We are using OAM 10g for a customer to protect a large number of web application. In order to access those applications a user can chose from several authentication methods (e.g. client certificate, SecureId and mobile TAN). All applications use the same cookie domain and OAM provides SSO to the user. The customer now wants to define access rules for each of the applications based on the chosen authentication method.
    In other words, he wants to have the flexibility to define rules such as the following:
    Application A: Only accessible with client certificates
    Application B: Only accessible with mobile TAN
    Application D: Only accessible with SecureId or mobile TAN
    Application E: Accessible with any authentication method
    In order to implement this with OAM we would have assign each authentication method a different authentication level and define authorization rules that depend on those authentication levels (maybe using a custom authorization plug-in). According to the OAM documentation it doesn't seem possible to reference the authentication level in a authorization rule.
    Does anyone know a way to implement these requirements.
    Any help is appreciated.
    Best regards,
    Donat

    This is how I think we can do this.
    Write Authentication plug-in which adds which authentication scheme was used to login to the application in one of the multivalued attribute in OID. Write Authorization plug-in also which checks this value and makes authentication decision.
    One more approach is, Create as many attributes in OID as number of authentication schemes you have. Each of them is a flag representing whether user is logged in with the authentication scheme or not. When user authenticates using an authentication scheme, turn on that flag. Also flush access server user profiles cache. In the authorization rule, use this flag to make authorization decisions. Using this approach, you do not have to write authorization plugin but this may not be scalable approach as you might have to create a new attribute in OID when new authentication scheme is added.
    You can also keep this information somewhere in database or flat file and use that information in authentication and authorization plugin.
    I hope one of this solutions will help you.
    Thanks
    Kiran Thakkar

Maybe you are looking for

  • Adobe reader xi installing error 1303

    Hi, if i try to install it, i get that message: Error 1303. The installer has insufficient privileges to access this directory on c:\program files, also  after some reboots or in  boot in safe mode, i'm able to install it, but it refuse to open any p

  • HP LaserJet Pro 200 Color MFP M276n: not enough Memory

    Hi, my new M276n printer has memory problems. Print jobs above two pages are being stopped with a "not enough memory" notification. I searched this forum and found a "temporary" fix (reset printer to default settings) and a mysteriously missing Step

  • HT4736 can't make a copy of photo

    Recently (I think) unable to copy a photo in photos file.

  • Mac battery not working

    Hey guys, for some reason my battery isn't working. It doesn't say to replace and it has a very low cycle count... Here are the stats Battery Information:   Model Information:   Manufacturer:    SMP   Device Name:    ASMB016   Pack Lot Code:    0000

  • Bloqueo con codigo

    si pierdo mi iphone 4 o me lo roban y tengo activado el bloqueo con codigo, pueden saltearlo y acceder a mis datos? Porque en you tube vi videos que pueden realizar llamadas y e inclusive cambiar mis contactos. eso no me preocupa tanto pero si que te