Application Development and Automation 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: 
Read only

MIGO custom screen

Former Member
0 Likes
847

Hello ABAP gurus,

I have a requirement of extending MIGO screen at item detail level.

I have implemented interface for MB_MIGO_BADI.

Now from method PBO_DETAIL -> I'm calling my subscreen that has all custom fields I need. (this custom screen is developed under stand alone program).

But any of the other methods I'm unable to access internal table GOITEM for corresponding item# for details.

I like to access GOITEM internal table within below methods.

IF_EX_MB_MIGO_BADI~PBO_DETAIL

IF_EX_MB_MIGO_BADI~PAI_DETAIL

Any idea to access this internal table within any methods will be very helpful.

Thanks in Advance.

Hello ABAP gurus,

I have a requirement of extending MIGO screen at item detail level.

I have implemented interface for MB_MIGO_BADI.

Now from method PBO_DETAIL -> I'm calling my subscreen that has all custom fields I need. (this custom screen is developed under stand alone program).

But any of the other methods I'm unable to access internal table GOITEM for corresponding item# for details.

I like to access GOITEM internal table within below methods.

IF_EX_MB_MIGO_BADI~PBO_DETAIL

IF_EX_MB_MIGO_BADI~PAI_DETAIL

Any idea to access this internal table within any methods will be very helpful.

Thanks in Advance.

2 REPLIES 2
Read only

Former Member
0 Likes
666

Is my problem understandable ? Any ideas?

Read only

0 Likes
666

I found solution... yay !!

using method IF_EX_MB_MIGO_BADI~LINE_MODIFY, where I can access CS_GOITEM. On creation of MIGO this method gets call for all line item initially. So I call custom function module( developed under same function group's global data where my sub screen coded) to read line item details & store in it_go_item internal table.

Now in PBO / PAI of sub screen I can use it_go_item[] (as it's available in global data).

So this way I even avoided import/export of CS_GOITEM.

Thanks to below link for this idea.

Reference link:

<link to pesky ads and interview questions site removed by moderator>

Cheers,

Message was edited by: Thomas Zloch