03-02-2012 1:37 PM
Hi Experts,
I need help.
I have created one custom field in the transaction ME21n/ME22n/ME23n under customer data 2 tab. But my problem is the field is always in enable (means editable only) even in Display mode. How to make the field is non editable in display mode and editable in change mode.
I have tried by putting some logic to make that field to change alternatively according to change/display button. And it is working fine but if we click any othe button , this field is becoming editable even in display mode.
How to make this field to behave as standard fields?
Please reply me <removed by moderator>
Thank you in advance.
Best Regards,
Divakar.
Edited by: Thomas Zloch on Mar 2, 2012
03-02-2012 1:56 PM
Hi Divakar.
Have you tryied change the field characteristic on loop at screen in PBO?
03-02-2012 1:56 PM
Hi Divakar.
Have you tryied change the field characteristic on loop at screen in PBO?
03-02-2012 1:58 PM
Hi,
Please use the below link.
<removed by moderator>
Moderator message: please don't post just link(s) without explaining the relevance.
Edited by: Thomas Zloch on Mar 2, 2012
03-02-2012 2:55 PM
If you have BADI implimented for custom tabs then you can do this in method ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM
lv_changeable = im_header->is_changeable( ).
LOOP AT ch_fieldselection ASSIGNING <fs>
IF lv_changeable IS INITIAL.
<fs>-fieldstatus = '*'. " Display
ELSE.
<fs>-fieldstatus = '+'. " Change
ENDIF.
endloop.
02-08-2022 8:52 PM