‎2010 Jan 21 11:51 AM
Hi Forum,
I added a custom field in purchase order and contracts ( ME21N and ME31K) using the enhancement 'MM06E005'.
My problem is the same field is appearing in ME21 and ME31 also..
I want to hide this field for ME21 and ME31 transactions. In PBO of screen exit, i tried the following code
if sy-tcode = 'ME21'.
loop at screen.
if screen-name = 'Custom_field'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
It is still displaying the field..
Please help me out how to proceed..
Thanks
Mallika
‎2010 Jan 21 12:00 PM
‎2010 Jan 21 12:06 PM
thanks for the reply..but it is not due to incorrect/case mismatch..
‎2010 Jan 21 12:09 PM
Did you debug and check.
Check the values in SCREEN, where it doesnt satisfy the condition.