Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

MIGO Default Quantity to be Zero

$
0
0

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.

 

4.jpg

Output Before Implementing BADI

 

5.jpg

 

Output After Implementing BADI

 

5.jpg


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>