on 2011 Mar 07 12:45 PM
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 !
Solved. The field you must to use is GOITEM-GLOBAL_COUNTER.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
7 | |
6 | |
6 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.