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

update data element in persistent class

Former Member
0 Likes
1,389

Hi there,

I have a DDIC-table, of which I generated a persistent class.

Now I have to change a data type/ data element of a table field. If I go to the persistent class, the data type is still the "old" one.

Is it possible to update the attributes of the class on the basis of the renewed table - or I have to delete this attribute out of the class and add it again afterward!?

Thanks,

Andreas

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,037

Hello Andreas,

or I have to delete this attribute out of the class and add it again afterward!?

You just need to delete the field from the OR (persistence mapping) and then add the field back. This should do it for you.

And a function like "regeneration" I couldn't find in the persistence peresentation mode

There is no such option for the OR mapping. You have to do it manually.

BR,

Suhas

4 REPLIES 4
Read only

Former Member
0 Likes
1,037

Hi,

     Did you try regenerating/re-activating the class after the change?

Hope this helps,

~Athreya

Read only

0 Likes
1,037

Yes, I tried reactivating. And a function like "regeneration" I couldn't find in the persistence peresentation mode..

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,038

Hello Andreas,

or I have to delete this attribute out of the class and add it again afterward!?

You just need to delete the field from the OR (persistence mapping) and then add the field back. This should do it for you.

And a function like "regeneration" I couldn't find in the persistence peresentation mode

There is no such option for the OR mapping. You have to do it manually.

BR,

Suhas

Read only

Former Member
0 Likes
1,037

Yes, thanks. I did it like this..