Activate error message to restrict user to post GR if the PO is having delivery completion indicator checked in MIGO

 

1.Created Custom Enhancement Implementation 'ZEI_MM_DELIVERY_INDICATO' and BADI Implementation in Standard BADI Definition 'MB_GOODSMOVEMENT_DCI' of Enhancement SPOT 'MB_GOODSMOVEMENT'.

2. Activate error message to restrict user to post GR if the PO is having delivery completion indicator ticked.

Class: ZCL_MM_NPM_PO_DCI_INDICATOR

Method: IF_EX_MB_GOODSMOVEMENT_DCI~SET_DCI

1.Created Custom Enhancement Implementation 'ZEI_MM_DELIVERY_INDICATO' and BADI Implementation in Standard BADI Definition 'MB_GOODSMOVEMENT_DCI' of Enhancement SPOT 'MB_GOODSMOVEMENT'.

 

2. Created Class 'ZCL_MM_NPM_PO_DCI_INDICATOR'   and called

interfaces 'IF_BADI_INTERFACE' and 'IF_EX_MB_GOODSMOVEMENT_DCI'

and method 'IF_EX_MB_GOODSMOVEMENT_DCI~SET_DCI'

 

 

 In customizing transaction OMCQ, set message M7 433 as 'E'.

Message type: E = Error

Message class: M7 - Inventory Management and Physical Inventory

Message number: 433

Message text: The "delivery completed" indicator is set for the purchase order item


Comments

Popular posts from this blog

CDS Views: Table Functions with Example

Passing Dynamic Variables to SO10 TEXT

Adobe Form/PDF Form Introduction