‎2007 Dec 12 8:18 AM
Hai all,
I created PO item custom screen with fields using ME_GUI_PO_CUST
ME_PROCESS_PO_CUST Badi's and i used the following methods IF_EX_ME_GUI_PO_CUST~SUBSCRIBE,
IF_EX_ME_GUI_PO_CUST~MAP_DYNPRO_FIELDS.
IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.
My Problem is when i execute transaction ME23N or ME22N Fields which are in PO Item Custom Screen only in change mode.
Can Any one help me what is the process when i execute ME23N transaction the fields are in display mode and
when i execute ME22N the fields are in change mode .
Is available any BADI. Please Help me.
Thanks,
Nagaraju.
‎2007 Dec 12 8:22 AM
hi Naga,
you have to play with LOOP AT screen:
LOOP AT screen.
CASE sy-tcode.
WHEN 'ME22N'.
screen-input = '1'. ==> this will set to change
WHEN 'ME23N'.
screen-input = '0'. ==> this will set to display
ENDCASE.
MODIFY screen.
ENDLOOP.
‎2007 Dec 12 8:22 AM
hi Naga,
you have to play with LOOP AT screen:
LOOP AT screen.
CASE sy-tcode.
WHEN 'ME22N'.
screen-input = '1'. ==> this will set to change
WHEN 'ME23N'.
screen-input = '0'. ==> this will set to display
ENDCASE.
MODIFY screen.
ENDLOOP.
‎2007 Dec 12 8:24 AM
‎2007 Dec 12 8:26 AM
‎2007 Dec 12 8:35 AM