Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to call one screen in BADI MB_MIGO_BADI

Former Member
0 Kudos

I am creating a screen,i want to call that screen in my badi MB_MIGO_BADI.How to implement this?

3 REPLIES 3

Former Member
0 Kudos

hi expert,

you just find the screen where u want to display your screen,then from exit mb_mio_badi put the breakpoint and check for proper place and than on that particular screen put your screen...

and then activate and save it...

and check this throught proper t-code..

reward points if useful...

Former Member
0 Kudos

Look at the example implementation of this BADI, copy this implementation to z namespace , there is a method pbo_detail and PAI_DETAIL in this method there is a coding in which there is the call to the external screen like this

if g_no_input is initial.

e_cprog = 'SAPLMIGO_BADI_EXAMPLE'.

e_dynnr = '0001'. "External fields: Input

e_heading = 'MIGO BAdI Example'(004).

else.

e_cprog = 'SAPLMIGO_BADI_EXAMPLE'.

e_dynnr = '0002'. "External fields: Display

e_heading = 'MIGO BAdI EXAMPLE'(004).

endif.

you can create your own screen and replace the above variables with your screen name and program name.

i hope you got my point

regards

Tabish

0 Kudos

Hi Tabish,

Your reply to my question is resolving my problem,i have added the tabstrip to the migo and have done the further changes