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

Adding new fields to a view

soumya_jose3
Active Contributor
0 Likes
6,780

Hi,

I have to add a new field to a maintanence view through se11.

A new field is added to a table on which the view ZTEST is created. In order to add this additional field to the view ZTEST, can i directly add this field to the view ZTEST or do i need to delete the existing view and create it again???

Thanks & Regards,

Soumya.

4 REPLIES 4
Read only

Former Member
0 Likes
2,542

When you activate the view, the data is regenerated, but you don´t have any information in the view, the original data is in the main tables.

Read only

Former Member
0 Likes
2,542

u can add ur new field to the existing view and regenerate it in SM30.

Read only

Former Member
0 Likes
2,542

Hi soumya,

Please Go to Setting->Table Maintenance generator.

Delete the existing View and recreate the view , you will get the new field in view.

Regards,

Read only

Former Member
2,542

Hello Soumya

Please follow the below mentioned steps to add the new field to your view and also regenerate the

view maintenance screen.

Adding field to the Maintenance view:

1. Go to SE11.

2. Select 'View', enter ZTEST in the textfield and press 'Change'.

3. Go to 'View Flds' tab.

4. Here, add the new field to be added by directly entering View field, Table, Field (Table) or by using button 'Table fields' where you have to mark the checkbox for the newly added field.

5. Press 'Enter' and activate the view.

Next, Adding field to the View maintenance screen:

6. Go to Utilities -> Table maintenance generator.

7. Press 'Change'(Shortcut key - F7).

8. In the popup, select the checkbox 'New field/sec. table in structure' and press 'Enter'.

9. In the next popup, select the checkbox 'Normal field' and press 'Enter'.

After following the above steps, you need to check the following:

1. Check the Flow Logic of the newly re-generated screen for any missing code added on top of generated code. You can do this check using version management of the screen (Utilities -> Versions -> Version management).

2. Also check the layout of the re-generated screen and adjust them if necessary.

Hope this solves your problem.

Thanks and best regards

Anand.