Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Block transfer posting on reserved material

0 Kudos
1,434

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.

5 REPLIES 5
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Kudos
1,372

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

Read only

0 Kudos
1,372

My query is that user can not perform transfer posting once material is reserved against process order.

Read only

1,372

mshaheryarusmani14 My response is exactly to your query - you can achieve what you need with dynamic availability check.

Read only

0 Kudos
1,372

Can you help me out further more because there are many options there I am confusing...

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Kudos
1,372

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

  • include safety stock
  • exclude any future supplies
  • include requirements, at least reservations

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