Application Development 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: 

Introduce new primary key, enable to upd table via Customized view

Former Member
0 Kudos

Hi Guru,

I need to add new primary key in z table, where this z table having the customized view. Data maintanance created via this view.

After introducing new primary view and activate the table status, I m not able to amend z table content via customized view(SM30). Do I need to further re-generate the view screen ?

Can help me on this, many thanks.

4 REPLIES 4

former_member272911
Participant
0 Kudos

Hi ,

Do you want to delete the existing data?

Thanks

Kamath

Former Member
0 Kudos

Thanks for your quick response. No, I need to maintain existing data.

0 Kudos

Hi ,

When ever you add a field to table , you have to regenerate the view there will be no data loss, however u are saying that

u added a key field for this i am not sure.Test in the dev environment by creating a test table.

Ram.

Former Member
0 Kudos

Hi,

You should regenerate the view once the related table structure is changed.

Please regenerate the view and there will be no issue, since the view doesn't have any data physically.

Only during run time, it will fetch the data from the related table or the data maintenance will be done.

Regards,

Selva K.