Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Generated table maintenance fields in alphabetic order

pokrakam
Active Contributor
0 Likes
532

Hello folks,

On a 4.7 system I have a generated table maintenance which shows the columns ordered alpabetically by dictionary field name (not by display name).

e.g. for a table with fields KEY1 KEY2 USER DUMMY ADDR, I have a generated view with columns:

| Key1 | Key2 | User | Test | Address |

when I test the generated view from SE80 it's correct. However when using SM30 I see:

| Address | Test | Key1 | Key2 | User |

This happens under my userid, tested one other where it's fine. I've deleted the generated maintenance view and recreated it. I can test the generated screen and it's fine. Only when using SM30/SM31 I get the above. In SM30, I can go to system->status->dblclick-navigate to screen and test and it's correct again.

There are multiple generated tables in the function group, only one table does this. I've logged off, even rebooted, deleted SapWorkdir contents. Gone through my user profile, deleted all parameters... nada.

Has anyone seen this?

TIA,

Mike

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
489

May be you have different table control settings in SM30

To check the table settings:

Open your table in SM30..

Click on the top-right icon of the table control to access the table settings.

Here you can set the basic settings, if it not set.

Basic settings shows the columns in the order as you have them in the SE80.

Regards,

Naimesh Patel

May be you have different table control settings in SM30

To check the table settings:

Open your table in SM30..

Click on the top-right icon of the table control to access the table settings.

Here you can set the basic settings, if it not set.

Basic settings shows the columns in the order as you have them in the SE80.

Regards,

Naimesh Patel

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
490

May be you have different table control settings in SM30

To check the table settings:

Open your table in SM30..

Click on the top-right icon of the table control to access the table settings.

Here you can set the basic settings, if it not set.

Basic settings shows the columns in the order as you have them in the SE80.

Regards,

Naimesh Patel

Read only

0 Likes
489

That was it, thanks!

The table setting was invalid. This caused it to simply order the fields alphabetically rather than revert to basic setting (not so good in my opinion, just cost me half a day).

How did it get invalid? I'm on a short assignment, they gave me a machine where Graphical screen painter didn't work so I created a custom settin temporarily to work with the table in SM30.

When I added a new field and regenerated in SE11, the variant became invalid and caused the above.

Thanks again.

Cheers,

Mike