Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
MateuszAdamus
Active Contributor
404

Introduction

Hi and welcome to my next SAP Community blog post.

With or without Fiori in the picture, Maintenance View is one of the main tools for maintaining SAP configuration. Reliable and easy to use, it is a proverbial workhorse.

However, since widescreen monitors became a standard, it has always been frustrating to me to see how much space is left unused (not to say wasted) in the list of a Maintenance View. The obvious solution was to modify the screen manually, but this was overwritten whenever a list was recreated.

Today, I will show you a way of making the Maintenance View list use as much space as possible, always.

Implementation

To achieve this, a modification has to be done to a standard SAP include responsible for creating the screen. The include is called MSVIMF21.

The list screen is created by a function call RPY_DYNPRO_INSERT in two places - line 167 and 226.

mateuszadamus_0-1719914191649.png

To have a list as wide as possible, the calls' parameters have to be modified - a new screen and list size has to be provided and buttons moved (to make the room for the bigger list). This can be achieved by modifying following parameters:

  • HEADER - here a new maximum size for the screen has to be provided
     
    mateuszadamus_2-1719914335787.png
  • FLDS_TO_CONT - here a new position for the Maintenance View list buttons has to be provided
    • For NAME = VIM_POSI_PUSH
      mateuszadamus_3-1719914427835.png
    • For NAME = VIM_POSITION_INFO
      mateuszadamus_5-1719914481434.png
  • CONT - last but not least, the new size for the table with the records
    To be precise, HEIGHT = 198 - LINE.
     
    mateuszadamus_1-1719914631918.png

After these changes are done, the new screen will be generated with a maximum size allowed and with resizing options checked (these are checked by default) - which makes the screen to be sized down in case of a lower resolution.

Summary

Thanks to this modification, a list screen of all Maintenance Views will use as much space as possible, making it easier to view and/or maintain configuration. The difference between the standard size and the modified size is clearly visible.

Standard:

mateuszadamus_0-1719915201616.png

Modified:

mateuszadamus_1-1719915242253.png

2 Comments
thomas_mller13
Participant
0 Kudos

Yes. Really nobody believes that SAP didn't realize that users have larger screens than 1995. It is a shame that this has not been changed by SAP for such a long time.  

MateuszAdamus
Active Contributor
0 Kudos

@thomas_mller13 I would also rather have it by standard, but at this point it is what it is. 

Labels in this area