Skip to Content
0
Jul 31, 2023 at 03:47 PM

Maintenance view activation - scary message "Key fields are not together at the beginning" (MC705)

77 Views Last edit Jul 31, 2023 at 04:36 PM 2 rev

Hello experts,

probably many people saw this information message (and probably did I, many years ago), but just today because of the message "Key fields are not together at the beginning of the view ... problems could occur ... you MUST store the key fields together at the beginning ..." (MC705), I wonder if there really can be any problem creating a maintenance view with non-key fields in the middle of key fields.

In my case, the non-key fields are just read-only fields which are the texts of the previous field (e.g. TXT50 is the text of HKONT).

I don't want to add all of them on the far right of the fields, it would be a little bit ugly.

I think I never had a problem doing that in the past, but do you think there can be one or any other suggestion?

I found nothing in the ABAP documentation: DDIC - Maintenance Views - ABAP Keyword Documentation (sap.com)

Thanks!

Sandra

image.png

image.png

image.png

image.png

Key fields are not together at the beginning of the view

Message No. MC705

Diagnosis

All the key fields of a maintenance view should be stored together at the beginning of the view.

If this is not the case, problems could occur when maintaining the view data with the standard maintenance transaction (transaction SM30).

The key is normally computed automatically for database views. If manual maintenance of the key flag was activated, you MUST store the key fields together at the beginning.

Procedure

Place all the key fields at the beginning of the view if you want to maintain the view data using the standard view maintenance transaction.

For information, this is how the dialog looks like, any input in G/L account or Document type will fill automatically the text:

image.png

Attachments

image.png (23.2 kB)
image.png (21.6 kB)
image.png (25.3 kB)
image.png (44.7 kB)
image.png (12.0 kB)