Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PO ITEM CUSTOM TAB - FIELDS (non editable)

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

at the time of saving, make the screen field property to inactive.

former_member188685
Active Contributor
0 Kudos

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).

tatiana_fetecua
Explorer
0 Kudos

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

0 Kudos

Hi ,

Let me know if you have resolved your issue.

Thanks

David

Former Member
0 Kudos

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

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

See this [post|;, as mrugesh phatak suggests you

Regards

Eduardo

Edited by: E_Hinojosa on Jun 27, 2011 6:33 PM