Skip to Content

How to derive value on Controlling Area on Cost Element or any other entity

Hi Experts,

I want to derive a value of 1000 on the controlling area when we create a cost element. I have tried DERIVE_CELEM but it seems that Controlling area can only trigger Derivation on other fields once it is manually populated.

Any ideas if this could be possible?

Thanks

Riaan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 27, 2014 at 01:58 PM

    Hi Riaan,

    the controlling area of a cost element is a key field of the object. The derivation logic of MDG works only for attributes, but not for key fields. The reason simply that each MDG interface requires a valid key as input parameter. The key has to be defined outside MDG.

    Best regards

    Michael

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Kaustubh,

      key fields cannot be modelled as attributes. There is a technical check that prevents the same. Furthermore, if you would implement the controlling area as attribute, you client can never user multiple controlling areas for the same cost element ID in the future. I'm not convinced that this is a good idea - you never know how your client's business will change in the future.

      Best regards

      Michael

  • Jun 27, 2014 at 12:36 PM

    Hello Riaan

    It is not possible from MDG side. You must set the controlling area at ECC end - FI side and once set you have to use the same controlling area. You can change it but in FI and not in MDG.

    One question - why you want to change the controlling area for CE?

    Kiran

    Add comment
    10|10000 characters needed characters exceeded