Skip to Content
author's profile photo Former Member
Former Member

Disallow manual PR for MRP controlled items

Dear All,

I have a requiremenet where the client needs that for items whose MRP type is "VB" , users should not be able to raise manual PR for the same. Wish to know if there is a standard configuration for the same or user exit is the only option.

Please confirm.

regards

MM

Edited by: SAPMM SAPMM on Aug 22, 2011 1:06 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2011 at 12:13 PM

    Hi

    This functionality can be achieved through BADI.

    Badi name: ME_CHECK_SOURC

    So in the badi you need to insert below code in the method : CHECK_DURING_STD_CHECK

    _______________________________________________________________________

    data: wmarc type marc

    if is_comim-matnr is not initial and is_comim-werks is not initial.

    Select single matnr werks dismm from marc into corresponding fields of wmarc

    Where matnr = is_comim-matnr and

    Werks = is_comim-werks.

    Endif.

    If wmarc-dismm EQ u2018VBu2019.

    Message:manual PR is not possible for the material:, is_comin-matnr.

    Exit

    Endif.

    _____________________________________________________________________

    Thanks

    JRP

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2011 at 11:13 AM

    you can create release strateagy and can block pr(T CODE ME54N) or block manual PR through authorization control.

    Object for the same is MM_E > M_BANF_BSA > ZB (Manual PR)

    Hope this will be helpful.

    Regards,

    Sandesh Sawant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2011 at 11:40 AM

    Hi,

    You can implement the BADi ME_PROCESS_REQ_CUST and for the method PROCESS_ITEM check if EBAN-MATNR is not initial and

    than

    check the value MARC-DISMM (equal to) VB( by passing the value of Material and plant in MARC table) .

    After this throw the error message if EBAN-ESTKZ= R.BADI should trigger only when these conditions are met.

    Further check with your ABAP resource for implementing this BADI.

    Regards

    Ankur

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.