on 08-22-2011 12:02 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.