2012 Aug 24 10:24 PM
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.
2012 Aug 27 1:48 PM
2012 Aug 28 2:24 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |