Quantcast
Viewing latest article 4
Browse Latest Browse All 935

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

 

Image may be NSFW.
Clik here to view.
1.JPG

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

 

Image may be NSFW.
Clik here to view.
2.JPG

ZMM_MIGO_BADI_T is a table type with the following structure.

 

Image may be NSFW.
Clik here to view.
3.JPG

Now write the following code in the BADI Methods.

 

Image may be NSFW.
Clik here to view.
4.jpg

Output Before Implementing BADI

 

Image may be NSFW.
Clik here to view.
5.jpg

 

Output After Implementing BADI

 

Image may be NSFW.
Clik here to view.
5.jpg


Viewing latest article 4
Browse Latest Browse All 935

Trending Articles



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