cancel
Showing results for 
Search instead for 
Did you mean: 

MB_MIGO_BADI problem with i_line_id

Former Member
0 Kudos
235

Hi all,

I've added a new Tab in MIGO using the badi MB_MIGO_BADI. This tab should only be displayed for lines with the EBELN field filled.

In creation or modification mode is working fine, but i'm having problems with Visualization mode (A04).

I have an attribute in the class as table with all the lines called gt_extdata, I'm filling this table in the method LINE_MODIFY. In this method i have all what i need.

The problem is that in Visualization mode this method is not triggered. So I'm using the method PUBLISH_MATERIAL_ITEM for fill the table in visualization mode. But in this method i haven't the attribute I_LINE_ID, so i'm filling the field in the table with the field LS_GOITEM-ZEILE.

But this is wrong, in the method PBO_DETAIL, where I'm calling the tab or not, the parameter I_LINE_ID have other value and in this method i haven't the data of GOITEM table...

Do you know how can I do it?

Thanks in advance !

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved. The field you must to use is GOITEM-GLOBAL_COUNTER.