cancel
Showing results for 
Search instead for 
Did you mean: 

STO to allow if material blocked for Purchasing

former_member218071
Active Contributor
0 Kudos

Dear All,

I have blocked material for purchasing at plant level by selecting blocking indicator 01 at MRP1 view in Material Master.

So sytem doen nto allow me to create PR and PO.

Now while creating Stock transfer PO, system is giving me the message "The material is blocked for purchasing"

I want system to allow STO though material is blocked for purchasing. But should restrict while creating PO against supplier.

Is ther any way around ?

Regards,

Rakesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Remove the material status at plant level first then try with following options

Option 1:

1) In material master activate 'Source List'. Maintain required procurement type as F / Special procurement key as Stock Transfer.

2) Maintain the source list for the receiving plant with supplying plant as source.

3) In this case you will be able to create POs with stock transfer only.

option 2:

Implement badi ME_PROCESS_PO_CUST....here write a code that if document type (BSART) is not equal to your STO document type for planr (WERKS) XXXX then system should give a customized error...take help of your ABAP person and see if this works

Edited by: Raja Ramasamy on Apr 16, 2010 2:34 PM

Former Member
0 Kudos

go to system messages at SPRO: MM > purchasing > environment data > define attributes to system message.

go to the messasge and change the message category to "Warning"

Former Member
0 Kudos

yes that is possible but through enhancement

take help of Technical team

you need to create a Z table and then maintain the material number there so by doing this system will check like if the material number is there and in the PR / PO field vendor field is used then system will give an error message

Actually the idea is to make a check at the time of PR or PO that

if the material is avilable in table ZMATBLOCK and if vendor field is populated then system will throw error message that the material is blocked for supplier purchase