2022 Jul 13 11:15 AM
Dear Abapers,
I want to stop material from being transferred if the material has a reserved quantity. However, I have found BADI for it "MB_MIGO_BADI" and found interface POST_DOCUMENT. But now I am confused about what to do with the parameters. The reserved quantity field name is "BDMNG" but doesn't exist in MSEG or MKPF.
Logic: IF BDMNG > 0.
ERROR MESSAGE and BLOCK TRANSFER BUTTON.
ENDIF.

2022 Jul 13 11:45 AM
Hello mshaheryarusmani14
You don't need to implement any enhancements to get the required functionality. What you need is dynamic availability check during goods movements - see SAP Help Availability Check
The functionality is customized in IMG: Materials Management -> Inventory Management and Physical Inventory -> Goods Issue / Transfer Postings -> Configure Scope of Availability Check
Best regards
Dominik Tylczynski
2022 Jul 13 12:31 PM
My query is that user can not perform transfer posting once material is reserved against process order.
2022 Jul 13 12:34 PM
2022 Jul 13 1:20 PM
Can you help me out further more because there are many options there I am confusing...
2022 Jul 13 1:55 PM
mshaheryarusmani14
The configuration path leads to the following 4 entries:

In the 1st one you need to active dynamic availability check for chosen movement types:

The 2nd and the 3rd define ATP scope:

Here you define what element you want to take into account during ATP check. I guess in you situation you want to
Finally you need to assign the checking rule to transaction e.g. MIGO_TR and MB1B for transfers.
Also make sure to assign ATP checking group to material master.
Best regards
Dominik Tylczynski