‎2009 Apr 24 8:29 AM
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.
‎2009 Apr 24 8:33 AM
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.
‎2009 Apr 24 8:36 AM
u can add ur new field to the existing view and regenerate it in SM30.
‎2009 Apr 24 8:41 AM
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,
‎2009 Apr 24 8:59 AM
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.