2010 Aug 23 11:26 AM
Dear All,
In MIGO tcode, if field goitem-wempf is empty then i want to give error msg. But when I am using BADI "MB_MIGO_BADI" method "LINE_MODIFY" after user get error msg screen should allow him to change field. But in my case field get disable mode.
Please Advice the same.
2010 Aug 24 8:10 AM
IF ( sy-tcode EQ 'MIGO' ) AND goitem-wempf IS INITIAL.
LOOP AT SCREEN.
IF screen-name = 'goitem-wempf '.
screen-input = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Try this in your Badi.
Thank you.
Thanks,
AMS
2010 Aug 24 8:59 AM
A trick commonly used is to store data in memory in method LINE_MODIFY and re-import this data in CHECK_ITEM.
You could then raise a warning/status message in LINE_MODIFY at entry time, and an error message in CHECK_ITEM when saving/posting.
Regards,
Raymond