01-04-2014 4:49 AM
Hi Experts,
I have a requirement for displaying Equipment Number field in MIGO screen. The Equipment Number is already present in the screen, but while displaying the Material document I am not getting display of Equipment Number field.
When debugging I am getting the value in GOITEM-EQUNR field, but it is not getting display in screen.
Anyone please help to display the field.
Thanks & Regards,
Venkat
01-04-2014 4:58 AM
Hi Venkatraman,
use transaction code: OMJX
and which field you want display, select display.
01-04-2014 5:46 AM
01-04-2014 5:51 AM
Hi
have you created this screen by any enhancement through BADI, or through screen exit
Anyhow, where should this screen appears, at header level or at item level.
01-04-2014 5:59 AM
No that is standard screen....Now I am trying with enhancement screen-exit BADI. So now I have added a new tab and I have added this field for display.
01-04-2014 6:16 AM
Hi Venkatraman,
have you activated your all stuff properly, please reactivate all your coding points,
starting frm end, or put a hard coded break point and see is your code gets triggered or not.
01-04-2014 6:21 AM
Yes Sanjeev I have activated properly.... my code getting triggered ....
I am displaying that field in separate tab, I am doing some validations for displaying the tab now...
01-04-2014 6:40 AM
Hi,
please add this code to your BADI
method IF_EX_MB_MIGO_BADI~LINE_MODIFY
if not GOITEM-EQUNR is initial.
flag = 'X'.
endif.
And in the PBO of the screen, please write these code logic to populate your field,
and import flag value here.
LOOP AT SCREEN.
IF SCREEN-NAME = 'name of screen'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
01-04-2014 7:15 AM
Yes Sanjeev I have given
method IF_EX_MB_MIGO_BADI~LINE_MODIFY
if not GOITEM-EQUNR is initial.
flag = 'X'.
endif
And let me know how to import the Flag value here ??
01-04-2014 7:25 AM
Hi,
just use , hoping your problem got resolved, any how check these code
IF FLAG = 'X'.
LOOP AT SCREEN.
IF SCREEN-NAME = 'name of screen'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
01-04-2014 7:50 AM
Venkat
What issue are you facing after addibgfield via BADI
Nabheet
01-04-2014 9:59 AM
Hi Venkat,
still if you are facing problem, then please reply it to Nabheet,
he has more experience , so he will definately sort your problem.