I need to have custom tab with Fields, so used a Badi MB_MIGO_BADI with badi implementation name as ZMIGO_NEW_SCREEN and (Impl. migrates to enhancement ZEI_MIGO_NEW_SCREEN) and wrote the following code
PBO Detail
-
method IF_EX_MB_MIGO_BADI~PBO_DETAIL.
data : gf_class_id type migo_class_id.
data : g_no_input type xfeld.
data : g_line_id type goitem-global_counter.
data : gt_extdata type ty_t_extdata.
e_cprog = 'ZMIGOSCREEN'.
e_dynnr = '9099'.
e_heading = 'Custom Fields'.
endmethod.
PAI Detail
-
method IF_EX_MB_MIGO_BADI~PAI_DETAIL.
e_force_change = 'X'.
endmethod.
Line Modify
-
method IF_EX_MB_MIGO_BADI~LINE_MODIFY.
data flag Type c.
if not cs_goitem-mblnr is initial.
flag = 'X'.
endif.
endmethod.
And I created Module pool program with a subscreen type .
But when i take migo tcode the screen is not appearing...
Can anyone pls help me out...
Regards
Sajid