Wednesday 3 July 2024

Full screen list in Maintenance Views

Introduction


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.

Full screen list in Maintenance Views

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

Full screen list in Maintenance Views

◉ FLDS_TO_CONT - here a new position for the Maintenance View list buttons has to be provided

   ◉ For NAME = VIM_POSI_PUSH

Full screen list in Maintenance Views

◉ For NAME = VIM_POSITION_INFO

Full screen list in Maintenance Views

◉ CONT - last but not least, the new size for the table with the records

Full screen list in Maintenance Views

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:

Full screen list in Maintenance Views

Modified:

Full screen list in Maintenance Views

No comments:

Post a Comment