cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

way to Limit Material delivery by state

FA131
Discoverer
0 Kudos
206

Hello,


I have order coming in through EDI. i want to save sales order but want to block ship to party (by State) for particular material. I tried VB01 (B001) but it is not allowing to save sales order. (VA01) it only shows material exclusion error. i want sales order to block not fail

If I have EDI orders (Z***) coming in, I cannot have the sales order not come into SAP, it has to come in with a  block for Material not allowed to ship

I also have sales order type activated for material exclusion.

Please advise if there is a way.

Accepted Solutions (0)

Answers (2)

Answers (2)

jignesh_mehta3
Active Contributor
0 Kudos

You can create a Z-Table which contains the Keys of the States and Material Number. 

Then a a few lines of Codes in Sales Order User Exit (MV45AFZZ) can set the Delivery block if the Ship to State and Material Code matches (in the Z-table)... 

Thanks, 

Lakshmipathi
SAP Champion
SAP Champion
0 Kudos

You can make use of E1EDK01-LIFSK from ORDERS01 where pass the data with some Delivery Block