2008 Dec 09 7:04 AM
Hi,
How to hide a field from table maintenance view?
The field is used for data created date. I need to hide it from display.
Thanks
2008 Dec 09 7:07 AM
Hi!
If it is a custom table maintenance, then you will have to modify the table maintenance code to achieve this. For standard transactions you can try creating a screen variant using tcode SHD0.
Cheers!
2008 Dec 09 8:05 AM
Hi Anurag Agarwal,
The field will show as disabled when I modify the code in PBO module.
I created a module in PBO and insert the code as below:
LOOP AT SCREEN.
IF screen-name = 'ZZTABLE-FIELDNAME'.
screen-invisible = '1'.
modify screen.
ENDIF
ENDLOOP.
Correct me if i'm wrong. Thanks
2008 Dec 09 11:28 AM
Hi genji,
If u want to hide from the display
add this to ur code.
Loop at screen.
If screen-name eq ztablename-field.
screen-invisible = '1'.
screen-input = '0'.
screen-output = '0'.
modify screen.
endif..
endloop.
I think this will help u
Regards
kishore
Edited by: kishore kumar sukumar on Dec 9, 2008 12:29 PM
2008 Dec 09 7:09 AM
hi,
try this.
Goto the table maintanence genarator screen in change mode
then in menu path Environment->modification-->events
in this there is an event 21 ( fill hidden fields ).
2008 Dec 09 7:55 AM
Hi Gautham,
The field will be displayed as *********.
I want to hide the field from display
2008 Dec 09 7:10 AM
Chk this link.
http://help.sap.com/saphelp_nw04/helpdata/en/66/33f52010dd11d6999300508b5d5211/frameset.htm
Maintenance Attributes
You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be H (hidden)
H (hidden)
A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
The system writes R and H fields to the database like all other fields when a new data record is saved.
2008 Dec 09 7:53 AM
Hi Mahalakshmi,
How to assign a maintenance attribute P to individual fields? I couldn't get it.
Thanks