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: 

How to hide a field from table maintenance view?

Former Member
0 Kudos
1,721

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

7 REPLIES 7

Former Member
0 Kudos
204

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!

0 Kudos
204

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

0 Kudos
204

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

GauthamV
Active Contributor
0 Kudos
204

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

Former Member
0 Kudos
204

Hi Gautham,

The field will be displayed as *********.

I want to hide the field from display

Former Member
0 Kudos
204

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.

0 Kudos
204

Hi Mahalakshmi,

How to assign a maintenance attribute P to individual fields? I couldn't get it.

Thanks