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

  1. Start `MDGIMG`.
  2. Navigate to `General Settings → Data Modeling → Edit Data Model`.
  3. Select data model `BP`.
  4. Extend entity `BP_CUSGEN` with the required customer attributes.
  5. Maintain the package in `General Settings → Data Modeling → Prefix and Packages for Model Enhancement`.
  6. Generate structures in `General Settings → Data Modeling → Generate Data Model-Specific Structures`.
  7. Verify the generated structures with `USMD_DATA_MODEL` in `SE38`.
  8. Extend the backend customer includes `INCL_EEW_KNA1`, `INCL_EEW_KNA1_X`, `INCL_EEW_KNB1`, and `INCL_EEW_KNB1_X` as needed.

Referenced tables

ObjectPurpose
KNA1Customer master general data table.
KNB1Customer 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?

Keywords

MDGBPCustomerBP_CUSGENBP_PORGKNA1KNB1MDGIMGSE11USMD_DATA_MODELCMDS_EI_VMD_CENTRAL_DATACMDS_EI_VMD_CENTRAL_DATA_XFLAG