tcode me52n , to change table control fields attributes.
I have an issue that i have to make '/AFS/MEREQ_3330-MENGE' field as an output field only , in me52n item details screen. I have try it out with changing settings in screen painter , but it not works.
the sy-dynnr = 3330,
and field is '/AFS/MEREQ_3330-MENGE' .
than i look out code at module pbo, which i have coded below .
loop at tc_3330-cols into cols.
if cols-screen-name = '/AFS/MEREQ_3330-MENGE'. "Which is to be hidden
cols-screen-output = '1'.
cols-screen-input = '0'.
cols-screen-active = '1'.
modify tc_3330-cols from cols index sy-tabix.
But that also not worked ,
if i go with cols-screen-active = '0'. in above code , I am able to disable field '/AFS/MEREQ_3330-MENGE' , means i am able to hide field '/AFS/MEREQ_3330-MENGE' .
But as my need is to make it an output field only.
Please help me out.
Thanks a lot,
Edited by: jeet.chauhan on Jun 6, 2011 8:25 AM