I wrote this article for this post : http://scn.sap.com/docs/DOC-48185

Maintenance screen is generated screen and changing source code or screen elements of SM30 screen can be harmfull.

There is Maintenance View ( TAW course explain view type ), you can change screen elements attribute with this view.

Thanks to Chandra Shekhar Agarwal remind me help link : Maintenance Views – ABAP Dictionary – SAP Library

Here I gave a example for hiding or making field read only etc.

First we create ZVIEW type Maintenance View

Create.JPG

Now we choose table, ( if we deal with more than 1 table we can add with key relations )

View1.JPG

Adding fields and changing its attribute

View2.JPG

And F1 for Field “P”:

Help.JPG

Last words:

Yes we can change generated objects ( Z objects ). But if there is a way without changing it, please use this way.

Regards

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Hai Wang

    Not too bad, Acturally the material that you privied is essential skills and knowleged need to know as ABAP consultant. It’s good to share this to someone who haven’t taken any trainning course yet.

    (0) 
  2. Kiran K

    Tolga Polat,

    Nice info.May be a follow-on document on when one should go for a Maintenance View and when for a Table Maintenance Generator, listing the pros & cons of each will let the users get a complete picture.Thanks.

    K.Kiran.

    (0) 

Leave a Reply