SAP MDG · MDG FINANCE
How do I add custom fields to SAP MDG Finance data model 0G?
To add custom fields in MDG Finance 0G, create the DDIC domain/data element, enhance the 0G data model entity, generate the model-specific structures, and then place the fields on the existing UIBB through an enhancement layer. For the Cost Center example, the guide uses ZZBUSUNIT and ZZEMAIL on entity CCTR and UIBB MDGF_0G_CCTR.
To add custom fields in MDG Finance 0G, create the DDIC domain/data element, enhance the 0G data model entity, generate the model-specific structures, and then place the fields on the existing UIBB through an enhancement layer. For the Cost Center example, the guide uses ZZBUSUNIT and ZZEMAIL on entity CCTR and UIBB MDGF_0G_CCTR.
SAP MDG Finance 0G supports custom fields on existing flex entities such as CCTR, PCTR, ACCOUNT, and ACCCDET. The documented pattern is: create a ZZ-prefixed domain and data element in SE11, assign the new attributes to the correct entity in MDGIMG, generate the data model-specific structures, and expose the fields on the existing UIBB in an enhancement layer without modifying the standard configuration.
Process flow
- Create the DDIC domain and data element in SE11.
- Assign the new attribute to the correct 0G entity in MDGIMG.
- Activate the data model and adjust linked change requests if prompted.
- Generate the data model-specific structures for the enhanced entity.
- Open the existing UIBB configuration for the target app, such as MDGF_0G_CCTR.
- Create an enhancement layer instead of editing the standard configuration.
- Add the custom fields to a group and adjust field layout.
- Save the UI configuration and test the field in the Cost Center or related master data screen.
SE11ABAP Dictionary -> Domain / Data Element
Create the custom domain and data element for the new ZZ field.
MDGIMGGeneral Settings -> Data Modeling -> Edit Data Model
Add the new attributes to the target entity in data model 0G.
MDGIMGGeneral Settings -> Data Modeling -> Generate Data Model-Specific Structures
Generate the entity-specific structures so the custom include contains the new fields.
SE80Web Dynpro Components/Interfaces -> FPM_FORM_UIBB_GL2 -> Component Configurations -> MDGF_0G_CCTR
Open and enhance the existing Cost Center UIBB configuration.
Referenced tables
| Object | Purpose |
|---|---|
CSKS | Backend table referenced by the guide for Cost Center entity `CCTR`. |
SKA1 | Backend table referenced by the guide for G/L Account entity `ACCOUNT`. |
SKB1 | Backend table referenced by the guide for G/L Company Code Data entity `ACCCDET`. |
CEPC | Backend table referenced by the guide for Profit Center entity `PCTR`. |
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- How can I extend an existing MDG-F entity with new fields?
- How do I extend Cost Center in SAP MDG-F?
- How can Joint Venture Accounting fields be added to MDG-F?
Possible questions
- How do I add custom fields to an existing MDG-F UIBB?
- What is the overall process for extending data model 0G?
- How do I create and expose ZZ fields in MDG Finance?
- How do I add custom fields to Cost Center, G/L Account, or Profit Center in MDG-F?
- What is data model 0G?