Skip to Content

Key assignment error in SAP MDG

Hi,

1> created a custom data model with Type 1 Entity having key assignments (Key Cannot be changed; No Internal key assignment)

2> Save and activated the data model.

3> But later when I go and change Type 1 entity (key assignment Key can be changed; no internal key assignment) Its giving error not allowing to chnage and activate the data model.

Data model XX is already active and entity type XXXXXX is contained in the active version. In this case, you may no longer change the type of key assignment for entity type XXXXXX.

Please let me know how to get rid of this.

Regards, Riyaj.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 26, 2016 at 02:20 PM

    Try to delete active version of the data model using tcode MDG_DELETE_MODEL or report USMD_DELETE_DATA_MODEL ....Later try to edit inactive version and activate the same.

    One more option I can take think of is copy the old one nd create a new one ...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 26, 2016 at 09:28 AM

    hi,

    As far as I know it cannot be changed for active version so delete and create new one.

    Thanks

    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.