Skip to Content
0
Former Member
Nov 08, 2005 at 07:37 PM

need help on MIGO BADI !!

65 Views

Hi,

My requirement is as follows:

Once when the user does a Goods Issue in MIGO transaction, a screen should popup asking for an extra field, for example, tax jurisdiction. This field will have the values populated from another table.

When the user selects it, the selected value and the material document number is stored in a custom table.

I have created a BADI for this called ZMB_MIGO_BADI implementing MB_MIGO_BADI. So my interface name is IF_EX_MB_MIGO_BADI and my implementation class name is ZCL_IM_MB_MIGO_BADI.

In the PBO_HEADER method, I have included the statement to invoke the subscreen displaying the tax jurisdiction field. Code goes like this..

e_cprog = 'ZMIGOTXJURIS'. ( my screen program name )

e_dynnr = '9100'. (screen number)

e_heading = 'Tax Jurisdiction selection'.

i have saved, checked for syntax error and activated this BADI.

But when i finally post my data in MIGO i dont get any screen popped up !!

What could be wrong ?? Is my BADI being called ??

Am i missing any step ??

for the rest of the methods, i have copied the sample code from mb_migo_badi. am i right in doing this ??

please help.

thanks