guettli
guettli

Reputation: 27855

sm30: Set matching column heading

I created a table in SAP via se11, then I used the table maintenance generator.

Now I edit the table via sm30:

sm30-heading-wrong

The second and the third column: Both have the heading "Feldname".

I would like to see the column names which I gave the columns in se16 (COLUMN_NAME, AUTH_FIELD) in the heading.

How to prevent the table maintenance generator from giving other names in the headings?

Upvotes: 1

Views: 2640

Answers (2)

Florian
Florian

Reputation: 5071

Add custom data elements with suitable descriptions. Let the new data elements refer to the original ones (resp. the domains) to avoid having to reinvent everything.

  • Data element descriptions can be translated.
  • You can set different descriptions for different lengths, e.g. "Field" for the narrow column with length 10, and "Field name" for a wide label with length 30.
  • Regenerating the maintenance screen won't accidentally delete the changed descriptions.

Upvotes: 1

Dorad
Dorad

Reputation: 3713

Option 1 - use custom data elements:

Instead of using Fieldname and XUFIELD data elements, you can create your custom data elements and give them what header you would like.

(You will have to regenerate table maintenance)

Option 2 - editing screen

When generated the table maintenance, you supplied a function group and a screen number.

Go to SE80 -> Function Groups -> <function_group_supplied> -> screens -> <screen_supplied>. Then edit it as you want.

Note: Modifying a generated object is considered risky. Your customized changes might be overwritten in a future regeneration.

Upvotes: 5

Related Questions