SAP MDG · COMMUNITY

How do I extend SAP MDG for FI Contract Account with Charges and Discounts?

Extend data model BP with entity types FKKCHGDIS, FKK_CD_VF, and FKK_CHGKY; add attribute FKK_DATET; create the HAS_CHG, QLF_DATEF, and QLF_CHGKY relationships; activate and adjust the staging area; generate structures; then build the FPM list UIBB and add it to the Contract Account page.

Extend data model BP with entity types FKKCHGDIS, FKK_CD_VF, and FKK_CHGKY; add attribute FKK_DATET; create the HAS_CHG, QLF_DATEF, and QLF_CHGKY relationships; activate and adjust the staging area; generate structures; then build the FPM list UIBB and add it to the Contract Account page.

Extend MDG FI Contract Account by enhancing data model BP with the Charges and Discounts entities, then activate the model, generate the structures, and configure the FPM list UIBB on the Contract Account page. The final UI is a custom Charges and Discounts table for the assigned Business Partner.

Process flow

  1. Open MDGIMG and navigate to Master Data Governance → Central Governance → General Settings → Data Modeling → Edit Data Model.
  2. Select data model BP and open Entity Types.
  3. Create entity types FKKCHGDIS, FKK_CD_VF, and FKK_CHGKY.
  4. Add attribute FKK_DATET to FKKCHGDIS using data element CHGDISC_DATE_TO_KK and No Existence Check.
  5. Create relationships HAS_CHG, QLF_DATEF, and QLF_CHGKY with cardinality 1 : N.
  6. Activate the model and adjust the staging area of linked Change Requests.
  7. Generate the data model-specific structures for BP.
  8. Create FPM GUIBB configuration FPM_LIST_UIBB_ATS with config ID ZMDG_FICA_CHARGES_DISCOUNTS in SE80 with feeder CL_MDG_FICA_GUIBB_CHARGES_DISC, component MDGFKK, and object name FKKCHGDIS, then add it to the Contract Account page in NWBC.
MDGIMG

Master Data Governance → Central Governance → General Settings → Data Modeling → Edit Data Model

Extend data model BP with entity types, attributes, and relationships.

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
General Settings
Data Modeling
Edit Data Model
MDGIMG

Master Data Governance → Central Governance → General Settings → Data Modeling → Generate Data Model-Specific Structures

Generate the model-specific structures after activation.

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
General Settings
Data Modeling
Generate Data Model-Specific Structures
SE80

Create → Web Dynpro → FPM GUIBB Configuration

Create the list UIBB configuration FPM_LIST_UIBB_ATS with config ID ZMDG_FICA_CHARGES_DISCOUNTS.

NWBC

SAP_MDGFICA_MENU → Search Contract Account → Configure Page

Add the Charges and Discounts UIBB to page ID MDG_FICA_PARTNER.

SM30

Maintain MDG_FICA_FLDGRPC

Maintain mandatory-field checks for FKK_CD_VF/DATE_FROM, FKK_CHGKY/CHGKEY, and FKK_DATET/DATE_TO.

Referenced tables

ObjectPurpose
MDG_FICA_FLDGRPCView/table used to maintain mandatory-field group checks for the Charges and Discounts fields.
FKKVKP_CHGDISCActive table for the Charges and Discounts data.
FKKVKP_CHGDISC_S_DIMandatory-field structure used for the Charges and Discounts fields.

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

Related questions and keywords

Alternative questions

  • How do I extend MDG FI Contract Account with Charges and Discounts?
  • What is the purpose of the Charges and Discounts extension?
  • Which MDG object is enhanced in this guide?

Possible questions

  • Where do I extend the MDG data model?
  • Which data model is used for FI Contract Account Charges and Discounts?
  • What MDGIMG path is used to edit data model BP?
  • Which main entity is created for Charges and Discounts?
  • How do I create FKKCHGDIS?
  • What entity represents Charges and Discounts?
  • What is FKK_CD_VF?
  • Which entity is used in the qualifying relationship QLF_DATEF?

Keywords

MDGFI Contract AccountCharges and DiscountsBusiness PartnerCentral GovernanceBPMDGIMGEdit Data ModelEntity TypesData ModelingFKKCHGDISFKK_CD_VFFKK_CHGKYFKK_DATETQLF_DATEFQLF_CHGKY