Restricting PIR consumption based on custom Order Type
We have implemented BADI MD_PIR_FLEX_CONS in our system ( Version 4.7 )so that we can restrict the consumption of Order Reservations.
For this we have added code as per OSS Notes# 608760 and 127370 for the BADI Interface.
We have included MRP Element "AR" so that consumption can happen for the order reservations.
The BADI is restricting consumption of PIR now for the order reservations, but now we want to restrict the Consumption of independent requirement only against reservation generated by customized Order type ( Say ZXXX ).
Does this functionality exist for this BADI? If yes,then how can we implement this?