cancel
Showing results for 
Search instead for 
Did you mean: 

Block material from being sold from an specific plant

Former Member
0 Kudos

Hi.

We have some materials created in two plants ( 1 & 2 ). We want to block these materials from being sold from plant 1.

When we use this material in a sales order SAP checks the costumer plant and if it finds the material in this plant its used.

We want that user can't use these materials in sales orders when plant 1 is determinated, or avoid plant 1 determination for these materials.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear JM

the requirement is not clear plz eloberate

and

as per my understanding u maintained some materials in both plants,but u want to restrict sale of the materials from plant-1

if this is the case simply dont maintain stock in that plant.

Raj

Former Member
0 Kudos

Dear Raja,

I'll try to be more clear.

First of all, instead of being a good solution,  we don't use stock verification in sales order, so we can't aply your it.

We would like to avoid using a material from an especific plant in sales orders.

Ex.

We have material A created in plant 1 and in plant 2.

We want to block material A from being sold from plant 1

When we put this material A into a sales order, we don't want the plant 1 determined we want plant 2.

Another opcion, coud be the system gives an error message, forcing user to change plant to 2.

I hope to be more clear.... thanks

Former Member
0 Kudos

Dear JM,

you can use listing/exclusion concept,

take plant and material in table and assing table in acess -seq and assign a-seq to c-type,activate procedure by each doc-type,

finally maintain records in VB01.

Regards

raj

Shiva_Ram
Active Contributor
0 Kudos

As mentioned by the link provided by Lakshimipathi, try to use user exit USEREXIT_SOURCE_DETERMINATION in program MV45AFZB

Regards,

Former Member
0 Kudos

Dear Raja.

This seems a good idea. I'll check it.

Thanks

Lakshmipathi
Active Contributor
0 Kudos

First of all, I dont understand when stock should not be maintained in that plant, then what is the need to extend to that plant ?  Nevertheless, another simple solution you can try is block the material for that plant via MM06

G. Lakshmipathi

Former Member
0 Kudos

Dear JM,

if you dant wat to use that materials from in plant-1,

u can keep deletion flag in mm06 for all materials which u dont want to use in thae plant-1.

Raj.

Former Member
0 Kudos

The problem we have is that we  have created these materials in the wrong plant, and once you have created this materials in the wrong plant, you can't go back.

You have to create the materials in the right plant, but they are still created in the wrong plant.

But with  listing/exclusion concept we have find a good solution to this problem

Slds.

Former Member
0 Kudos

Thanks for the exit, is the last option we have....

regards

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Check this

G. Lakshmipathi