Skip to Content
0
Former Member
Jun 11, 2013 at 01:07 PM

MB_MIGO_BADI - Screen communication in MIGO

66 Views

Hi experts,

I have the following situation: I need to make some custom modifications in the MIGO transaction and more particularly - under the Batch tab and the screen that pops up after the Classification button is pressed. So generally speaking, it is about applying custom logic to an existing tab and screen in MIGO.

For this purpose, I made an implementation of the classic BADI "MB_MIGO_BADI" with the interface IF_EX_MB_MIGO_BADI. Several of its methods are triggered when the Classifications button (in tab Batch) is pressed (attached picture 1), which is perfect for me to make custom calculations at this point and I save some values in a class attribute (table). Then, the purpose is to pass this data to the screen which is about to load.

My question is: how can I pass data from the BADI implementing class`s attribute to the desired fields on the subscreen, as described on attached picture 2 ? I have added the screen numbers and respective programs on the screenshot. I do not want to create new Z tabs or screens, neither to make modifications to SAP-standard code.

The component version is SAP ECC 6.0, SAP_BASIS Release 700

Attachments

2.jpg (97.5 kB)
1.jpg (14.2 kB)