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

How to block Gr if the stock reaches the maximum limits

Former Member
0 Likes
822

Dear All,

Is there any way so that the system will automatically Block the GR while doing MIGO when the stock of the given material has crossed the maximum limit.

Regards

Om Prakash Gupta

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Likes

Hi,

If you want to restrcit any specific material stock quantity, it means some where you need to maintain the Stock limit for that purpose you will have create a Z table whene in you will maintain sthe maximumstock limit and then with the help of user exit in PO or MIGO you can validate it with the Z Table stock . Z table for stock quantity can consider stock incremental aginst each PO and GR .

Take ABAPer's help

Regards,

Vikas

Victor_1998
Newcomer
0 Likes
Hi Vikas, Can yo elaborate more on this?
Former Member
0 Likes

Check block function in xk05 i.e. 03-block for quality reason and

check through mm02 - qm procurement active and qm control key 0009 i.e. -Goods Receipt Block, Invoice Release

Vijay

Former Member
0 Likes

Please explain further on the "LIMITS" you mean here.

Is it the PO quantity ?

Former Member
0 Likes

Hi,

Goto Tcode me22n select the line item, in line item delivery tab select the delivery complete

you can block the material

Former Member
0 Likes

What kind of limitation did you indicate?GR quantity?

Former Member
0 Likes

Hi,

Thanks for your instant response.

I want to know that the if my material stock quantity crosses the maximum stock limit it will not allow me to save the migo.

Regards

Om Prakash Gupta

raviraj_sharma
Active Contributor
0 Likes

Use MB_MIGO_ITEM_BADI . In the BADI you can check the GRN qty and validate with the curent stock and Max stock level. Then you can issue the error message . You can check the current stock in MARD table, and the Maximum stock level in MARC-MABST.

Logically , if in your system if you have your Lot size and MRP well cnfigured and implemented (system driven) this situation will not arise.

Former Member
0 Likes

Issue Resolved.

Thanks

Regards

OM