SAP MDG · DATA MODEL UI

How do I add custom fields to the MDG-F Cost Center entity CCTR in data model 0G?

To extend MDG-F Cost Center entity CCTR in data model 0G, use MDGIMG to edit the data model, add the new attributes under CCTR, activate the model, and if required regenerate the data model-specific structures. The source example adds ZZBUSUNIT with data element ZZBUSUNIT and ZZEMAIL with data element SMTP_ADDR.

To extend MDG-F Cost Center entity CCTR in data model 0G, use MDGIMG to edit the data model, add the new attributes under CCTR, activate the model, and if required regenerate the data model-specific structures. The source example adds ZZBUSUNIT with data element ZZBUSUNIT and ZZEMAIL with data element SMTP_ADDR.

To extend the MDG-F Cost Center entity CCTR in data model 0G, open the MDG data modeling workbench in MDGIMG, choose data model 0G, and maintain the CCTR entity attributes. The source example adds two custom fields: ZZBUSUNIT with data element ZZBUSUNIT, and ZZEMAIL with data element SMTP_ADDR. After saving, activate the data model and, if the fields do not appear in the generated structures, regenerate the data model-specific structures in MDGIMG.

Process flow

  1. Start transaction MDGIMG.
  2. Navigate to General Settings → Data Modeling → Edit Data Model.
  3. Select data model 0G (Financials).
  4. Open Entity Types, select CCTR, then open Attributes.
  5. Choose New Entries (F5) and add ZZBUSUNIT = ZZBUSUNIT and ZZEMAIL = SMTP_ADDR.
  6. Save and activate the data model.
  7. If message USMD1B040 appears, adjust the staging area of linked change requests.
  8. Verify the result with Visualize Data Model and Active Version, and check SE11 structure /MDG/_S_0G_PP_CCTR and include CI_MDG_S_* .

Referenced tables

ObjectPurpose
CCTR attribute mappingSource-supported attribute additions for the Cost Center entity in data model 0G

The remaining configuration, implementation details, and testing guidance continue from this answer more…

Related questions and keywords

Alternative questions

  • How do I enhance entity CCTR in MDG data model 0G?
  • How do I add ZZBUSUNIT and ZZEMAIL to the Cost Center MDG model?
  • Which MDGIMG path is used to extend Cost Center attributes in 0G?

Possible questions

  • How do I add custom fields to Cost Center in MDG-F?
  • How do I add a simple attribute to entity CCTR?
  • What are the steps to activate and verify a CCTR enhancement in 0G?
  • How do I regenerate the generated structures after extending CCTR?
  • What transaction is used to edit the MDG data model?
  • Which data elements are used for ZZBUSUNIT and ZZEMAIL?

Keywords

CCTR0GMDGIMGEdit Data ModelGenerate Data Model-Specific StructuresZZBUSUNITZZEMAILSMTP_ADDRUSMD1B040CI_MDG_S_*/MDG/_S_0G_PP_CCTR