cancel
Showing results for 
Search instead for 
Did you mean: 

Disallow manual PR for MRP controlled items

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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