cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically generated table maintenance dialog is corrupt

mathieu_l1
Participant
0 Kudos

I've created 3 tables, and 3 corresponding views, then I've generated a maintenance dialog in SE11 Utilities > Table Maintenance Generator for each of these views using the following settings:

The message "Request completed successfully" appears but the generated dialogs are unusable and seem corrupt. This is how it looks in screen painter:

I've deleted and re-generated them again several times.

If I go to SM30 and maintain the independent view, a dialog will ask to provide values for key fields:

If I enter values and proceed, the maintenance view looks like this:

A correctly generated maintenance view should look like this:

Below is a screenshot of the view fields: notice the maintenance fields 'S' for the key fields. If I remove these maintenance fields, the view is generated correctly. However, maintenance flags are needed for correct operation of the view cluster maintenance.

When I've tried activating a cluster view on these 3 views I got the following error:

Error while modifying dynpro SAPLZ...

Message no. SV597

Diagnosis

The flow logic of the screen SAPLZMM01_FUNCGRP
0001 is not that of a generated view maintenance list screen. Either the screen has been considerably modified manually, or the view which it is based on has no maintainable key.

System Response

The screen has not been modified.

Procedure

Make the view cluster maintenance screen modifications required manually on the screen. See the transaction 'Generate table maintenance dialog' application help for the modifications required.

I followed note 2178069 but it didn't help. Regenerating each view in Expert mode checking every checkbox didn't help either.

Please help. How to delete this dialog entirely and regenerate it correctly ?

Accepted Solutions (1)

Accepted Solutions (1)

RAF
Active Contributor

Hi,

please try to switch to expert mode for regeneration.

If you have 3 views you will have 3 view maintenance.

Please provide more information why your view maintenance shown in your screenshot is not usable

mathieu_l1
Participant
0 Kudos

Hi,

I've updated my first post. I tried regenerating the views in expert mode, (checking all boxes) but it didn't help. The difference between the incorrect maintenance dialogs and a valid correct maintenance dialog is that the valid one looks like a table, while mines only show one blank field (see screenshots). If I remove maintenance fields 'S' from the view fields, the maintenance dialog is now correctly generated, but this maintenance field is necessary for view cluster operation.

RAF
Active Contributor
mathieu_l1
Participant

OK this is the solution: in the view fields tab (SE11), maintenance 'S' flags should be set for at most all key fields minus one (and never for the client field if you have one), as shown in your second link.

Edit: the rule seems to be that 'S' fields should be set only on view fields (SE11) that exist in a parent view of the hierarchy defined in the view cluster (SE54). If not done properly, the view cluster can't be activated.

I can't thank you enough ! I've spent so much time on this problem.

Answers (0)