Skip to Content
Author's profile photo Sajid Shaik

MIGO Default Quantity to be Zero

One of my Client wanted “During MIGO (GR with reference to PO), the default Quantity should be Zero; Instead of Open PO Quantity”.

So I searched SDN but I could not get an answer.

Hence thought of posting this document, so that it would be useful to someone with the same requirement.

For this we need to use BADI – MB_MIGO_BADI

Create a BADI as shown below

1.JPG

Double Click on the Class and in the Attributes, create as shown below.

2.JPG

ZMM_MIGO_BADI_T is a table type with the following structure.

3.JPG

Now write the following code in the BADI Methods.

/wp-content/uploads/2016/06/4_974337.jpg

Output Before Implementing BADI

/wp-content/uploads/2016/06/5_974351.jpg

Output After Implementing BADI

/wp-content/uploads/2016/06/5_974351.jpg

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.