SAP MDG · DATA MODEL UI
How do I extend the SAP MDG BP data model for customer attributes and related structures?
Use data model BP for Customer in SAP MDG, extend the standard BP entity `BP_CUSGEN` for KNA1-based general customer data, and enhance the related customer structures in `SE11`. For company-code customer data, use the corresponding company-code structure and keep the MDG model enhancement aligned with the backend include and generated structures.
Use data model BP for Customer in SAP MDG, extend the standard BP entity `BP_CUSGEN` for KNA1-based general customer data, and enhance the related customer structures in `SE11`. For company-code customer data, use the corresponding company-code structure and keep the MDG model enhancement aligned with the backend include and generated structures.
Customer is handled in MDG data model BP. The source guide recommends using the standard BP entity BP_CUSGEN for KNA1 customer general data rather than creating a separate custom entity. You then extend the BP model in MDGIMG, generate the BP model-specific structures, and verify the resulting generated structures in USMD_DATA_MODEL. For the backend, customer general fields are typically extended in KNA1 via the customer include, while company-code fields are extended in the corresponding company-code structure
Process flow
- Start `MDGIMG`.
- Navigate to `General Settings → Data Modeling → Edit Data Model`.
- Select data model `BP`.
- Extend entity `BP_CUSGEN` with the required customer attributes.
- Maintain the package in `General Settings → Data Modeling → Prefix and Packages for Model Enhancement`.
- Generate structures in `General Settings → Data Modeling → Generate Data Model-Specific Structures`.
- Verify the generated structures with `
USMD_DATA_MODEL` in `SE38`. - Extend the backend customer includes `INCL_EEW_KNA1`, `INCL_EEW_KNA1_X`, `INCL_EEW_KNB1`, and `INCL_EEW_KNB1_X` as needed.
Referenced tables
| Object | Purpose |
|---|---|
KNA1 | Customer master general data table. |
KNB1 | Customer company-code data table. |
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- Which MDG entity is used for Customer in data model BP?
- How do I extend KNA1 fields in SAP MDG?
- Which structures must be enhanced for customer general and company-code data?
Possible questions
- Which MDG entity is used for Customer in data model BP?
- How do I extend KNA1 fields in SAP MDG?
- Which structures must be enhanced for customer general and company-code data?
- Where do I configure BP customer model enhancements in MDGIMG?
- What are the generated MDG structures for customer extensions?