Skip to Content
author's profile photo Former Member
Former Member

update data element in persistent class

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 24, 2013 at 10:32 AM

    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


    Untitled.jpg (92.6 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 23, 2013 at 12:12 PM

    Hi,

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

    Hope this helps,

    ~Athreya

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.