09-30-2008 11:03 AM
Hi,
I have created a custom tab in the PO item level using the badi "ME_GUI_PO_CUST". My custom fields in the custom tab are editable in the creation and change mode, while non-editable in the display mode as per my desire.
The problem is when I am saving some changes in the PO, after this all standard fields were becoming non-editable but my custom fields in the custom tab were in the editable mode. I want custom fields also to be in non-editable, once I saved from ME22N tcode.
Please help me out.
Best Regards,
Gopi
Edited by: Gopi Ramasamy on Sep 30, 2008 3:36 PM
09-30-2008 11:10 AM
at the time of saving, make the screen field property to inactive.
09-30-2008 11:22 AM
Based on the SY-UCOMM you need to make the screen fields display only. in the PBO of your screen loop at screen and modify if the sy-ucomm is Save function. (make sure the Display option also working properly).
11-11-2008 4:39 PM
Hi Gopi, I have the same problem, did you found the solution??, because I tried using the pbo, pai and the sy-ucomm but it doesn't work fine. I think, I need the global status or something like that.
Thanks,
Tatiana
11-12-2009 2:59 PM
06-26-2011 2:12 PM
In method
IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_HEADER
call method is_changeable from data model
DATA: xv_changeable TYPE mmpur_bool.
xv_changeable = im_header->is_changeable( ).
based on value of xv_changeable i.e. 'X' or space.
set
ch_fieldselection-fieldstatus = '+ . * -'
'-' -> Hide / Inactive
'*' -> Display only
'+' -> Change
06-27-2011 5:31 PM